Skip to content

Latest commit

 

History

History
45 lines (43 loc) · 4.64 KB

R28603.md

File metadata and controls

45 lines (43 loc) · 4.64 KB

erp.type: business-rule erp.entity: Production.ShopFloor.WorkOrderItemIngredients

R28603 WorkOrderItemIngredient - Distribute By Measurement Category Must Be Null

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | R28603 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Production.ShopFloor.WorkOrderItemIngredients | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | DistributeByMeasurementCategoryMustBeNull | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | DistributeByMeasurementCategory | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Back-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | Commit | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | NO | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | Validate that: | | |

| | | If (DistributeBy != Measurement) | | |

| | |  WorkOrderItemIngredient.DistributeByMeasurementCategory == null | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | Attribute DistributeByMeasurementCategory may only have value when the WorkOrderItem | | | Ingredient in the row is distributed by Measurement. In all other cases it must be empty. | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | Material {WorkOrderItemIngerient.Material.PartNumber} of document {DocumentText} is not | | | distributed by Measurement and Measurement Category is specified. | | |

| | | Please, clear the measurement category in the Distribute By Measurement Category attribute. | +----------------------+-----------------------------------------------------------------------------------------------+ | Introduced In | 2018.2 | | Version | | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | NO | +----------------------+-----------------------------------------------------------------------------------------------+

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