+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31356-16 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Production.ShopFloor.WorkOrderItems | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetRecipe | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | Recipe | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(ReleaseDate, Product, WorkOrder, OutputStore, DocumentDate, | | | DefaultOutputStore) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | Action | Product.GetDefaultRecipe((ReleaseDate ?? WorkOrder.DocumentDate), OutputStore. | | | IfNullThen(WorkOrder.DefaultOutputStore)) | +----------------------+----------------------------------------------------------------------------------------------+ | Description | | +----------------------+----------------------------------------------------------------------------------------------+ | Message | | +----------------------+----------------------------------------------------------------------------------------------+ | Version | | +----------------------+----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.