Quintiq file version 2.0
#parent: #root
Method Edit (
  structured[SafetyStock] selection
) id:Method_DialogCreateEditSafetyStock_Edit
{
  #keys: '[136682.1.2143673780]'
  Body:
  [*
    //Edit safety stock
    DataHolderDialogDatas.Data( selection.Copy() );
    first := selection.Element( 0 );
    data := shadow( first );
    DataHolderDialogData.Data( &data );
    Form.SetLabel( first.Product_MP(), first.StockingPoint_MP() );
    Form.EnableBatchEditComponent();
    ApplicationMacroPlanner.ShowFormModal( Form );
  *]
}
