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