Global variable example

In this example, a Developer creates a generic ADT interface with a port number referenced by a global variable $$prodadtport. This variable is created in the Global Variables Configurator with a value of 5555.

The Developer also has a constant $$facilityID referenced as an input value to a COPY operation in a translation. This variable is created in the Global Variable Manager with a value of "Infor_NA".

When creating a BOX with global variables, the Developer creates a BOX containing the necessary objects for the ADT interface to run. The two global variables are included in the BOX.

An Implementer deploys the BOX at a customer site. The two global variables are appended to the site global variables, or updated if they already exist.

During BOX deployment, the Implementer has the option of changing the value of the global variables. The implementer changes $$prodadtport to 5566 and leaves the value of $$facilityID intact. The implementer saves this configuration and the interfaces are ready to run with the global variable settings.