Using the Trading Partner Built in Variables

LANSA Composer

Using the Trading Partner Built-in Variables

The trading partner information may be referenced at run-time (in a Processing Sequence) in several ways:

  • When processing is being performed for a particular trading partner, the linked directories, Transformation Maps and/or Configurations can be accessed through qualified forms of the *TRADINGPARTNER built-in variable and used as variable inputs to the Activities and Transformation Maps to be executed. Refer to Trading Partner (*TRADINGPARTNER) Built-in Variable Qualifiers for more information.
  • A Processing Sequence may contain a loop based on the built-in *TRADINGPARTNERS variable (or one of the *TRADINGPARTNERS.GROUP.xxx variables) to iteratively perform the same processing for all defined trading partners (or trading partners that belong to the specified trading partner group).

  • If you wish to process a single trading partner in your Processing Sequence but still require access to the trading partner information using the qualified forms of the *TRADINGPARTNER variable then you must first assign a value to the *TRADINGPARTNER built-in variable. The value you assign must be the identifier of a trading partner defined in the LANSA Composer system.

In order to successfully use the *TRADINGPARTNER built-in variable and its qualified forms, a valid value must have been assigned to it in one of the above ways.