Oracle® Insurance XML Configuration Guide Release 9.4.0.0 E18894_01
The PostAssignmentValidateExpressions business rule is optionally associated with a transaction as a transaction override. It does not exist in the TransactionBusinessRulePacket. This allows the rule to process each time the activity processes while in an NUV pending state. The rule contains a math section that allows for standard math calculations, and a validation section that supports standard validation expressions.
Note: Named MathVariables in this rule must be unique and not replace any MathVariables in the transaction math section. However, MathVariables from the transaction are available to the math section of this rule. Valuation values modified by Assignment processing are also available.
| Element/Tag | Definition | Attribute | Element/Attribute Value and Description |
|---|---|---|---|
|
<PostAssignmentValidateExpressions> |
The opening and closing tag |
|
Overridden at the transaction level. |
|
<MathVariables> |
Standard math section | ||
|
<MathVariable> |
Standard math syntax | ||
|
<ValidateExpressions> |
Standard validation section | ||
|
<Expression> |
Required and Repeatable Element: This tag specifies a condition to be evaluated True/ False, and the error message to be displayed on the screen if the condition is met. |
|
Required Element value: Expression Specifies the condition that needs to be evaluated upon trying to process the transaction. |
| Required Attribute: |
TYPE |
ErrorOnTrue If the Expression is true then the error message displays. ErrorOnFalse If the Expression is false then the error message displays. |
|
| Optional Attribute: |
OVERRIDABLE
|
Yes: the error messages will be displayed with a check box in the Error window. Clicking the checkbox will allow the user to override the error. No:Not overridable. |
|
| Required Attribute: |
MESSAGE |
="ErrorMessage" This attribute is used to specify the error message that is displayed upon evaluating the condition. |
|
|
<GenerateAccounting> |
Optional
Indicates if accounting detail records per COA entries are written. |
No Yes Literal or MathVariable. Default value is “Yes”. |
<PostAssignmentValidateExpressions>
<MathVariables>
<MathVariable VARIABLENAME="ActiveStatusCode" TYPE="VALUE" DATATYPE="TEXT">01</MathVariable>
<MathVariable VARIABLENAME="PendingStatusCode" TYPE="VALUE" DATATYPE="TEXT">08</MathVariable>
<MathVariable VARIABLENAME="True" TYPE="VALUE" DATATYPE="INTEGER">1</MathVariable>
<MathVariable VARIABLENAME="False" TYPE="VALUE" DATATYPE="INTEGER">0</MathVariable>
<MathVariable VARIABLENAME="WriteAccounting" TYPE="VALUE" DATATYPE="TEXT">No</MathVariable>
<MathVariable VARIABLENAME="Condition1" TYPE="SQL" DATATYPE="INTEGER">SELECT...</MathVariable>
<MathVariable VARIABLENAME="Condition2" TYPE="POLICYFIELD" DATATYPE="TEXT">StatusCode</MathVariable>
<MathIF IF="Condition2 = ActiveStatusCode">
<MathVariable VARIABLENAME="Condition1" TYPE="EXPRESSION" DATATYPE="INTEGER">Condition1 + 1</MathVariable>
<MathVariable VARIABLENAME="WriteAccounting" TYPE="VALUE" DATATYPE="TEXT">Yes</MathVariable>
</MathIF>
<CopyBook>CopyBook-ActivityValuation</CopyBook>
</MathVariables>
<ValidateExpressions>
<Expression TYPE="ErrorOnTrue" OVERRIDABLE="No" MESSAGE="Message Text 1">Condition1 = True</Expression>
<Expression TYPE="ErrorOnTrue" OVERRIDABLE="Yes" MESSAGE="Message Text 2">Activity:FieldName < 0</Expression>
<Expression TYPE="ErrorOnTrue" OVERRIDABLE="No" MESSAGE="Message Text 3">Condition2 = PendingStatusCode</Expression>
</ValidateExpressions>
</GenerateAccounting>WriteAccounting</GenerateAccounting>
</PostAssignmentValidateExpressions>
Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices