Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Edit ( 
 | 
  FillingCapacityOrder selection 
 | 
) id:Method_DialogFillingCapacityOrder_Edit 
 | 
{ 
 | 
  #keys: '[414382.0.402531258]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Edits assumption 
 | 
    data := shadow( selection ); 
 | 
     
 | 
    DataHolderFillingCapacityOrder.Data( &data ); 
 | 
     
 | 
    salesSegment_MP := select( MacroPlan, SalesSegment_MP, tempSSMP, tempSSMP.Name() = selection.SalesSegmentName() ); 
 | 
    ddlSalesSegment.Data( salesSegment_MP ); 
 | 
     
 | 
    product_MP := select( MacroPlan, Product_MP, tempPMP, tempPMP.ID() = selection.ProductID() ); 
 | 
    ddlProduct_MP.Data( product_MP ); 
 | 
     
 | 
    stockingPoint_MP := select( MacroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = selection.StockingPointID() ); 
 | 
    ddlStockingPoint_MP.Data( stockingPoint_MP ); 
 | 
     
 | 
    businessType := select( GlobalOTDTable, BusinessType, tempBT, tempBT.BusinessTypeName() = selection.BusinessType() ); 
 | 
    ddlBusinessType.Data( businessType ); 
 | 
     
 | 
    unitOfMeasure_MP := select( MacroPlan, UnitOfMeasure_MP, tempUOMMP, tempUOMMP.Name() = selection.UnitOfMeasureName() ); 
 | 
    ddlUnitOfMeasure_MP.Data( unitOfMeasure_MP ); 
 | 
     
 | 
    ApplicationMacroPlanner.ShowFormModal( this ); 
 | 
  *] 
 | 
} 
 |