In inbound processing

Loading company data

The program loads information from the company file/table into the WIX_* system variables and information from the trading partner database into the system variables that hold trading-partner and trade agreement information.

Looking up the trading partner

The program performs a trading partner lookup to determine which map to run. Based on the search option chosen (switch selected/parameter used), the program looks for a match between the values in specific system variables (which were loaded from fields in the incoming envelope) and corresponding fields in the trading partner database.

Reading the ISA envelope

Each time the program reads a new ISA envelope, it updates the ISA_IN_NO field in the trading partner table in the trading partner database using the value from the following areas:

Reading the GS envelope

Each time it reads a new GS envelope, the program updates the GS_NO field in the trade agreement table in the trading partner database using the value from the following areas: