Extending parallel rating using DTOs to other lines of business
You can extend parallel rating using DTOs to lines of business that are currently using entities. You must first modify the line for parallel rating.
You can create new lines of business that have parallel rating using DTOs. You must implement the new line with both parallel rating and DTOs.
See also
Considerations
When defining the DTOs, keep in mind the following:
- Some properties, easily accessed through parameters in Rating Management are not as
easily discovered in the data model. In commercial property for example, the
PolicyLineparameter has aCPScheduleCreditsfield. In the data model however,CPScheduleCreditsis not property of PolicyLine. It is the line’sRateModifierwhich matches theCPScheduleCreditspattern code. This kind of nuance is hidden from the user in the rate routine and requires investigation to figure out what data actually needs to be stored in the DTO. - Some Rating Management parameters have a value provider, so your DTO must exactly match
the data type of the value provider. In commercial property for example, the BaseRate rate
table’s
COV_CODEparameter uses the Coverage Value Provider and only accepts data from a coverage. One workaround is to make a new rate table definition without value providers so the COV_CODE parameter accepts a string from the DTO. - The parameter set must include the PolicyLine entity because Rating Management code accesses it.
- If you use rate routines that use entities, this rating must be done outside the rateInParallel method. In commercial property for example, rating a policy uses the Generic State Tax Calculation rate routine, which is generic to all lines of business and uses entities.
