Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Update ( 
 | 
  SalesSegment_MP owner_i, 
 | 
  String horizontimeunit_i, 
 | 
  Number horizonnroftimeunit_i, 
 | 
  String maxtimeunit_i, 
 | 
  Number maxnroftimeunit_i, 
 | 
  Boolean isfromdb 
 | 
) 
 | 
{ 
 | 
  Description: 'Update the values of this PostponementSpecification.' 
 | 
  TextBody: 
 | 
  [* 
 | 
    if( owner_i <> this.SalesSegment_MP() ) 
 | 
    { 
 | 
      this.UpdateSalesSegment( owner_i ); 
 | 
    } 
 | 
     
 | 
    this.HorizonNrOfTimeUnit( horizonnroftimeunit_i ); 
 | 
    this.HorizonTimeUnit( horizontimeunit_i ); 
 | 
    this.MaxNrOfTimeUnit( maxnroftimeunit_i ); 
 | 
    this.MaxTimeUnit( maxtimeunit_i ); 
 | 
    this.IsManuallyConfigured( not isfromdb ); 
 | 
  *] 
 | 
} 
 |