If the RQ rule algorithms that are supplied with the base package are not sufficient for your rating requirements, you will have to write a new RQ rule algorithm. This section describes how to do this. After you have followed the steps outlined below, you can then set up the control tables necessary to invoke this algorithm as described under Setting Up Rate Quantity Rules.
Follow the following steps to define a new rate quantity (RQ) rule:
Assign a two-character identifier to the RQ rule. This identifier should begin with an X or Y. For example, you could give your first RQ rule the identifier X1, the second X2, etc.
Create an algorithm type for your new RQ rule. This algorithm type exists to define the types of parameters supplied to your RQ rule. Refer to Base Package RQ Rules for examples. This algorithm type must be identified by the two-digit identifier allocated above.
While RQ rules require an algorithm type, they do NOT require an algorithm. Why? Because you set up an RQ rule to define the values of the parameters passed to your program (and therefore you don't need an algorithm as algorithms exist to define the values of the parameters passed to a program).
Go to Look Up Options and add a new lookup value for the field SQ_RULE_FLG. This should have a Field Value equal to the two-digit identifier allocated above.
Write your new program.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]