lazhen
2024-08-16 be10d38e5c56c0070d6acfd344ebfae30ee5b0ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Quintiq file version 2.0
#parent: #root
StaticMethod Create (
  OptCampaignUnitSubPeriod owner,
  Campaign_MP campaign
) as OptCampaignCombi
{
  TextBody:
  [*
    occ := owner.OptCampaignCombi( relnew );
    occ.AddCombiElementFixedCampaign( campaign, owner );  
    
    //Update attributes to such that combigeneration can complete without propegation
    occ.UpdateAttributesfoCombiGenerationFirstElement();
    return occ
  *]
}