Skip to content

Latest commit

 

History

History
41 lines (39 loc) · 4.12 KB

R31531-17.md

File metadata and controls

41 lines (39 loc) · 4.12 KB

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

R31531-17 Purchase Order Line - Set Standard Quantity Base (Recalc)

+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31531-17 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Procurement.PurchaseOrderLines | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetStandardQuantityBase | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | [StandardQuantityBase]( | | | ../entities/Logistics.Procurement.PurchaseOrderLines.md#standardquantitybase) | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(Quantity, StandardQuantityBase, QuantityUnit, Product) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), | | | StandardQuantityBase, Quantity.ConvertTo(Product.BaseUnit, Product)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | When Quantity is changed, Standard Quantity Base is calculated as the converted value of | | | Quantity to the base Unit of the product. | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+

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