Quintiq file version 2.0
#parent: #root
Method RefreshTimeType (
  shadow[KpiSnapshotSetData] queryResult,
  String timeType
) id:Method_GlobalStateKpiTracker_RefreshTimeType
{
  #keys: '[146874.0.1589192806]'
  Body:
  [*
    // Makes sure the selected Time type is propagated among the loaded snapshots
    
    data     := queryResult;
    debuginfo( 'Resetting to time type ', timeType );
    GlobalStateKpiTracker.PropagateTimeStamp( data, timeType );
  *]
}
