The first step while creating a Template is to provide Template definition. The definition includes details, such as name, description, and other information about the Template.
Ensure that you have created an EDI Partner and Data Dictionary.
To provide the definition of a Template:
Click Configure > Templates > Create Template.
On the Create New Template screen, provide the name and description of the Template. The name should be a unique name and can be up to 48 characters long. The description of the Template can be up to 300 characters long.
Click Continue.
Select EDI from the template type, Inbound from the direction, and click Next.
Select the Network for which you are creating the Template. To select multiple Networks from the drop-down list, click on the networks one by one. Only the Partners of the selected Network(s) will be able to access this Template.
Click Next to define EDI settings.
Select the EDI standard from the EDI Standard drop-down list. The available options are X12 and EDIFACT.
- Select the version from the EDI Standard Version drop-down list. This list will have all the EDI versions you have created in the Data Dictionary. You will find 004010 and 005010 as a default EDI version.
- Provide the assigned code in the Association Assigned Code text box.
- On the basis of the selected EDI version, the list of transaction set codes is populated in the Transaction Set Code drop-down list. Select the code from the drop-down list.
Select the indicator from the Test/Production Indicator drop-down list. The available options are T-Test and P-Production.
Select the option from the Generate Acknowledgement drop-down list to generate acknowledgment for the inbound messages sent. Following are the available options:
Option NameDescriptionNo - Do not generate acknowledgments Select this option if you don't want to generate the acknowledgment for the inbound messages sent. Yes - No error detail Select this option to generate the acknowledgment for an inbound message sent without error details. Yes - With error detail Select this option to generate the acknowledgment for an inbound message sent with error details. To send an acknowledgment for the inbound messages received, you need to create an EDI Outbound Transaction either using pre-built EDI Outbound Template or creating a new EDI Outbound Template. While creating an EDI Outbound Transaction, following fields must have the same values provided while creating EDI Inbound Template.
Partner Name
EDI Standard Version
Association Assigned Code
Test/Production Indicator
After you have selected the values in the above fields, select 997 in the Transaction Set Code. Provide the details in the other fields.
Select Compliance Check check box to execute a compliance check on the document.
Expand Translation Properties if you want to set multiple target and mapping from a single source. A Translation is a combination of mapping and target. You will have to set up same number of Destinations (apps and mappings) for the number of translations you select. You can select minimum 1 and maximum 3 translations. For example, if you choose 2 Translations, then while setting up the template you will have to set 2 Destinations (mapping and apps) in 2 different steps.
However, you can select only 1 Translation Property if you have chosen as 997 or 999 Transaction Set Code with Acknowledgment Processing Type set to Reconcile.
- Expand Interchange Properties.
Select the type of sequence checking from the Sequence Checking drop-down list. Following are the available options:
Option NameDescriptionNone
No sequence checking is done on the control number.
Duplicate
Duplicate means inbound document contains duplicate control numbers. If you select this option then control numbers of inbound messages should not be duplicated. In case, control number is duplicated then the inbound message is not processed and an error message is generated in the EDI Interchange inbound log.
Incremental
Incremental means control numbers should be in the incremental order. If you select this option then control numbers of inbound messages should be in the incremental order. In case, control number of any message is not in the incremental order then the inbound message is processed but a warning message is generated in the EDI Interchange Inbound Log.
Chronological
Chronological means control number should be greater than the previous control number. If you select this option then control numbers of inbound messages should be in the chronological order. In case, control number of any message is not in the chronological order then the message is processed but a warning message is generated in the EDI Interchange Inbound Log.
For Incremental and Chronological sequence checking, provide the values in the Use Global Control No check box and Last Used Control No text box. Select Use Global Control No check box to use the control number defined while adding a Partner else provide the last used control number in the text box. The value of the Last Used Control No text box is populated automatically.- Expand Group Properties.
- Functional ID is populated automatically based on Transaction Set Code you have selected.
- Define the sequence checking and control numbers in the similar way as defined in the Interchange Properties.
Expand Document Properties. Define the sequence checking and control numbers in the similar way as defined in the Interchange Properties.
Expand Advanced Properties.
Set the number of transaction sets to process at a time within a group in the Transaction sets Process Count text box, default is 2000.
Set the number of concurrent processes that can run at a time in the Concurrent Processes text box, default is 1.
Click Next to configure template settings.
Field Name Description Data Encoding Character-set encoding for your source data. The available options are UTF-8, UTF-16, UTF-32, and ISO-8859-1. - Click Next to select the Source application.
Next Step