+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31438-12 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Applications.Service.ServiceActivityMaterials | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetQuantityBase | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | QuantityBase | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(Quantity, QuantityBase, QuantityUnit, Product) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | IIF((((Quantity == null) OrElse (QuantityUnit == null)) OrElse (Product == null)), | | | QuantityBase, Quantity.ConvertTo(Product.BaseUnit, Product)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.