B2B Gateway > Partners > Create partners for custom files with Intelligent Structure Discovery
  

Create partners for custom files with Intelligent Structure Discovery

Create partners for exchanging custom files Intelligent Structure Discovery.
When you create a partner for custom files Intelligent Structure Discovery, you configure general partner properties, select a message structure for a sample custom input file, and define an inbound flow, an outbound flow, or both.
Before you create a partner, verify that you have completed the required prerequisites.

Before you begin

Before you create a partner for custom files with Intelligent Structure Discovery, complete the following prerequisites:

Creating a partner for custom files with Intelligent Structure Discovery

Create a customer in the New Customer wizard, or create a supplier in the New Supplier wizard.
    1Click New and select Partners > Customer or Partners > Supplier, as applicable.
    The New Customer or New Supplier wizard appears.
    2In the General page enter the partner name and number and then, from the File Type list, select Custom. Verify that Use intelligent structure discovery is selected and then click Next.
    The Messages page appears.
    3Click Select Structure and choose a message structure. Click Select, and then click Next.
    The Inbound page appears.
    4To define an inbound flow, perform the following steps:
    1. aSelect the connection type for the flow and configure connection details.
    2. bIf you selected the Advanced FTP V2, Advanced FTPS V2, or Advanced SFTP V2 connection type, select the connection where B2B Gateway creates files for the partner and the action that B2B Gateway performs on the files after pickup.
    3. cIf you selected the File Servers connection type, you can select a file transfer task in the Pre-Process area and define the task variables. You can select one of the following file transfer tasks:
    4. Name
      Description
      Decrypt
      Decrypts files that the partner uploads to the file server before the files are sent to B2B Gateway. For more information, see Decrypt.
      Decompress
      Decompresses files that the partner uploads to the file server before the files are sent to B2B Gateway. For more information, see Decompress.
    5. dIf applicable, select a process-to-backend mapping and the location where B2B Gateway saves the mapping.
    6. eIf the mapping contains parameters, optionally enter parameter values in the Mapping Parameters list.
    7. fDefine a schedule for the flow.
    8. gClick Next.
    The Outbound page appears.
    Tip: If the outbound flow uses the same connection as the inbound flow, and the connection type is File Servers, Local Folder/MFT, FTP Client, or SFTP Client, click Copy Details from Inbound to populate the Outbound page with details that you entered in the Inbound page and then edit the outbound details, as required.
    5To define an outbound flow, perform the following steps:
    1. aSelect the connection type for the flow and configure connection details.
    2. bIf you selected the Advanced FTP V2, Advanced FTPS V2, Advanced SFTP V2, or AS2 Client connection type, select the connection where B2B Gateway creates files for the partner.
    3. cIf you selected the File Servers connection type, you can select a file transfer task in the Post-Process area and define the task variables. You can select one of the following file transfer tasks:
    4. Name
      Description
      Encrypt
      Encrypts files that you send to the partner before they are upload to the file server. For more information, see Encrypt.
      Compress
      Compresses files that you send to the partner before they are upload to the file server. For more information, see Compress.
    5. dSelect a process-from-backend mapping and the location where B2B Gateway saves the mapping.
    6. eIf applicable, select an outbound mapping and the location where B2B Gateway saves the mapping.
    7. fIf the mappings contain parameters, optionally enter parameter values on the Mapping Parameters lists.
    8. gDefine a schedule for the flow.
    9. hClick Save.
    The partner you created shows on the Explore page.

Partner properties for custom files with Intelligent Structure Discovery

Use the partner wizard to create or edit a partner. A partner can be either a customer or a supplier.
The partner wizard contains the following pages for custom files with Intelligent Structure Discovery:
General page
Define partner details and message interchange details.
Messages page
Add intelligent structures to process partner messages.
Inbound page
Define the connection to use for the inbound flow, select a file transfer task if applicable, select a process-to-backend mapping if applicable, and define the schedule by which the flow runs.
Outbound page
Define the connection to use for the outbound flow, select a file transfer task if applicable, select a process-from-backend mapping, select an outbound mapping if applicable, and define the schedule by which the flow runs.

Partner general properties for custom files with Intelligent Structure Discovery

Use the General page of the partner wizard to define basic partner properties.
The General page includes the following properties for custom files with Intelligent Structure Discovery:
Customer or Supplier Name
Name of the partner. The name can contain up to 30 characters and must be unique in the organization and can be used either for a customer or for a supplier, not for both. The name can contain alphanumeric characters, symbols, and special characters, and must not contain angled brackets (< or >).
Customer or Supplier Number
Number of the partner. The number can contain up to 15 characters and must be unique in the organization. The number can contain alphanumeric characters, symbols, and special characters, and must not contain angled brackets (< or >).
Tip: Use a number that identifies the partner in your organization.
File Type
Type of files to exchange with the partner. Select Custom.
Use intelligent structure discovery
Must be enabled.

Partner messages properties for custom files with Intelligent Structure Discovery

Use the Messages page of the partner wizard to select a message structure for a sample custom input file.
The Messages page shows the list of selected message structures, and includes the following properties:
Names
Name of the message structure. The name can contain alphanumeric characters, symbols, and special characters, and must not contain angled brackets (< or >).
Description
Description of the message structure. The description can contain alphanumeric characters, symbols, and special characters, and must not contain angled brackets (< or >).
Select Structure
Click Select Structure, select a structure in the Select Structure page, and then click Select.

Partner inbound properties for custom files with Intelligent Structure Discovery

Use the Inbound page of the partner wizard to define the inbound flow for the partner.
The Inbound page can include the following properties for custom files with Intelligent Structure Discovery:
Connection
The Connection area includes the following properties:
Connection Type
Select the type of the connection from where B2B Gateway picks up files. You can select the following connection types:
Connection
Connection where B2B Gateway creates files for the partner. Applies to the Advanced FTP V2, Advanced FTPS V2, and Advanced SFTP V2 connection types.
You configure connections in Administrator. For information about configuring the connections, see the respective connector guides.
File Server User
The file server user name for the partner from whom you receive files. Applies to the file servers connection type.
You create file server users in Administrator. For information about creating file server users, see the Administrator help.
Host
Host where the files that B2B Gateway picks up are located. Applies to the Local Folder/MFT, FTP Client, and SFTP Client connection types.
Port
Port where the files that B2B Gateway picks up are located. Applies to the Local Folder/MFT, FTP Client, and SFTP Client connection types.
Source Directory
Path to the directory on the connection from where B2B Gateway picks up files. Applies to the Local Folder/MFT, FTP Client, and SFTP Client connection types.
File Pattern
Pattern that defines the names of the files that B2B Gateway picks up. The pattern must be a Java regular expression.
For example:
To pick up all files enter .*
To pick up only files that start with ab enter ab\S.*
Tip: After you configure the connection click Test Connection to test and validate the connection.
File Pattern
Select the file pattern type to pick up.
After File Pickup
Action that B2B Gateway performs on the files after pickup. Applies to the Advanced FTP V2, Advanced FTPS V2, and Advanced SFTP V2 connection types.
Choose one of the following options:
Delete files on source after pickup
Determines whether or not B2B Gateway deletes files after pickup. Selected by default. Applies to the Local Folder/MFT, FTP Client, and FTPS Client connection types.
Pre-Process
Optionally, select a file transfer task to run actions on files that you receive from the partner. Applies to the file servers connection type.
You can select one of the following file transfer tasks:
Name
Description
Decrypt
Decrypts files that the partner uploads to the file server before the files are sent to B2B Gateway. For more information, see Decrypt.
Decompress
Decompresses files that the partner uploads to the file server before the files are sent to B2B Gateway. For more information, see Decompress.
Processing
The Processing area includes the following properties:
Schedule
Schedule by which to run the flow. Select one of the following options:

Partner outbound properties for custom files with Intelligent Structure Discovery

Use the Outbound page of the partner wizard to define the outbound flow for the partner.
The Outbound page can include the following properties for custom files with Intelligent Structure Discovery:
Copy Details from Inbound
Populates the fields in the Outbound page with the details that you entered in the Inbound page. You then edit the fields in the Outbound page as required. Applies to the File Servers, Local Folder/MFT, FTP Client, and SFTP Client connection types.
Connection
The Connection area includes the following properties:
Connection Type
Select the type of the connection where B2B Gateway creates the files for the partner. You can select the following connection types:
Connection
Connection where B2B Gateway creates files for the partner. Applies to the Advanced FTP V2, Advanced FTPS V2, Advanced SFTP V2, and AS2 Client connection types.
You configure connections in Administrator. For information about configuring the connections, see the respective connector guides.
File Server User
The file server user name for the partner from whom you receive files. Applies to the File Servers connection type.
You create file server users in Administrator. For information about creating file server users, see the Administrator help.
Host
Host where B2B Gateway creates the files. Applies to the Local Folder/MFT, FTP Client, and SFTP Client connection types.
Port
Port where B2B Gateway creates the files. Applies to the Local Folder/MFT, FTP Client, and SFTP Client connection types.
Target Directory
Path to the directory on the connection where B2B Gateway creates the files.
Pattern Type
Select the file name pattern type to create.
Pattern Type
Select the file name pattern type to create.
File Pattern
Select the outbound acknowledgment file name pattern.
For example:
($eventId).edi
The patterns are not case sensitive. For more information about the file patterns that you can use in the outbound flow definition, see File Patterns.
Post-Process
Applies to the file servers connection type. Optionally, select a file transfer task to run actions on files that you send to the partner. You can select one of the following file transfer tasks:
Name
Description
Encrypt
Encrypts files that you send to the partner before they are upload to the file server. For more information, see Encrypt.
Compress
Compresses files that you send to the partner before they are upload to the file server. For more information, see Compress.
Processing
The Processing area includes the following properties:
Schedule
Schedule by which to run the flow. Select one of the following options: