R37423 Work Orders - Positive Produced Quantity Not Allowed For Decomposition
Code | R37423 |
Entity | Production.ShopFloor.WorkOrders Entity |
Name | PositiveProducedQuantityNotAllowedForDecomposition |
Attribute | ProducedQuantity |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Applicable Legislations | ALL // no condition needed |
Action | IF
Work Order.EntitySettings.ProductionMode = Decomposition
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 less than or equal to zero. If the Produced Quantity is positive, 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 less than or equal to zero due to the 'Decomposition' setting specified in the document type. Please specify a valid quantity or use a document type that allows production. |
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.