Quintiq file version 2.0 
 | 
#parent: ListBTS 
 | 
Response OnClick ( 
 | 
  LibOpt_BT_BTS selection 
 | 
) id:Response_ListBTS_MenuLoadDatasetNewClient_OnClick 
 | 
{ 
 | 
  #keys: '[145592.0.249101586]' 
 | 
  Body: 
 | 
  [* 
 | 
    // open a new client and load this dataset 
 | 
    // Load the dataset that is attached to the replannable snapshot in a new client.  
 | 
    infos := ExternalMDSEditor::Editor().ObjectInfos(); 
 | 
    datasetname :=  selection.TrackingTableCell().Table().Dataset().Name();  
 | 
    datasetinfo := infos.Find( datasetname );      
 | 
    if( not isnull( datasetinfo ) ) 
 | 
    { 
 | 
      // This method is only intended to be used for development 
 | 
      FormBTS.LoadDatasetNewClient( datasetinfo ); 
 | 
    } 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID => /ListBTS/Responsedef_ListBTS_Menu_OnClick 
 | 
  Initiator: 'MenuLoadDatasetNewClient' 
 | 
} 
 |