R31351-18 Purchase Order Line - Set Confirmed Quantity Base (Recalc)

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