Add validation to idealQty and criticalQty nodes of entityRelationship.productStockLocation

Description

The idealQty and criticalQty nodes of entityRelationship.productStockLocation have no validation constraints on them. They both shoud have a nonNegative assertion, and the idealQty node should have:
<assertion name="expression">
<property name="expression" value="idealQty &gt;= criticalQty"/>
</assertion>

To avoid validation errors when updating stock, a migration script will be needed to ensure existing relationships are valid.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Fix versions

Priority

Minor