Set Up Import Specifications for QDocs
Use Import Specification Maintenance (18.104.22.168) to set document-specific parameter values for importing messages to be processed as QDocs.
Many fields in this program default from the values you specify in Register External Application.
Matching Specifications to Documents
You can use up to five values to define an import specification: document standard, document type, document revision, application ID, and trading partner ID. The only required field is the document type. The system uses the following logic to find a specification to apply to a document:
It looks for one with an exact match for document standard, document type, document revision, application ID, and trading partner ID.
It looks for one with matching document standard, document type, document revision, application ID, and a blank trading partner ID.
It looks for one with matching document standard, document type, document revision, and blank application and trading partner IDs.
This lets you set up generic specifications that can apply to all documents of a certain type (and optional standard and revision) regardless of the particular application or trading partner associated with a document.
Register Import Specifications
The key field in Import Specification Maintenance (22.214.171.124) related to QXtend is Process Through QXtend.
Import Specification Maintenance (126.96.36.199)
Enter the name of an external application. Leave blank if you want this specification to apply to all documents of a certain type, standard, and revision without regard to the associated application.
Enter qdoc as the document standard to process documents through QXtend.
Enter a user-defined name for the type of data that is being processed.
Document Revision and Trading Partner ID can be left blank. If they are used, Document Standard, Document Type, Document Revision, and Trading Partner ID must be a unique combination of values.
Import Specification Maintenance, Interface Control Parameters
In the Interface Control Parameters frame, set up incoming processing parameters.
MFG/PRO Destination Procedure
Leave this field blank to process the incoming document through QXtend. When Process Through QXtend is Yes, the system automatically invokes qqqdocpr.p to process the imported document as a QDoc.
Process Through QXtend
Indicate if you want the documents associated with this import specification to be processed using QXI.
No: Documents are processed through user interface emulation or gateway programs.
Yes: Documents are processed as QDocs through QXI.
Note: When this field is Yes, the document is treated as a QDoc regardless of the setting for Process Through User Interface.
Process Through User Interface
Enter Yes to invoke the destination procedure through the CIM Interface. When Process Through QXtend is Yes, this field is assumed to be No.
Import Specification Maintenance, Data Mapping Parameters
In the Data Mapping Parameters frame, enter the user-written mapping program that maps the input data to the QDoc XML format.