Oracle® Insurance Rules Palette
OIPA now allows Events in a transaction to generate an Action that results in triggering an event configured in a BR associated with the transaction. This feature is provided to cater to a situation where the action to be performed in the target BR is to be triggered on an event defined in the transaction but the action to be performed is also dependent on the values in one or more fields in the target BR.
This functionality will be supported by defining an Action in the target BR (MultiField BR is used to demonstrate the capability in this case) as a CALLEDEVENT with an ID attribute. Such a called event defined in the target BR can be triggered from the transaction through an Action of type CALLEXTERNALEVENT which is defined in the transaction with the same value in the ID attribute.
Currently this feature is supported in MultiFields BR and TransactionAllocationScreen BR. This may be extended to other associated BRs in future.
In a specific transaction, a specific event to assign value or validate values in a Multifield in one or more instances of the multifield is required to be triggered on the basis of a specific event inside the transaction. The event is dependent on the values in both the transaction field and the multifield values.
The enhancement is added to an existing transaction ‘MultifieldEvents’ in the Functional Prototype Plan under Prototype Company. The events of type ‘CALLEXTERNALEVENT’ are configured in the transaction which in turn invokes the events of type ‘CALLEDEVENT’ present in the ‘ Multifield-MultifieldEvents’.
Transaction Field: "TestField" is created as a Transaction field to demonstrate this functionality. Based on the value of TestField and the event type, the corresponding events are triggered in the Multifield.
OnLoad: In the transaction, on load event, the Action of type ‘CALLEXTERNALEVENT’ is configured which invokes the event ‘MFEventOnLoad’ present in the MultiField –MultiFieldEvents business rule.
OnChange: In the transaction, the Action of type ‘CALLEXTERNALEVENT’ is configured which invokes the event ‘MFTestTextEventOnChange’ and ‘MFTestComboEventOnChange’ present in the MultiField –MultiFieldEvents business rule.
OnSubmit: In the transaction, the Action of type ‘CALLEXTERNALEVENT’ is configured which invokes the event ‘MFEventOnSubmit’ present in the MultiField –MultiFieldEvents business rule.
MFEventOnLoad: This event is associated with the multifield CheckTestMF. It invokes actionset MFActionOnLoad which displays a warning message and marks the field CheckBoxTest1 as ‘CHECKED’ on load.
MFTestTextEventOnChange: This event is associated with multifield TextTestMF. Based on the following values provided to the field TestText2 of index 0, the corresponding action is configured for the field TestText1 of index 0:
MFTestComboEventOnChange: This event is associated with multifield ComboTestMF. It invokes queryset “TestComboOptionsActionOnChange” for field “ComboTest5”.
MFEventOnSubmit: This event is configured for multifield RadioTestMF. It invokes actionset MFActionOnSubmit which displays a warning message.
Copyright © 2009, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices