Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method RefreshGeneratorType 
 | 
{ 
 | 
  Description: 'Resolves the name of the type of the SnapshotGenerator that this pointer is referring to.' 
 | 
  TextBody: 
 | 
  [* 
 | 
    instance := KpiSnapshotGenerator::FindInstance( this.DatasetMDSID(), this.GeneratorObjectKey() ); 
 | 
    if ( not isnull( instance ) ) 
 | 
    { 
 | 
      name     := typeofexpression( instance ).ShortName(); 
 | 
      this.GeneratorType( name ); 
 | 
    } 
 | 
  *] 
 | 
  InterfaceProperties { Accessibility: 'Module' } 
 | 
} 
 |