R28601 WorkOrder - Distribute By Measurement Category Required

Code R28601
Entity Production.ShopFloor.WorkOrders Entity
Name DistributeByMeasurementCategoryRequired
Attribute WorkOrderItemIngredient.DistributeByMeasurementCategory
Layer Back-End
Events Commit
Priority Normal
Modify NO
Action Validate that:

for each WorkOrderItemIngredient:

If (DistributeBy == Measurement)

WorkOrderItemIngredient.DistributeByMeasurementCategory != null

}
Description If an ingredient is distributed amongst all work order items by Measurement, the measurement category becomes mandatory as it is key parameter in the distribution.
Message Material {WorkOrderItemIngerient.Material.PartNumber} of document {DocumentText} is distributed by Measurement Category and no Measurement Category is specified.

Please, select a measurement category in the Distribute By Measurement Category attribute.
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.