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 or updated.
Consignment EDI (Electronic Data Interchange) Exports allow you to automatically send data from Transvirtual to another location via email, FTP, or other methods.
This article demonstrates a common setup example: sending an email to a customer that includes labels and consignment PDF notes when a consignment is created.
Use this when:
Do not use this when:
For detailed information about EDI export concepts, frameworks, and settings that apply across all export types, refer to Shared EDI Export Concepts.
Ensure the following prerequisites are met:
Step 1: Navigate to the Consignment Export page
A common example for this type of rule is sending an email to a customer that includes labels and a consignment PDF note when a consignment is created.
Step 2: Create a new export rule
The new rule appears in the Export Rules list with an orange background, indicating it is not yet active.
Step 3: Configure the data filter
The data filter defines the conditions under which the rule applies to a consignment.
The applied filter displays as text within the Data Filter section.
To add more filters, repeat the instructions from steps 2 and 3. Each additional filter displays as shown below.
In this example, only the first line of the logic is used, so the rule applies to all customers.
Step 4: Configure the rule details
Rule Name: Update if needed. Use a name that describes what the rule does.
Trigger Period: Controls how often the rule checks for pending exports. Click Settings to adjust. Default is every 2 minutes.
Trigger Event: Defines the event that triggers the export. Select the appropriate option (e.g., Consignment SubEvent).
Single Export Only: Toggle to Yes to prevent duplicate exports of the same data. Toggle to No to allow multiple exports.
Export Framework: Defines the export method (e.g., Email, FTP). Click Settings to configure:
Export Framework Settings
@Model.ConsignmentNumber")Note: Use @Model.ConsignmentNumber to dynamically insert the consignment number into the subject or body.
The Customer Contact emails are based on what has been set up in the relevant Customer Card under the Contact Details tab, as shown below.
For example: If 'General' is selected as the Customer Contact field, when the export triggers against a consignment with Price per 25 Kgs as the customer, it sends to the email listed against the General contact, which is test02@gmail.com.
@Model.ConsignmentNumber) are entered correctlyExport File Type: Select the file format from the dropdown (e.g., Basic CSV/Excel, None). Click Settings to configure:
Note: If only PDFs are needed (no CSV/Excel file), set the file type to None. The PDF settings still apply.
In this example, the file type is set to None because only the labels and consignment note PDF need to be sent — no Excel/CSV file is required. Even though the export file type is set to None, the PDF settings still apply, so the labels and consignment note PDF are still sent.
Step 5: Enable the rule
The rule's background color changes to white, indicating it is active.
Step 6: Test the rule (optional)
Step 7: Delete a rule (optional)
The rule is removed from the database.
Issue: Consignment emails or files are not being sent
Cause: The export rule is disabled or the consignment does not meet the data filter conditions
Resolution:
Issue: Wrong customer receives the email
Cause: Customer contact or Email To field is incorrect
Resolution:
Issue: Labels or PDFs are missing
Cause: Export File Type settings are not configured to include PDFs
Resolution:
Issue: Export works for some consignments but not others
Cause: Data filter conditions are too specific
Resolution: