Quintiq file version 2.0
#parent: #root
Method Edit (
  structured[PostponedSalesDemandCost] selection
) id:Method_DialogCreateEditPostponementPenalty_Edit
{
  #keys: '[139394.0.1870635930]'
  Body:
  [*
    // Edit
    firstElement := selection.Element( 0 );
    data := shadow( firstElement );
    DataHolderDialogData.Data( &data );
    DataHolderDialogDatas.Data( selection.Copy() );
    
    this.InitializeComponents( firstElement.Product_MP(), firstElement.StockingPoint_MP() );
    
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
