R31531-17 Purchase Order Line - Set Standard Quantity Base (Recalc)

Code 31531-17
Entity Logistics.Procurement.PurchaseOrderLines Entity
Name SetStandardQuantityBase
Attribute StandardQuantityBase
Layer Front-End
Events AttributeChanged(Quantity, StandardQuantityBase, QuantityUnit, Product)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), StandardQuantityBase, Quantity.ConvertTo(Product.BaseUnit, Product))
Description When Quantity is changed, Standard 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.