You can extend your Pega Foundation for Communications application to implement the calculation of customer lifetime value (CLV). Applicable to both business-to-business (B2B) and business-to-consumer (B2C) customers, CLV is a prediction of the net profit that is generated as a result of an organization's entire future relationship with a customer. CLV is implemented at the Pega Foundation for Communications application level so that any applications built on the application can utilize this calculation functionality.
To extend your Pega Foundation for Communications application to implement customer lifetime value (CLV) calculation, complete the following steps:
In Dev Studio, add the PegaComm-Data-CLVDetails page property to the work type or Customer Data class of your application. See Creating a data page.
In the PegaComm-Data-CLVDetails class, open the pyDefault data transform.
Configure the pyDefault data transform so that CLV is declaratively calculated. See Data page rules – Using the Definition tab.
Delegate the pyDefault data transform to business users. See Delegating a rule or data type.
Add the pyDefault data transform to the process flow of another application. See Changing the path of a process.
In the PegaComm-Data-CLVDetails class, open the D_GetCLVFactorsforCust data page. On the Definition tab, in the Data sources section, change the default Comms_CLVDetails database table to read from another source.
For more information, see Customer lifetime value (CLV) data model and calculation.