Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 3.99 KB

R34387.md

File metadata and controls

40 lines (38 loc) · 3.99 KB

erp.type: front-end-business-rule erp.entity: Logistics.LogisticUnitContents

R34387 Logistic Unit Content - Set Base Quantity (Recalc)

+----------------------+----------------------------------------------------------------------------------------------+ | Code | 34387 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Logistics.LogisticUnitContents | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetBaseQuantity | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | BaseQuantity | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(Quantity, BaseQuantity, QuantityUnit, Product) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), | | | BaseQuantity, Quantity.ConvertTo(Product.BaseUnit, Product)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | Recalculates Base Quantity according to the measurement ratios when the Quantity, Quantity | | | Unit, or Product is changed. | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+

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