Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 4.01 KB

R31359-6.md

File metadata and controls

40 lines (38 loc) · 4.01 KB

erp.type: front-end-business-rule erp.entity: Production.ShopFloor.ConsumptionOrderLines

R31359-6 Consumption Order Line - Set Consumed Quantity Base (Recalc)

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