Quintiq file version 2.0
#parent: ListFulfillmentTarget
Response OnClick () id:Response_ListFulfillmentTarget_MenuNew_OnClick
{
  #keys: '[113694.2.1011930134]'
  Body:
  [*
    // Create Fulfillment Target
    dlg := construct( DialogCreateEditFulfillmentTarget );
    object := dlg.New( this );
    
    if( not isnull( object ) )
    {
      ListFulfillmentTarget.SelectByKey( object.Key() );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListFulfillmentTarget/Responsedef_ListFulfillmentTarget_Menu_OnClick
  Initiator: 'MenuNew'
  Precondition:
  [*
    return MacroPlan::HasMacroPlan( MacroPlan, feedback );
  *]
}
