Functions

A dynamic logic function is the most generic type of dynamic logic: it can have one or more input arguments and return different types of output. A dynamic logic function is used to extend default behavior in certain areas. Each usage of dynamic logic functions is described in a separate paragraph below.

A HTTP link references a dynamic logic function to build up the URL needed to access - in a different browser tab - the report. The context from which the link is clicked serves as input object for the dynamic logic.

In or Out Name Type Description

In

Depends on the page

Depends on the page

The object that the page provides as input

In

httpLink

HTTP Link

The HTTP link that is being evaluated

Out

n/a

Alphanumerical

The composed URL

In Oracle Health Insurance Product Definition, the only page that supports HTTP Links, is Setup Product.

Reusable Code

This is a common signature, available in all the applications. This signature has no bindings. It allows for writing standalone methods/reusable classes code that can be shared across other scripts.

Extension

This is a common signature, available in all the applications. This signature has no bindings. It allows for writing extensions to the dynamic logic scripts that are delivered by the product.

Test Unit

Dynamic logic of this signature do not implement business functionality. They act instead as test drivers of other dynamic logic.

Dynamic logic can be tested by invoking the business process where the logic is called and see if it performs as expected. This is however a cumbersome process: many business process flows can only be executed under very specific circumstances and executing them may take long.

Here a test unit helps. The logic of the test unit can construct (or retrieve) input objects and pass them to the dynamic logic that is to be tested and validate the output. There is no need to start the business process. The Test Unit enables unit-testing of dynamic logic.

The following signature applies:

In / Out Name Type Description

Out

n/a

Boolean

True if the Test Unit ran successfully, false otherwise.

NOTE

Test Units can be executed by invoking the Test Dynamic Logic Integration Point

URL Composition

A flex code field usage of a dynamic record definition can reference a dynamic logic function to build up the URL needed to access an external application. In this way it is possible to change, for example, a server location in a central way.

In or Out Name Type Description

In

dynamic Record

Dynamic Record

The dynamic record

Out

n/a

Alphanumerical

The composed URL

Example:

return " http://financialsystem.oracle.com?p_check_number= "+dynamicRecord.checkNumber