xiaoding721
2024-10-18 c3b3f7d30a3834e5e37cc51e7806bc9f2a81fce0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
Method AddCombiElementCampaign (
  CampaignType_MP campaigntype,
  OptCampaignUnitSubPeriod optsubunitperiod
) as OptCampaignCombiElementCampaign
{
  TextBody:
  [*
    occec := OptCampaignCombiElementCampaign::Create( this, campaigntype, optsubunitperiod );
    
    //Calculate some of the attributes so we do not need to do a propagate
    occec.UpdateAttributesForCombiGeneration();
    
    return occec
  *]
}