Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 4.23 KB

R31531-10.md

File metadata and controls

42 lines (40 loc) · 4.23 KB

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

R31531-10 Purchase Order Line - Set Quantity Unit (Recalc)

+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31531-10 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseOrderLines | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetQuantityUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | QuantityUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(ProductCode, Product, QuantityUnit) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | ProductCode.CodingSystem.DefaultMeasurementUnit.IfNullThen(Product.PurchaseMeasurementUnit). | | | IfNullThen(Product.MeasurementUnit).IfNullThen(QuantityUnit) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | When Product Code or Product is changed, Quantity Unit should be updated. A new Quantity | | | Unit is selected either from Product Code's Coding System Default MU, or if not specified, | | | Purchase MU of the Product is selected, or if not specified, Product's MU is selected. If | | | all of them are null, Quantity Unit is unchanged. | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+

* This is auto generated code. Don't change it.