Customer Bad Debt, Initial Balance archetypes missing nonNegative assertions

Description

The Customer Bad Debt (act.customerAccountBadDebt) and Initial Balance (act.customerAccountInitialBalance) archetypes are missing nonNegative assertions on the amount and tax nodes.
This enables users to enter a negative amount which is invalid for the purpose of balance calculations.
The archetypes should have:

Any Customer Bad Debt or Initial Balance created with a negative value will need to be removed manually via mysql.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure