+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31359-6 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Production.ShopFloor.ConsumptionOrderLines | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetConsumedQuantityBase | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | [ConsumedQuantityBase]( | | | ../entities/Production.ShopFloor.ConsumptionOrderLines.md#consumedquantitybase) | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(ConsumedQuantity, ConsumedQuantityBase, ConsumedQuantityUnit, Product) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | IIF((((ConsumedQuantity == null) OrElse (ConsumedQuantityUnit == null)) OrElse (Product == | | | null)), ConsumedQuantityBase, ConsumedQuantity.ConvertTo(Product.BaseUnit, Product)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.