Skip to content

Latest commit

 

History

History
41 lines (39 loc) · 4.12 KB

R31531-14.md

File metadata and controls

41 lines (39 loc) · 4.12 KB

erp.type: front-end-business-rule erp.entity: Logistics.Procurement.PurchaseOrderLines

R31531-14 Purchase Order Line - Set Price Per Unit (Recalc)

+----------------------+----------------------------------------------------------------------------------------------+ | 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.