R37410 Work Orders - Negative Produced Quantity Not Allowed For Production

Code R37410
Entity Production.ShopFloor.WorkOrders Entity |
Name NegativeProducedQuantityNotAllowedForProduction
Attribute ProducedQuantity
Layer Back-End
Events Planning +
Modify NO
Applicable Legislations ALL // no condition needed
Action IF Work Order.EntitySettings.ProductionMode = Production

Validate that for all Work Order Items lines:

WorkOrder.WorkOrderItems.ProducedQuantity >= 0
Description When the document state is changed to 'Planned' or higher, the system checks that the Produced Quantity is greater or equal to zero. If the Produced Quantity is negative, the system will trigger an error, preventing the state change until the issue is resolved.
Message The value of the 'Produced Quantity' field in work order item line '[WorkOrderItems.LineOrd]' is invalid. The value must be greater than or equal to zero due to the 'Production' setting specified in the document type. Please specify a valid quantity or use a document type that allows decomposition.
Version Introduced: v.25
Revocable YES

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.