1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod GetDataset ( 
 |    String datasetName_i, 
 |    Boolean loadIfOffline_i, 
 |    Boolean createIfNotExists_i, 
 |    Key planningDatasetKey_i, 
 |    Key integrationInstanceKey_i 
 |  ) as stream[LibDIF_IntegrationDataset] 
 |  { 
 |    Description: 
 |    [* 
 |      Get the Integration-dataset, load it if necessary (if applicable). 
 |      If applicable, create the dataset if it does not exist, using the default StorageState. 
 |    *] 
 |    TextBody: 
 |    [* 
 |      storageState := LibDIF_IntegrationDataset::STORAGESTATE(); 
 |       
 |      dataset := LibDIF_IntegrationDataset::GetDataset( datasetName_i, loadIfOffline_i, createIfNotExists_i, 
 |                                                        storageState, planningDatasetKey_i, integrationInstanceKey_i ); 
 |       
 |      return dataset; 
 |    *] 
 |  } 
 |  
  |