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