Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method Update ( 
 | 
  IOCampaignType_MP importedobject, 
 | 
  String datasource 
 | 
) 
 | 
{ 
 | 
  Description: 'Update attributes for IOCampaignType_MP' 
 | 
  TextBody: 
 | 
  [* 
 | 
    this.DataSource         ( datasource                           ); 
 | 
    this.Mode               ( importedobject.Mode()                ); 
 | 
    this.Timestamp          ( importedobject.Timestamp()           ); 
 | 
    this.Color              ( importedobject.Color()               ); 
 | 
    this.DefaultDuration    ( importedobject.DefaultDuration()     ); 
 | 
    this.DefaultMaxQuantity ( importedobject.DefaultMaxQuantity()  ); 
 | 
    this.DefaultMinQuantity ( importedobject.DefaultMinQuantity()  ); 
 | 
    this.DefaultMaxDuration ( importedobject.DefaultMaxDuration()  ); 
 | 
    this.DefaultMinDuration ( importedobject.DefaultMinDuration()  ); 
 | 
    this.HasInputMaxQuantity( importedobject.HasInputMaxQuantity() ); 
 | 
    this.HasInputMaxDuration( importedobject.HasInputMaxDuration() ); 
 | 
     
 | 
    this.CustomUpdate( importedobject ); 
 | 
  *] 
 | 
} 
 |