Quintiq file version 2.0
#parent: #root
Method Postpone (
  structured[BaseSalesDemandInPeriod] selection,
  owning structured[Period_MP] postponementperiods
) id:Method_DialogPostponeSDIP_Postpone
{
  #keys: '[139394.0.1854155617]'
  Body:
  [*
    // Postpone the planning sales demands in period
    data := shadow( selection.Element( 0 ) );
    DataHolderDialogData.Data( &data );
    DataHolderDialogDatas.Data( selection.Copy() );
    DataHolderPostponementPeriods.Data( &postponementperiods );
    
    this.InitializeComponents();
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
