R30424-5 Store Order Line - Set Line Cost
Code | 30424-5 |
Entity | Logistics.Inventory.StoreOrderLines Entity |
Name | SetLineCost |
Attribute | LineCost |
Layer | Front-End |
Events | AttributeChanged(UnitCost, Quantity) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | if(UnitCost==null)
LineCost=0 ELSE LineCost = UnitCost*Quantity |
Description | When Unit Cost or Quantity are changed, Line Cost is recalculated. It should be equal to the product of Quantity and Unit Cost. |
Message | |
Version | Introduced: 2020.1 |
Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.