Quintiq file version 2.0 #parent: CustomDrawComponent Response OnClick () id:Response_CustomDrawComponent_MenuAutoArrangeProducts_OnClick { #keys: '[110880.3.968014399]' Body: [* // Auto arrange all products DataHolderView.Data().AutoArrangeProduct( DataHolderFocusedSP.Data() ); *] DefinitionID => /CustomDrawComponent/Responsedef_CustomDrawComponent_Menu_OnClick Initiator: 'MenuAutoArrangeProducts' Precondition: [* return MacroPlan::HasMacroPlan( MacroPlan, feedback ) and SupplyChainView::CanAutoArrangeProduct( feedback, DataHolderView.Data(), DataHolderFocusedSP.Data() ); *] UserRequiresReadWrite: true }