| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod GetMDSID () as owning MDSID |  | { |  |   Description: 'Return the mdsid of current loaded scenario manager.' |  |   TextBody: |  |   [* |  |     // soh yee Nov-25-2014 (created) |  |      |  |     // Following MacroPlan.CalculateKPIScore |  |     folder := DomainModel::Domain().MDSFolderDefinitions().FindFolder( "/root" ); |  |     oinfo := MDSEditor::Editor().ObjectInfos( ScenarioManager::GetDatasetKind(), folder.FolderID(), ScenarioManager::GetDatasetName() ); |  |     o := select( oinfo, Elements, o, o.IsLoaded() ); |  |      |  |     return o.MDSID(); |  |   *] |  | } | 
 |