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