Quintiq file version 2.0
#parent: #root
Method GetNumberOfLoadedSnapshots (
  shadow[KpiSnapshotSetData] queryResult
) as Number id:Method_Kpi_GlobalState_GetNumberOfLoadedSnapshots
{
  #keys: '[146874.0.1589146422]'
  Body:
  [*
    // Returns the number of snapshots that are loaded in the dhQueryResults.
    number := 0;
    
    if ( not isnull( queryResult ) )
    {
      number := queryResult.SnapshotData( relsize );
    }
    
    return number;
  *]
}
