Consignment Import (EDI)

Consignment Import (EDI)

OVERVIEW 

Transvirtual provides the ability to create EDI (Electronic Data Interchange) Import rules that enable consignment creation without using the standard consignment creation page in the Transvirtual Web Portal. This feature is particularly valuable when creating large volumes of consignments efficiently.

Navigate to: Import/Export > Data Import > Consignment Import

STEP-BY-STEP INSTRUCTIONS

1. Go to the Consignment import settings page and click on Add Import Rule, a pop-up to create a new import rule will display as shown below.


2. On Create a new import rule screen, fill the detail as describe below:
      a. Rule Name:  Enter a descriptive name that reflects the rule's purpose 
         Example: "Consignment Creation Import via Email"

      b. Import Framework: This is the method which this EDI rule will utilize to import the consignments. For this example we are going to set this as Email. 

3. Once fill the detail, click on the Create button and you will now see your EDI rule appear in orange color in the list, indicating that it is not yet active, now click on the rule and the rule detail will display on the right side of the page as shown below.

4. Now, update the detail as describe below:
      a. Rule Name: The rule name should already be populated. You can modify it if needed to better reflect the rule's purpose.
      b. Import Framework: This is how the consignments will be created. For this example, we are using email, which means that a file in the format of the Import File Type, will need to be sent as an attachment to the email address listed for this rule. The email listed needs to be a Transvirtual email. To generate/identify what email should be used for this process, click the Settings button next to this field, a pop-up View the Email Settings for this import rule will display as shown below.

 




Info
This generated email address MUST be used as the recipient when sending import files. Share this email address with staff or customers who will be creating consignments via this method.

      c. Import File Type: Select the file format that will be used for creating consignments. The most commonly used format is CSV (Comma-Separated Values).

NotesInfoSetting the Import File Type as CSV means the file sent via email MUST be a CSV file. Any other file type will result in import failure.
      Import File Type Setting: In addition to setting the Import File Type as CSV, we also need to map the columns that will be in the file (CSV files look very similar to an excel worksheet/file). Without any column mapping, Transvirtual is unable to determine what information belongs where and any imports would be unsuccessful. To add/edit the column mapping, click on the Settings button and then you can edit the CSV file setting where you can adjust the columns required as shown below.

                                                                              
 
          Now, update the setting as below:
            i. Delimiter Char: This is the character that will be used to separate the columns in the CSV. Typically, commas (", ") are used in CSV files, if needed you can use other characters
For this example, we are using a comma.
            ii. Toggle: The set of toggles in the middle of this window can be used if required. Each toggle has different functions. The top one will ignore the first row of a CSV file. The reason you would do it, because you may have a row of column headings in your file. For this example, we are going to set this toggle to YES. 
The other commonly used toggle here is the Skip if Job Already Exists toggle. Enabling this toggle simply means that once a consignment has been created, no future EDI imports can be used to update the information on it. This can be toggled if required, but for this example, we are going to set as NO.
            iii. Column Mapping: This will list the columns that should appear in your CSV file, from left to right. To add mapping to this rule, click and select the relevant fields from the column selector field or you can remove any existing column by clicking on cross icon. 
NotesIf there is not a selection for everything. In this case you can use the "xignore" column to ignore the required column.
Info
The column mapping in this EDI Import rule MUST EXACTLY MATCH the columns in your CSV file from left to right. Any mismatch will cause the import to fail.
            iv. Transformation Code: This is a numeric value that can be used to map complex CSV files. This is not typically required, but if needed, you will need to talk to the Transvirtual staff to implement. In this example, we are going to leave this field blank.
             v. Once your mapping has been setup, click the Update button to save the changes. 
      d. Customer (Optional): This field is used so that you don't need to specify a Customer Name in the CSV file.  Here, if you select the customer then any consignments created via this EDI rule will belong to this selected customer. For this example, we will keep it blank.
This field acts as a backup Customer Name. If you forget to include a Customer Name in the CSV file, this value will be used for any rows missing a Customer Name.
      f. Agent/Supplier (Optional): This field can be used to specify an Agent/Supplier that will be listed against consignments created via this EDI rule.
InfoThis may be handy for situations where the same Agent/Supplier ALWAYS does the delivery or pickup for these jobs.  For this example, we are going to leave blank.
      g. Leave the remaining fields blank unless you need to change the default Date/Time, UOM (Length, Cubic Weight, or Height), or Weight formats. For example, if dimensions are provided in millimetres instead of meters, set the UOM to mm so the system converts it to meters when the consignments are created. 
The Timezone should also be set accordingly.
      h. Once the details for this rule have been configured, now enable the rule using the Enable Import toggle and then click on Update to save the changes.
 
i. This Import rule is now active and will appear in white in your list.

IMPORTANT 

From here, the next step is to provide the email address linked to this rule (found by clicking the Settings button next to Import Framework) to the Customer that will be using this rule to create consignments in your account. Once they have been provided the correct email, the file they send with the email MUST be in the format specified in the settings of this rule.
1. For this example, the file type is listed as a CSV, meaning that the attached file they send to the Transvirtual email MUST be a CSV, otherwise, the import will not work, and the consignments will not be created. 
2. The columns listed in the file MUST be the exact same as those listed in the Import File Column Mapping. Below is an example of what the file could look like for this setup.

3. Ensure the columns listed match what is in the Import Mapping. Save the file as a .csv file type and attach this to an email and click on send button to send the email to the email listed for this import rule as shown below.


4. A few minutes later, the consignments will be created in your account, provided there are no errors with the file type or column mapping. If needed, you can check for newly created consignments via the Consignment Search page (Transport > Operational Task > Consignment) or by using the Import History page (Import/Export > Administration > Import History, and Search for Rule Name and double-click on the appropriate rows to see what consignment numbers may have been created via this rule). The Import History page will also display whether an Import has been successful or not.
Alert
If you are creating an import rule and the Import Framework is Remote FTP, and if the rule has not downloaded any files in 3 months or longer, the rule will get automatically disabled. If this occurs, you will not be able to use the rule anymore and will need to re-create the rule (creating a new rule with the same settings).

NOTE

If you encounter any issues or have questions, contact TransVirtual support:



RELATED ARTICLE:

For more detailed information about shared EDI import concepts, visit:



    • Related Articles

    • Photos and Images Import (EDI)

      OVERVIEW In Transvirtual there is the ability to import photos and images and attach them to relevant consignments. This is done by creating an EDI (Electronic Data Interchange) Import rules in your account that can accept information via Email, FTP ...
    • Shared EDI Import Concepts

      Shared Import Concepts The import framework within TransVirtual allows you to import your data in a number of ways. This framework will expand as technology develops. There are 6 import frameworks as below. Remote FTP TransVirtual Hosted FTP Server ...
    • Scan Import (EDI)

      OVERVIEW In Transvirtual there is the ability to setup Scan EDI (Electronic Data Interchange) Import rules that can import scan data relating to consignments. These imports can be setup to receive information via FTP, Email, etc. This article will ...
    • Consignment Export (EDI)

      SUMMARY / PURPOSE Use this article to automatically export consignment data from Transvirtual using EDI rules. This guide explains how to send consignment details, labels, and documents to customers or external systems when consignments are created ...
    • Customer Service Ticket Export (EDI)

      SUMMARY / PURPOSE Use this article to automatically export Customer Service Ticket information from TransVirtual using EDI rules. This guide explains how to notify customers or staff when tickets are created or updated, ensuring issues are ...