Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Execute () as stream[structured[Lib3DS_Entity]] 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    entities := stream[ Lib3DS_Entities ]::Success(); 
 | 
    params := this.QueryParameters(); 
 | 
     
 | 
    if( not isnull( params ) ) 
 | 
    { 
 | 
      traverse( params, Type, type ) 
 | 
      { 
 | 
        entities := entities->Merge( this.QueryByType( type ) ); 
 | 
      } 
 | 
    } 
 | 
     
 | 
    return entities->Flatten()->GroupAll(); 
 | 
  *] 
 | 
  InterfaceProperties { Accessibility: 'Module' } 
 | 
} 
 |