R31508-22 Purchase Invoice Line - Set Unit Price From Line Amount
Code | 31508-22 |
Entity | Logistics.Procurement.PurchaseInvoiceLines Entity |
Name | SetUnitPriceFromLineAmount |
Attribute | UnitPrice |
Layer | Front-End |
Events | AttributeChanged(LineAmount) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | UnitPrice = LineAmount.Round()/Quantity |
Description | When Line Amount is changed, Unit Price should be recalculated as Line Amount is divided by
Quantity.
(RecalcExpression) |
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.