Get Started with Revenue Management Developer Resources
Revenue Management Settings
Modeling a Generator Set
Core Concept Examples
Business-Centric CML Examples
Model Structure
Previous Versions
Constraint Modeling Language (CML) must accurately calculate the total sum or aggregate of specific attributes like quantity or userCount across child components, especially in complex configurations requiring group-level aggregation
The main modeling obstacles when performing aggregation in CML involve:
NullPointerException, which can occur if derived aggregate attributes lack explicit domains.total() function. If these loops are not broken, the aggregated variable becomes “not bound”, which causes the solution to fail.As a sales representative, when I am configuring a bundle product in the Configurator window, I modify the quantities or specific attributes of the individual child components. I expect the constraint engine to immediately and accurately calculate the overall aggregated totals for the parent product, such as the totalItemCount or sumOfUsers.
These Constraint Modeling Language (CML) structures implement quantity aggregation and resolve calculation dependencies.