+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31356-2 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Production.ShopFloor.WorkOrderItemIngredients | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetUsedQuantityUnit | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | [UsedQuantityUnit]( | | | ../entities/Production.ShopFloor.WorkOrderItemIngredients.md#usedquantityunit) | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(ProductCode, Material, UsedQuantityUnit) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | ProductCode.CodingSystem.DefaultMeasurementUnit.IfNullThen(Material.MeasurementUnit. | | | IfNullThen(UsedQuantityUnit)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.