R30505-9 Receiving Order Line - Set Line Amount (Recalc)
Code | 30505-9 |
Entity | Logistics.Procurement.ReceivingOrderLines Entity |
Name | SetLineAmount |
Attribute | LineAmount |
Layer | Front-End |
Events | AttributeChanged(ConfirmedQuantity, Quantity, PricePerUnit, LineAmount) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IIF((((ConfirmedQuantity ?? Quantity) == null) OrElse (PricePerUnit == null)), LineAmount, ((ConfirmedQuantity ?? Quantity).Value * PricePerUnit).Round()) |
Description | The rule calculates Line Amount by multiplying quantity by price per unit. If price per unit or quantity is null, the Line Amount is not calculated. |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.