+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31531-9 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseOrders | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetPurchasePriceList | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | PurchasePriceList | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(DocumentDate, Supplier) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | Supplier.GetDefaultPurchasePriceListIfValid(DocumentDate) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | When the Supplier is changed, Purchase Price List should be changed to the supplier's | | | Default Purchase Price List if it has not expired. In case there is a Default Purchase | | | Price List in the definition of the supplier and it has expired, a warning is issued. If a | | | supplier or a valid Purchase price list cannot be determined, Purchase Price List is set to | | | null. | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.