hongji.li
2023-11-03 aefafd2142478d4fb07d6b8b45c3047e247389e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Quintiq file version 2.0
#parent: dhImportExport
Response OnDataChanged () id:Response_LibCal_GlobalState_dhImportExport_OnDataChanged
{
  #keys: '[131094.1.1095808979]'
  Body:
  [*
    // Select the applicable ImportExport-dataset when a different planning-dataset has been selected.
    // In this case, load the dataset if it exists but is offline, but don't create a new dataset if it does not exist.
    LibCal_GlobalState.EnsureImportExportDataset( true, false );
    
    // The dataset is not always selected by the previous method (?), so do it here again just to be sure.
    // But even then, the dataset is sometimes still not selected... :-(
    LibCal_GlobalState.SelectImportExportDatasetIfExists();
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_GUIComponent_OnDataChanged'
}