Quintiq file version 2.0
#parent: #root
Method Edit (
  FulfillmentRestriction selection,
  structured[SalesSegment_MP] salesSegments
) id:Method_DialogCreateEditFulfillmentRestriction_Edit
{
  #keys: '[135040.0.183095819]'
  Body:
  [*
    // Edit fulfillment restriction
    data := shadow( selection );
    DataHolderDialogData.Data( &data );
    
    Form.SetDefaultValue( salesSegments );
    
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
