Transaction Set

« Back to Glossary Index

Transaction Set


The Transaction Set is a crucial component in Electronic Data Interchange (EDI), facilitating the transmission and receipt of information necessary to conduct a business transaction or a portion thereof.

Use case:

One use case of the Transaction Set is in the logistics industry, where carriers and transportation companies utilize EDI to exchange information related to shipment and delivery of goods. The Transaction Set can contain details such as product information, quantity, units of measurement, shipping and destination addresses, as well as other transaction-specific details. This information is organized in a standardized format within the Transaction Set and can be transmitted between various parties involved in the supply chain.

Example of script code:

import EDIconnect

# Creating and configuring the EDI connection object
connection = EDIconnect.Connection(“username”, “password”)

# Creating a transaction set
transaction_set = EDIconnect.TransactionSet()
transaction_set.set_header(“TRANSACTION_NUMBER”, “MESSAGE”)
transaction_set.add_data(“Transaction details here…”)

# Adding the transaction set to the functional group
functional_group = EDIconnect.FunctionalGroup()

# Adding the functional group to the transaction
transaction = EDIconnect.Transaction()

# Sending the transaction to the recipient

# Waiting for and receiving the acknowledgment from the recipient
acknowledgment = connection.receive_acknowledgment()
if acknowledgment.is_successful():
print(“Transaction received successfully.”)
print(“Transaction failed or was rejected.”)

Best practices:

  1. Adhere to relevant EDI standards for formatting and structure of the Transaction Set.
  2. Validate and verify the data included in the Transaction Set to ensure correctness and completeness.
  3. Properly configure connection and authentication parameters in the EDI platform to facilitate the transmission and receipt of the Transaction Set.
  4. Monitor the sending and receiving process of the Transaction Set closely to promptly detect and address any errors or issues.

To efficiently implement and manage Transaction Sets and other aspects of EDI, the EDIconnect platform offers a comprehensive EDI solution. This platform provides advanced functionality for transmitting, monitoring, and managing EDI transactions, as well as powerful tools for data flow administration.


« Back to Glossary Index