+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31531-14 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseOrderLines | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetPricePerUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | PricePerUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(PurchaseProductPrice, QuantityUnit) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | GetPurchasePriceForProductPriceUnit(PurchaseProductPrice, QuantityUnit) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | Calculates a price in the specified currency from the price in the Purchase product price. | | | The Price from the definition of the Purchase product price is divided by the value of | | | Price Quantity, which is converted to the required measurement unit. Then the calculated | | | Price is converted to the required currency. | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.