Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Update ( 
 | 
  IOAccountCost importedobject, 
 | 
  String datasource 
 | 
) 
 | 
{ 
 | 
  Description: 'Update common attributes for all subclasses of IOAccountCost, to be override in subclasses to update spefic ID accordingly' 
 | 
  TextBody: 
 | 
  [* 
 | 
    this.AccountName ( importedobject.AccountName()  ); 
 | 
    this.Cost        ( importedobject.Cost()         ); 
 | 
    this.CostDriver  ( importedobject.CostDriver()   ); 
 | 
    this.DataSource  ( datasource                    ); 
 | 
    this.LengthOfTime( importedobject.LengthOfTime() ); 
 | 
    this.Mode        ( importedobject.Mode()         ); 
 | 
    this.Start       ( importedobject.Start()        ); 
 | 
    this.Timestamp   ( importedobject.Timestamp()    ); 
 | 
    this.TimeUnit    ( importedobject.TimeUnit()     ); 
 | 
    // Extended method 
 | 
    this.CustomUpdate( importedobject                ); 
 | 
  *] 
 | 
} 
 |