Enabling rating worksheets in the rate routine plugin
The rate routine plugin has settings that enable the rate routine plugin to generate rating worksheets for a line of business. If rating worksheets are enabled for a line of business, the Show Rating Worksheet button appears on the Quote screen.
Enable rating worksheets in the plugin by making the following changes:
- Set the WorksheetsEnabled parameter to
truein theIRateRoutinePluginregistry. - In the
LOBRateRoutineConfig.gs class, modify
the
worksheetsEnabledForLineoverride method to returntrue.For example, you can turn on rating worksheets for a line of business by modifying the line-of-business configuration classes with an override to the worksheetsEnabledForLine method. For example, the following code in the CPRateRoutineConfig class enables rating worksheets for commercial property:
override function worksheetsEnabledForLine(linePatternCode : String) : boolean { return true }In the RateRoutinePlugin class, the worksheetsEnabledForLine method calls the line-specific implementation of
worksheetsEnabledForLine.
See also
- Configuring rating worksheets for additional steps to enable rating worksheet
- Rating worksheets in Rating Management
