Define a Complex Sequence for Class Script Dependencies - Designer - Foundation 23.1 - Foundation 23.1 - Brainware - external

Brainware Intelligent Capture Designer

Platform
Brainware
Product
Designer
Release
Foundation 23.1
License

In a complex project, the project script might not be the primary script depending on other class level scripts, including one or more encrypted scripts.

Example

A project contains the following dependent classes.

  1. GlobalVariables class script (unencrypted)

  2. UserExits class script (unencrypted)

  3. BWPackaged class script (encrypted)

  4. Project script (unencrypted)

  5. Invoices class script (unencrypted)

  6. Generic class script (encrypted)

To define dependencies between scripts, add an #include "ClassName" statement in the script dependent on the ClassName class.

The GlobalVariables class script is the primary script and therefore does not require an #include statement.

The Invoices and Generic class scripts do not require modifications.

Note: You can only add one #include statement per script.
  1. Open the UserExits class script and add the following line at the bottom of the script.
    #include "GlobalVariables"
  2. Open the BWPackaged class script and add the following line at the bottom of the script.
    #include "UserExits"
  3. Open the Project script and add the following line at the bottom of the script.
    #include "BWPackaged"