Oracle® Insurance XML Configuration Guide Release 9.4.0.0 E18894_01
This business rule generates the PolicyNumber when a new policy is stored. In order for this functionality to be invoked the <AutomaticPolicyNumber> tag should be set to Yes or Optional in the PolicyScreen business rule.
|
Element/Tag |
Definition |
Attribute |
Element/Attribute Value and Description |
|---|---|---|---|
|
<AutomaticPolicyNumber> |
The opening and closing tag for the rule. |
|
|
|
<Part>
|
Indicates the value of the field parts to define and format the PolicyNumber. |
TYPE |
VALUE - Defines a set value and what the value will be for the PolicyNumber. The tag must contain a value. |
|
|
FORMAT |
Indicates the formatting to be performed on the type attributes. YY - Used to indicate that the last two digits of the current year should be used. MM - Used to indicate that the current month number should be used. DD - Used to indicate that the current day number should be used . '0xxxxx'- Used to indicate the number of places that the sequence number should be generated to. |
|
|
LEFT |
LEFT=n Formats field value to left most n digit. |
||
|
RIGHT |
RIGHT=n Formats field value to the right n digits. |
||
|
MID |
Mid=m,n Formats field value to middle digits m,n. It's a comma separated string of two numbers specifying the starting and ending index of the characters to be picked up for the part. |
<AutomaticPolicyNumber>
<Part TYPE="VALUE">AVA</Part>
<Part TYPE="SYSTEMDATE" FORMAT="YY"></Part>
<Part TYPE="FIELD">StatutoryCompany</Part>
<Part TYPE="SEQUENCE" FORMAT="000000">PolicyNumber</Part>
</AutomaticPolicyNumber>
Builds a policy number similar to this format AVA043000001.
In the PolicyScreen Business Rule
<PolicyScreen>
<AutomaticPolicyNumber>Yes</AutomaticPolicyNumber>
</PolicyScreen>
In the AutomaticPolicyNumber Business Rule
<AutomaticPolicyNumber>
<Part TYPE="VALUE">XYZ</Part>
<Part TYPE="SYSTEMDATE" FORMAT="YY"></Part>
<Part TYPE="FIELD" LEFT="1">Carrier</Part>
<Part TYPE="SEQUENCE" FORMAT="000000">SubmissionNumber</Part>
</AutomaticPolicyNumber>
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices