R29564 WorkOrder - Valid Item Recipe
Code | R29564 |
Entity | Production.ShopFloor.WorkOrders Entity |
Name | ValidItemRecipe |
Attribute | WorkOrderItem.Recipe |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Action | Validate that:
If (WorkOrderItem.OutputStore != null && WorkOrderItem.Recipe != null) then WorkOrderItem.Recipe.Store == WorkOrderItem.OutputStore or WorkOrderItem.Recipe.Store == null |
Description | If the store in the work order item line is filled in, the recipe in the line should be valid for it. A valid recipe is that one with the same store as the output store in the line or a recipe whose store is null. |
Message | The recipe '{Recipe}' in line '{LineNo}' in document '{DocumentText}' is not valid for
the store '{OutputStore}'.
The store in the recipe should be the same as the store in the work order item line or the store in the recipe should be NULL. Sort messages by Attribute: LineNo |
Introduced In Version | |
Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.