1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod GetAllDatasetInterests (LibDEF_DataBroker dataBroker_i, Key mdsidFiltered_i) const declarative remote as owning LibDEF_SetInterestOfDatasets 
 |  { 
 |    Description: 'Get every SetInterestOfDatasets that exists in the current DataBroker, they can only be interested by one of the local planning datasets.' 
 |    TextBody: 
 |    [* 
 |      // Jacky CHAN Feb-10-2017 (created) 
 |      return selectset( dataBroker_i, 
 |                        System.SetTypeMeta.SetMeta.SetInterestOfDataset, 
 |                        di, 
 |                        // do not filter if Key is zero 
 |                        di.DatasetMDSID() = ifexpr( mdsidFiltered_i <> Key::ZeroKey(), mdsidFiltered_i, di.DatasetMDSID() ) ); 
 |    *] 
 |  } 
 |  
  |