Quintiq file version 2.0
#parent: ListStockingPointCapacity
Response OnClick () id:Response_ListStockingPointCapacity_MenuNewStockingPointCapacity_OnClick
{
  #keys: '[105706.0.1099281658]'
  Body:
  [*
    // Create a new stocking point capacity.
    
    dlg := construct( DialogCreateEditStockingPointCapacity );
    stc := dlg.NewStockingPointCapacity( this );
    
    ApplicationLibMacroPlanner.AutoExpandSelection( this, stc );
  *]
  CanBindMultiple: false
  DefinitionID => /ListStockingPointCapacity/Responsedef_ListStockingPointCapacity_Menu_OnClick
  Initiator: 'MenuNewStockingPointCapacity'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback )
           and StockingPoint_MP::HasStockingPointAndHasPeriod( feedback, MacroPlan )
           and StockingPointCapacity::CanCreate( feedback, DataHolderChildStockingPoints.Data() );
  *]
  UserRequiresReadWrite: true
}
