Quintiq file version 2.0 
 | 
#root 
 | 
#parent: #DomainModel 
 | 
Type Assumption 
 | 
{ 
 | 
  #keys: '5[110880.3.1733177328][110880.3.1733177326][0.0.0][110880.3.1733177327][110880.3.1733177329]' 
 | 
  BaseType: Object 
 | 
  Description: 
 | 
  [* 
 | 
    MP 
 | 
    Assumption of scenarios. 
 | 
  *] 
 | 
  OnCommit: 
 | 
  [* 
 | 
    //Assign the appropriate values to CreatedBy and CreatedOn if the assumption is new, and assign the appropriate values to ChangedBy and ChangedOn if the assumption is edited 
 | 
    username := GlobalParameters_MP::GetUserName(); 
 | 
    time := DateTime::Now(); 
 | 
     
 | 
    if( isnew ) 
 | 
    { 
 | 
      this.ID( OS::GenerateGUIDAsString() );  
 | 
      this.CreatedBy( username ); 
 | 
      this.CreatedOn( time ); 
 | 
    } 
 | 
    // Default changed by and changed on to the creator 
 | 
    this.ChangedBy( username ); 
 | 
    this.ChangedOn( time ); 
 | 
  *] 
 | 
  StructuredName: 'Assumptions' 
 | 
} 
 |