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

Code 31531-19
Entity Logistics.Procurement.PurchaseOrderLines Entity
Name SetConfirmedStandardQuantityBase
Attribute ConfirmedStandardQuantityBase
Layer Front-End
Events AttributeChanged(ConfirmedQuantity, ConfirmedStandardQuantityBase, QuantityUnit, Product)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IIF((ConfirmedQuantity == null), null, IIF(((QuantityUnit == null) OrElse (Product == null)) , ConfirmedStandardQuantityBase, ConfirmedQuantity.ConvertTo(Product.BaseUnit, Product)))
Description When Confirmed Quantity is changed, Confirmed Standard Quantity Base is calculated as the converted value of Confirmed Quantity to the base Unit of the product.
Message
Version
Revocable YES

* This is auto generated code. Don't change it.