+-----------------------------+---------------------------------------------------------------------------------------+
| Code | 31356-11 |
+-----------------------------+---------------------------------------------------------------------------------------+
| Entity | @Production.ShopFloor.WorkOrderItems |
+-----------------------------+---------------------------------------------------------------------------------------+
| Name | SetPriority |
+-----------------------------+---------------------------------------------------------------------------------------+
| Attribute | Priority |
+-----------------------------+---------------------------------------------------------------------------------------+
| Layer | Front-End |
+-----------------------------+---------------------------------------------------------------------------------------+
| Events | AttributeChanged(WorkOrder) |
+-----------------------------+---------------------------------------------------------------------------------------+
| Priority | Normal |
+-----------------------------+---------------------------------------------------------------------------------------+
| Modify | YES |
+-----------------------------+---------------------------------------------------------------------------------------+
| Applicable Legislations | ALL // no condition |
| | needed |
+-----------------------------+---------------------------------------------------------------------------------------+
| Action | if(Priority==null and WorkOrder!=null) |
| |
|
| | Priority = WorkOrder.Priority |
+-----------------------------+---------------------------------------------------------------------------------------+
| Description | When Priority is not set, when Work Order is changed, Priority is filled in with the |
| | value of the Work Order's Priority. |
+-----------------------------+---------------------------------------------------------------------------------------+
| Message | |
+-----------------------------+---------------------------------------------------------------------------------------+
| Version | Introduced: 21 |
+-----------------------------+---------------------------------------------------------------------------------------+
| Revocable | YES |
+-----------------------------+---------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.