Defining Trading Partners
Trading Partner Maintenance (35.13.7): Initial Frames
Use Trading Partner Maintenance to:
• Identify the document types that are exchanged with each trading partner
• Set up cross-references between trading partner documents and QAD Enterprise Applications
• Cross-reference the trading partner’s site and address codes to the codes used in QAD Enterprise Applications
• Set control values used during document processing.
Use the initial frame to specify basic information about the trading partner.
TP ID
Alphanumeric identification code for this trading partner.
• Must be the same as the code used in the EC subsystem control record for the tp-id token
Name
Identifier for this trading partner (for reference only).
In the second frame, enter control information used during document processing for this trading partner. Several of the fields serve as defaults for trading partner documents defined in the subsequent frame, such as the sequence IDs used to generate document sequence numbers in the repositories.
Group
Optionally, enter the name of a trading partner group. You can use this group name to associate multiple trading partners for reporting purposes.
Counters: Inbound Exchange, Outbound Exchange, Inbound Application, Outbound Application
Specify the sequence IDs that are used to assign numbers to repository documents during processing for this trading partner.
These fields are optional. If you enter a value, it must be a valid sequence ID defined in EC Number Range Maintenance.
Use Primary Reference ID
Enter Yes to have the system use a reference ID number provided in the document being processed, rather than using a sequence ID defined in EC Number Range Maintenance to generate an ID number. This field defaults to the Trading Partner Document Records frame for new records.
When you use this feature, assign the token PRIMARY-REF-ID to a field in the exchange file, application, and implementation definitions to represent the reference ID.
Note: If this field is Yes and the token is not assigned in a required definition, the system uses the appropriate sequence ID specified in the eCommerce Transaction Control frame of eCommerce Control to generate a number.
Application
Enter a code representing the application to which this record applies.
The field in the initial frame defaults to EDI. You can change it as required. That value defaults to new records created in the Trading Partner Document Records frame; that value in turn defaults to new TP location cross-reference records.
Suppress Warnings
Enter Yes to prevent the system from generating status messages that result from warning conditions during transformation or gateway processing.
When this field is No, the system always generates warnings in the status message table.
This field defaults from eCommerce Control. It defaults to the Trading Partner Document Records frame for new document records.
Stop on Error
Enter Yes to have the system stop processing a document during transformation when the first error is encountered. The system skips the rest of the document and moves to the next sequence number.
When this field is No, processing continues regardless of the number of errors that occur.
This field defaults from eCommerce Control. It defaults to the Trading Partner Document Records frame when you set up a new document record.
Suppress Session Report
Enter Yes to prevent the system from generating a session report following document load or unload.
When this field is No, the system always generates session reports.
This field defaults from eCommerce Control. It defaults to the Trading Partner Document Records frame when you set up a new document record.
Trading Partner Maintenance: Document Records Frame
TP Doc ID
Enter the identifier for the document type exchanged with this trading partner. For example, this might be 810 to indicate an invoice exported in the ANSI X12 810 format. This must be the same as the code used in the SNF file control record for the tp-document-id token.
Dir
Specify whether this record applies to inbound or outbound records. This field lets you distinguish between two trading partner records with the same document type by making one inbound and the other outbound.
Document Map
Enter the name of the transformation map to be used in converting the data in this record for this combination of trading partner, document type, and direction. This transformation map must be defined in Transformation Definition Maint.
Transmission Group
Enter the name of the transmission group associated with this trading partner for this document type. This group must be defined in Transmission Group Maintenance. The field is mandatory for outbound documents.
Token List
Optionally enter a comma-separated list of valid tokens for the system to use to differentiate between multiple trading partner cross-references to the same combination of site and ship-to address. These values are used to determine the source of imported documents.
When Fields is Yes, you can then associate corresponding comma-separated values for each combination of trading partner site and address.
Enter enough tokens and values to create a unique combination of trading partner site, trading partner address, and tokens for each instance where trading partner site and trading partner address are the same.
Trading Partner Maintenance: Additional Document Records Frame
This frame displays additional fields for the selected record.
Track
Indicate whether the system should automatically generate tracking records when exporting documents of this type to this trading partner. The system can then import acknowledgment and status messages from the EC subsystem and update the tracking records as required.
When this field is No, tracking records are not created and imported acknowledgments are disregarded.
Note: Documents are tracked only when the Primary Reference field in the exchange repository master record contains a value. For example, this can be a purchase order, invoice, or ASN number.
Acks
Indicate whether the system typically receives acknowledgment messages from the EC subsystem after the subsystem processes exported documents of this type for this trading partner.
When Track is set to Yes, the system creates a tracking record each time it exports this type of document to this trading partner. When Ack to Yes, the system leaves the Ack Status field in the tracking record blank until importing an acknowledgment message from the EC subsystem. When Ack is No, the system automatically sets Ack Status to None Expected. The system can still update the Ack Status field by importing a status message.
Fields
Enter Yes to display an additional frame that lets you enter or edit trading partner cross-reference information.
Note: When Fields is No, the remaining frames in Trading Partner Maintenance do not display for the selected document record.
Save Repository
Specify whether the system retains data in the document repositories after processing.
Yes (default): Any records created in the repositories when processing this document are saved.
No: The system deletes repository records related to this document after processing is completed.
Document Group
Optionally, enter the name of a trading partner document group. You can use this group name to associate multiple trading partners for reporting purposes.
Application
Enter a code representing the application to which this record applies.
This field defaults from the initial trading partner data frame. It defaults to the TP Location Cross-Reference frame when you set up a new cross-reference record.
Exchange, Application Counter
Specify the sequence IDs that are used to assign numbers to repository documents for this trading partner.
These fields are optional. If you enter a value, it must be a valid sequence ID defined in EC Number Range Maintenance.
Use Primary Reference ID
Enter Yes to have the system use a reference ID number provided in the document being processed, rather than using a sequence ID defined in EC Number Range Maintenance to generate an ID number. This field defaults from the initial trading partner setup frame.
When you use this feature, assign the token PRIMARY-REF-ID to a field in the exchange file, application, and implementation definitions to represent the reference ID.
Note: If this field is Yes and the token is not assigned in a required definition, the system uses the appropriate sequence ID specified in the eCommerce Transaction Control frame of eCommerce Control to generate a number.
Suppress Warnings
Enter Yes to prevent the system from generating status messages that result from warning conditions during transformation or gateway processing.
When this field is No, the system always generates warnings in the status message table.
This field defaults from the initial trading partner data frame. It defaults to the TP Location Cross-Reference frame when you set up a new cross-reference record.
Stop on Error
Enter Yes to have the system stop processing a document during transformation when the first error is encountered. The system skips the rest of the document and moves to the next sequence number.
When this field is No, processing continues regardless of the number of errors that occur.
This field defaults from the initial trading partner data frame. It defaults to the TP Location Cross-Reference frame when you set up a new cross-reference record.
Suppress Session Report
Enter Yes to prevent the system from generating a session report following document load or unload. When this field is No, the system always generates session reports.
This field defaults from the initial trading partner data frame. It defaults to the TP Location Cross-Reference frame when you set up a new cross-reference record.
Trading Partner Maintenance: TP Location Cross-Reference Frame
When Fields is Yes in the previous frame, the next frame lets you set up cross-references between the trading partner’s site and address codes and those used by your system. The system uses these cross-references during the transformation process to automatically identify such information as the customer’s site and address. Without the cross-references, you must use Transformation Definition Maintenance (35.15.17) to assign the MFG/PRO‑SITE and MFG/PRO-ADDRESS variables before the output header record is written. Otherwise, the system generates a transformation error message.
TP Site and TP Address Reference
Enter the site and address codes used by the trading partner. Several different site and address combinations can exist at this level. For example, one cross-reference may be for the trading partner (sold-to) and the others for the ship-to addresses.
For inbound documents, the combination of trading partner site and address provides a cross-reference to the site and address. For outbound documents, the transformation process determines the trading partner site and address codes using the following three elements:
• Application document definition name and version
• Implementation name and version
• Site and address codes from your system
Token List Values
Enter a comma-separated list of values associated with the tokens entered in Token List in the previous frame. Be sure that there is one-to-one correspondence between tokens and values.
On imported documents only, the system uses these values to differentiate between multiple trading partner cross-references to the same combination of site and address.
Site and MFG Addr
Enter cross-references from the trading partner site and address to the site and address codes in your system.
Note: Site and Address are not validated against master records defined in your system.
Export
Specify whether the system exports this document type to this combination of site and address for this trading partner.
In an environment where you have mapped more than one trading partner cross-reference to the same combination of site and address, this field lets you limit the trading partner addresses that are selected to receive exported documents. For example, you can send an ASN both to a ship-to customer and to the central ordering point that placed the order by having a cross-reference record for each and setting Export to Yes for both.
This field can be updated only when the Direction field for a trading partner document ID is Out.
Trading Partner Maintenance: Additional TP Location Fields
When Fields is Yes for the selected trading partner document record, this frame lets you specify additional information for the trading partner cross-reference.
Transmission Group Override
Set this field to Yes to display an additional frame that lets you override the document-level transmission group value in the Trading Partner Document Records frame for a specific trading partner/site reference.
You can use this feature to define different HTTP parameters for posting XML documents for specific trading partner locations; this is useful, for example, when you are using QXtend to communicate documents created by EDI eCommerce.
Email
Enter Yes to display an additional frame that lets you enter one or more e-mail addresses of individuals who receive process status notifications regarding documents that use this trading partner location cross-reference.
You also can specify whether the system sends e-mail to the address only when a processing error occurs.
These must be complete email addresses; for example,
[email protected].
Use Email Definition Maintenance (36.4.20) to set up your system to manage email.
Additional fields let you override document-level defaults for a specific address cross-reference:
• Suppress Warnings
• Stop on Error
• Suppress Session Report
Trading Partner Parameter Maint (35.13.10)
Use Trading Partner Parameter Maintenance to assign parameters and values to a variety of trading-partner-specific processing actions.
The system creates a parameter record for each unique combination of trading partner address and site specified in Trading Partner Maintenance (35.13.7). If you delete an address and site combination in Trading Partner Maintenance, the parameter record for that combination is also deleted.
System-generated default values for some standard parameters are created at the same time the record is generated. Several of these are used to specify values required by the import and export gateway programs. For example:
• Logical flags for a trading partner determine which types of documents you exchange with that partner
• Another logical flag specifies whether purchase orders imported from this trading partner should be entered as confirmed sales orders
• Character and integer parameters provide the gateway programs with the names and version numbers of the QAD Enterprise Applications definition documents used in processing
The program consists of five frames. In the first you select the combination of trading partner address and site for which you want to define or modify parameters. In the bottom part of the frame, you can define up to 40 logical parameters. The first frame displays 10 lines. Choose Go to access 10 more.
Note: The system only displays frames that already include parameters. Frames with no entries are skipped.
App Addr and App Site
Enter the address and site codes from your system that represent the trading partner whose parameters are defined in this record.
The system displays the corresponding trading partner address and site cross-references, defined in Trading Partner Maintenance, in the TP Addr and TP Site fields.
Logical Param Desc
Enter an alphanumeric description of the logical parameter defined in Logical Param Value.
Logical Param Value
Enter Yes or No to define the logical value of this parameter.
Continue to click Next to display input screens where you can enter up to 40 descriptions and values for the following types of parameters:
• Character parameters. These consist of up to 40 alphanumeric characters.
• Date parameters. Enter a date in MM/DD/YYYY format. The system validates this entry.
• Integer parameters. These are positive or negative whole numbers of up to 9 digits.
• Decimal parameters. These are positive or negative decimal numbers. The system accepts up to eight characters to the left of the decimal point and two characters to the right.