R31387-7 Reconciliation Line - Set Quantity Unit (Recalc)

Code 31387-7
Entity Logistics.Inventory.ReconciliationLines Entity
Name SetQuantityUnit
Attribute QuantityUnit
Layer Front-End
Events AttributeChanged(ProductCode, Product, QuantityUnit)
Priority Early
Modify YES
Applicable Legislations ALL // no condition needed
Action ProductCode.CodingSystem.DefaultMeasurementUnit.IfNullThen(Product.MeasurementUnit. IfNullThen(QuantityUnit))
Description When Product Code is changed or Product is changed, Produced Quantity Unit is changed. If Product Code is not null and there is a Default Measurement Unit specified in the Coding System, Used Quantity Unit should be equal to the Default Measurement Unit. Otherwise, if Product is not null, Produced Quantity Unit should be equal to the Product's Measurement Unit.
Message
Version
Revocable YES

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