R30425-7 StoreTransactionLine - Set Line Cost
Code | 30425-7 |
Entity | Logistics.Inventory.StoreTransactionLines 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 OR Quantity==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.