| Quintiq file version 2.0 | 
| #parent: #root | 
| MethodOverride UpdateWithPartialNVT ( | 
|   NamedValueTree partialnvt | 
| ) | 
| { | 
|   TextBody: | 
|   [* | 
|     // WARNING: DO NOT MODIFY THIS METHOD DIRECTLY AS IT WILL BE OVERWRITTEN. | 
|      | 
|     typenode := partialnvt.Root(); | 
|      | 
|     traverse( typenode.Children(), Elements, child ) | 
|     { | 
|       if( child.Name() = attribute( DTO_Campaign, Z_FulfilledDuration ).Name() ) | 
|       { | 
|         this.FulfilledDuration( child.GetValueAsDuration() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_CampaignID ).Name() ) | 
|       { | 
|         this.CampaignID( child.GetValueAsString() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_CampaignTypeName ).Name() ) | 
|       { | 
|         this.CampaignTypeName( child.GetValueAsString() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_Comment ).Name() ) | 
|       { | 
|         this.Comment( child.GetValueAsString() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_Duration ).Name() ) | 
|       { | 
|         this.Duration( child.GetValueAsDuration() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_EarliestStart ).Name() ) | 
|       { | 
|         this.EarliestStart( child.GetValueAsDateTime() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_End ).Name() ) | 
|       { | 
|         this.End( child.GetValueAsDateTime() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_FulfilledQuantity ).Name() ) | 
|       { | 
|         this.FulfilledQuantity( child.GetValueAsReal() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_HasInputMaxDuration ).Name() ) | 
|       { | 
|         this.HasInputMaxDuration( child.GetValueAsBoolean() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_HasInputMaxQuantity ).Name() ) | 
|       { | 
|         this.HasInputMaxQuantity( child.GetValueAsBoolean() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_HistoricalTransitionDuration ).Name() ) | 
|       { | 
|         this.HistoricalTransitionDuration( child.GetValueAsDuration() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_MaxDuration ).Name() ) | 
|       { | 
|         this.MaxDuration( child.GetValueAsDuration() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_MaxQuantity ).Name() ) | 
|       { | 
|         this.MaxQuantity( child.GetValueAsReal() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_MinDuration ).Name() ) | 
|       { | 
|         this.MinDuration( child.GetValueAsDuration() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_MinQuantity ).Name() ) | 
|       { | 
|         this.MinQuantity( child.GetValueAsReal() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_SequenceNumber ).Name() ) | 
|       { | 
|         this.SequenceNumber( child.GetValueAsNumber() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_SequenceNumberForExcel ).Name() ) | 
|       { | 
|         this.SequenceNumberForExcel( child.GetValueAsNumber() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_Start ).Name() ) | 
|       { | 
|         this.Start( child.GetValueAsDateTime() ); | 
|       } | 
|       else if( child.Name() = attribute( DTO_Campaign, Z_UnitID ).Name() ) | 
|       { | 
|         this.UnitID( child.GetValueAsString() ); | 
|       } | 
|     } | 
|   *] | 
| } |