+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31508-19 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseInvoiceLines | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetQuantityUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | QuantityUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(ReceivingOrderLine, QuantityUnit, Product) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | IIF((ReceivingOrderLine != null), ReceivingOrderLine.QuantityUnit, IIF((Product != null), | | | Product.MeasurementUnit, QuantityUnit)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.