1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method UpdateTypeIndex ( 
 |    String operationid, 
 |    String campaigntypename, 
 |    String unitid 
 |  ) 
 |  { 
 |    Description: 'Update TypeIndex and the linked instances.' 
 |    TextBody: 
 |    [* 
 |      // desmondt Mar-24-2015 (created) 
 |      if( this.OperationID() <> operationid 
 |          or this.CampaignTypeName() <> campaigntypename 
 |          or this.UnitID() <> unitid ) 
 |      { 
 |        OperationInCampaignType::ChangeKeyOperationInCampaignTypeTypeIndex( this, operationid, campaigntypename, unitid ); 
 |        this.IsManuallyConfigured( true ); 
 |      } 
 |    *] 
 |  } 
 |  
  |