Quintiq file version 2.0
#parent: ListFulfillmentTarget
Response OnClick () id:Response_ListFulfillmentTarget_MenuCreate_OnClick
{
  #keys: '[139394.0.1862532696]'
  CanBindMultiple: false
  DefinitionID => /ListFulfillmentTarget/Responsedef_ListFulfillmentTarget_WebMenu_OnClick
  Initiator: 'MenuCreate'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( DataHolderActiveScenario.Data(), feedback );
  *]
  QuillAction
  {
    Body:
    [*
      // Create Fulfillment Target
      dlg := construct( DialogCreateEditFulfillmentTarget );
      salesegments := ifexpr( DataHolderSelectedSalesSegmentFrmSalesSegment.Data().Size() >0, 
                             DataHolderSelectedSalesSegmentFrmSalesSegment.Data(),
                             DataHolderSalesSegment.Data() );
      dlg.New( salesegments );
    *]
    GroupServerCalls: false
  }
}
