R28764 OutputOrder - All Quantities Have The Same Sign
Code | R28764 |
Entity | Production.ShopFloor.OutputOrders Entity |
Name | AllQuantitiesHaveTheSameSign |
Attribute | Line.ProducedQuantity |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Action | Validate that:
for each OutputOrderLine for each WorkOrderItem : OutputOrder.Lines[WorkOrderItem].Quantity > = 0 || OutputOrder.Lines[WorkOrderItem].Quantity < = 0 |
Description | In one OutputOrder, all lines containing one WorkOrderItem, must have the same sign of their quantities (Produced Quantity attribute). The reason for the current validation is to help the distribution of the material consumptions to be correct. |
Message | For each WorkOrderItem:
"The output order lines for work order item {WorkOderItem.Product.Name} in output order '{DocumentText}' have different quantity signs. All lines for a work order item must be with positive or negative quantity. Please, review the Produce Quantity attributes of the specified work order item." Sort Messages By Attribute: WorkOrderItem |
Introduced In Version | 2018.2 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.