R31531-16 Purchase Order Line - Set Quantity Base (Recalc)
Code | 31531-16 |
Entity | Logistics.Procurement.PurchaseOrderLines Entity |
Name | SetQuantityBase |
Attribute | QuantityBase |
Layer | Front-End |
Events | AttributeChanged(Quantity, QuantityBase, QuantityUnit, Product) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), QuantityBase, Quantity.ConvertTo(Product.BaseUnit, Product)) |
Description | When Quantity is changed, Quantity Base is calculated as the converted value of Quantity to the base Unit of the product. |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.