Implementing dynamic class referencing
You can configure Pega Configure Price Quote for Communications to retrieve product class information at run time to select the correct flow and class names. You do this by implementing dynamic class referencing by using declarative pages and decision tables.
Create a new data class for the UPlus implementation layer application that directly inherits from PegaComm-FW-CPQ-Data-AppExtension.
In the Data Types menu, click Add data type.
In the Label field, enter AppExtension.
Expand the Advanced section. In the Parent class field, enter PegaComm-FW-CPQ-Data-AppExtension, and set the Identifier to UPlus-OPs-CPQ-Data-AppExtension.
Click Submit.
Copy the AppExtension data transform rule from the PegaComm-FW-CPQ-Data-AppExtension class to the UPlus-OPs-CPQ-Data-AppExtension class. See Data Transforms.
Copy the DetermineAppExtensionClass decision table rule from the core layer to the implementation layer without changing the apply to class.
Open the DetermineAppExtensionClass decision table rule in the UPlus application ruleset. Insert a row in the table. Under the Organization column, add UPlus, then update the return value to UPlus-OPs-CPQ-Data-AppExtension.
In the AppExtension data transform rule, on the Definition tab, set the properties for the dynamic class referencing functionality to that of the UPlus implementation layer application class names, work queues, and so on.
On the Advanced tab, for the CPQ:SalesEngineers and CPQ:Administrators access groups, add PegaCM-CPQBusinessRules:08-05 as a production ruleset.
Resave the default workpool email account (PegaComm-FW-CPQ-Work) from the core application to the new implementation layer.
Previous topic Extending the application Next topic Optional: Integration with Google Maps