Quintiq file version 2.0
#parent: customdrawContextMenuSCO/MenuArrangeProduct
Response OnClick () id:Response_customdrawContextMenuSCO_MenuArrangeProduct_OnClick
{
  #keys: '[136682.0.1908306276]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  GroupServerCalls: true
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback )
           and SupplyChainView::CanAutoArrangeProduct( feedback, DataHolderSupplyChainView.Data(), DataHolderFocusedStockingPoint.Data() );
  *]
  QuillAction
  {
    Body:
    [*
      // Auto arrange all products
      DataHolderSupplyChainView.Data().AutoArrangeProduct( DataHolderFocusedStockingPoint.Data() );
    *]
  }
}
