Quintiq file version 2.0
#parent: ListFulfillmentTarget
Response OnClick (
  FulfillmentTarget selection
) id:Response_ListFulfillmentTarget_MenuCopy_OnClick
{
  #keys: '[113694.2.1018796992]'
  Body:
  [*
    // Copy selection
    dlg := construct( DialogCreateEditFulfillmentTarget );
    newobj := dlg.Copy( this, selection );
    
    if( not isnull( newobj ) )
    {
      ListFulfillmentTarget.SelectByKey( newobj.Key() );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /ListFulfillmentTarget/Responsedef_ListFulfillmentTarget_Menu_OnClick
  Initiator: 'MenuCopy'
}
