+-----------------------------+---------------------------------------------------------------------------------------+
| Code | 31357-5 |
+-----------------------------+---------------------------------------------------------------------------------------+
| Entity | @Production.ShopFloor.OutputOrderLines |
+-----------------------------+---------------------------------------------------------------------------------------+
| Name | SetProductFromWorkOrderItem |
+-----------------------------+---------------------------------------------------------------------------------------+
| Attribute | Product |
+-----------------------------+---------------------------------------------------------------------------------------+
| Layer | Front-End |
+-----------------------------+---------------------------------------------------------------------------------------+
| Events | AttributeChanged(WorkOrderItem) |
+-----------------------------+---------------------------------------------------------------------------------------+
| Priority | Normal |
+-----------------------------+---------------------------------------------------------------------------------------+
| Modify | YES |
+-----------------------------+---------------------------------------------------------------------------------------+
| Applicable Legislations | ALL // no condition |
| | needed |
+-----------------------------+---------------------------------------------------------------------------------------+
| Action | If(WorkOrderItem!=null) |
| |
|
| | Using NoEvents => Product= WorkOrderItem.Product |
+-----------------------------+---------------------------------------------------------------------------------------+
| Description | When Work Order Item is changed, Product is changed to the Work Order Item Product. |
+-----------------------------+---------------------------------------------------------------------------------------+
| Message | |
+-----------------------------+---------------------------------------------------------------------------------------+
| Version | Introduced: 21 |
| |
|
| | Updated: - |
+-----------------------------+---------------------------------------------------------------------------------------+
| Revocable | YES |
+-----------------------------+---------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.