Oracle® Rules Palette Release 9.1.0.0.0 E15811-01

# Segment

Description

Segment dictates how the segment(s) are configured for each plan. It is configured similar to screen rules but allows for additional validations and can invoke Calculate business rules.

Segment Element\Attribute Table

Element/Tag | Definition | Attribute | Element/Attribute Value and Description
<Segment> | The opening and closing tag. |  |
<Fields> | Screen entry fields. Click the Fields link for configuration details. |  |
<Buttons> | List of buttons that can be selected on the screen. |  |
<Button> | Name of the available button. If there are multiple buttons then they will be listed separately in individual <Button> tags. | RULE | String - Name of the Calculate rule that will be invoked by processing the Calculate button. Used in conjunction with the Calculate button.
<Events> | See Events. |  |
<Roles> | Identifies role that must be present for validation. |  | Code (as defined in AsCodeRole).

SegmentScreen Image

## XML Example

<Segment>

<Fields>

<Field>

<Name>SegmentIssueDate</Name>

<Display>Issue Date</Display>

<DataType>Date</DataType>

<Disabled>ReadOnly</Disabled>

</Field>

<Field>

<Name>SegmentTerminationDate</Name>

<Display>Termination Date</Display>

<DataType>Date</DataType>

<Disabled>ReadOnly</Disabled>

</Field>

<Field>

<Name>Filler</Name>

<Display></Display>

<DataType>Blank</DataType>

</Field>

<Field>

<Name>Filler</Name>

<Display></Display>

<DataType>Blank</DataType>

</Field>

<Field>

<Name>SegmentInitCovAmt</Name>

<Display>Issue Face</Display>

<DataType>Money</DataType>

<Disabled>Yes</Disabled>

</Field>

<Field>

<Name>SegmentIssueAge</Name>

<Display>Issue Age</Display>

<DataType>Integer</DataType>

<Disabled>ReadOnly</Disabled>

</Field>

<Field>

<Name>SegmentAmount</Name>

<Display>Current Waiver Face</Display>

<DataType>Money</DataType>

<Disabled>ReadOnly</Disabled>

</Field>

<Field>

<Name>Filler</Name>

<Display></Display>

<DataType>Blank</DataType>

</Field>

<Field>

<Name>SegmentModalPremium</Name>

<Display>Modal Premium</Display>

<DataType>Money</DataType>

<Disabled>Yes</Disabled>

</Field>

<Field>

<Name>SegmentAnnualPremium</Name>

<Display>Annual Premium</Display>

<DataType>Money</DataType>

<Disabled>Yes</Disabled>

</Field>

<Field>

<Name>SegmentNextYearsModalPremium</Name>

<Display>Next Year Modal Premium</Display>

<DataType>Money</DataType>

<DefaultValue>0</DefaultValue>

<Disabled>ReadOnly</Disabled>

</Field>

<Field>

<Name>SegmentNextYearsAnnualPremium</Name>

<Display>Next Year Annual Premium</Display>

<DataType>Money</DataType>

<DefaultValue>0</DefaultValue>

<Disabled>ReadOnly</Disabled>

</Field>

<Field>

<Name>Filler</Name>

<Display></Display>

<DataType>Blank</DataType>

</Field>

<Field>

<Name>Filler</Name>

<Display></Display>

<DataType>Blank</DataType>

</Field>

<Field>

<Name>SegmentPremPayStartDate</Name>

<Display>Waiver Pay Start Date</Display>

<DataType>Date</DataType>

<Disabled>ReadOnly</Disabled>

</Field>

</Fields>

<Events>

<Event TYPE="ONSUBMIT">

<ActionSet ID="FinalValidation"></ActionSet>

</Event>

</Events>

<Actions>

<ActionSet ID="FinalValidation">

<Condition IF="BaseCount = 0">

<Action ACTIONTYPE="ERROR">Base segment does not exist.</Action>

</Condition>

</ActionSet>

</Actions>

<Buttons>

<Button RULE="CalculateGeneralWaivAmt">Calculate</Button>

</Buttons>

</Segment>