RateScreen
The RateScreen business rule can be used to spawn the edited rates on the Search Rates screen in OIPA application.
Element/Tag | Attribute | Definition | Element/Attribute Value and Description |
---|---|---|---|
<RateScreen> |
The opening and closing elements of the screen rule |
|
|
<Events> | See ActionEvents | ||
<Event> | ONSUBMIT | ||
<Spawns> | Optional: The opening tag for the Spawns section. | ||
<Spawn> |
IF |
Required: Opening element that defines the transaction to spawn and its data |
Optional: A condition that when it is true, initiates the spawn. If it is not present, the spawn will be generated under all conditions. Note: Go to Operators available for EXPRESSION writing to see what operators can be used for condition writing |
TARGET | |||
LEVEL | |||
<Transaction> | The name of an existing transaction. | Required: Identifies the transaction that will be spawned. It must exist as a Policy/Group customer/Plan level. | |
SPAWNCODE | Required: This attribute defines how the spawned activity’s effective date will be determined. | ||
FIELD | Required: This attribute provides the spawned activity’s effective date. | ||
<SpawnFields> |
Optional: Opening tag for the Spawn Field section. |
||
<SpawnField> | Required and repeatable: Identifies a field and its source of population as the spawned activity is created. | ||
<From> | Required: Defines the spawned field’s source of population. | ||
<To> | Required: Identifies a field in the spawned activity to be populated. | ||
<DataType> | Required: Identifies the DataType of the spawned field. | ||
<ScreenMath> | See ScreenMath | ||
<Actions> | See ActionEvents |
XML Schema
<RateScreen>
<Events>
<Event TYPE="ONSUBMIT">
<Math ID=”. . . “>. . . . </Math>
<ActionSet ID=”. . . “>. . . . </ActionSet>
<Spawns>
<Spawn IF="RateGroupMV='Rate1'">
<Transaction SPAWNCODE="01" TARGET="GC1MV" LEVEL="GroupCustomer">TransactionA</Transaction>
</Spawn>
<Spawn IF="RateGroupMV='Rate2'">
<Transaction SPAWNCODE="01" TARGET="P1MV" LEVEL="PLAN">TransactionB</Transaction>
</Spawn>
<Spawn IF="RateGroupMV='Rate3'">
<Transaction SPAWNCODE="01" TARGET="GC2MV" LEVEL="POLICY"> TransactionC</Transaction>
</Spawn>
</Spawns>
</Event>
</Events>
<ScreenMath/> <Actions/>
</RateScreen>
Sample XML
<RateScreen>
<Events>
<Event TYPE="ONSUBMIT">
<Math ID=”. . . “>. . . . </Math>
<ActionSet ID=”. . . “>. . . . </ActionSet>
<Spawns>
<Spawn IF=”RateGroupMV =’Rate1’”>
<Transaction SPAWNCODE="01" TARGET=”MV1” LEVEL=””>TransactionA</Transaction>
</Spawn>
</Spawns>
</Event>
</Events>
<ScreenMath/> <Actions/>
</RateScreen>