
|
If you were logged in you would be able to see more operations.
|
|
|
OpenQuote
Created: 08/May/10 05:23 AM
Updated: 08/May/10 05:23 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.3
|
|
| Release Notes Comment: |
In 1.3 the AssessmentSheet's helper methods which are typically used to create assessment sheet
lines from rating spreadsheets, have been simplified and made more consistent. In versions of
OpenQuote before 1.3, the addLoading(), addDiscount(), addReferal(), and adDecline() methods
required a Reference() as a second parameter. In practice, this was very rarely used, so in 1.3
it has been made optional.
If you are using any of these methods, and are passing currently passing a null as a second
argument, simply remove the argument as in the following examples.
Replace:
$AssessmentSheetArgRet.addLoading("$2", null, "total premium", "total premium", new Rate("$1"));
with:
$AssessmentSheetArgRet.addLoading("$2", "total premium", "total premium", new Rate("$1"));
Replace:
$AssessmentSheetArgRet.addReferral("$1", null);
with:
$AssessmentSheetArgRet.addReferral("$1");
Errors like the following during risk assessment indicate that your rating does pass nulls in
the second argument to some of these methods.
Rule Compilation error : [Rule name=: Convictions Loadings & Referrals_208, agendaGroup=MAIN, salience=65328, no-loop=false]
Product/AIL/Demo/MotorPlus/PolicyRating/Rule___Convictions_Loadings___Referrals_208_0.java (32:1386) : The method addLoading(String, Reference, String, String, Rate) is ambiguous for the type AssessmentSheet
In 1.3 the AssessmentSheet's helper methods which are typically used to create assessment sheet
lines from rating spreadsheets, have been simplified and made more consistent. In versions of
OpenQuote before 1.3, the addLoading(), addDiscount(), addReferal(), and adDecline() methods
required a Reference() as a second parameter. In practice, this was very rarely used, so in 1.3
it has been made optional.
If you are using any of these methods, and are passing currently passing a null as a second
argument, simply remove the argument as in the following examples.
Replace:
$AssessmentSheetArgRet.addLoading("$2", null, "total premium", "total premium", new Rate("$1"));
with:
$AssessmentSheetArgRet.addLoading("$2", "total premium", "total premium", new Rate("$1"));
Replace:
$AssessmentSheetArgRet.addReferral("$1", null);
with:
$AssessmentSheetArgRet.addReferral("$1");
Errors like the following during risk assessment indicate that your rating does pass nulls in
the second argument to some of these methods.
Rule Compilation error : [Rule name=: Convictions Loadings & Referrals_208, agendaGroup=MAIN, salience=65328, no-loop=false]
Product/AIL/Demo/MotorPlus/PolicyRating/Rule___Convictions_Loadings___Referrals_208_0.java (32:1386) : The method addLoading(String, Reference, String, String, Rate) is ambiguous for the type AssessmentSheet
|
| There are no comments yet on this issue.
|
|