Collapse AllExpand All

6. How to Create Reusable EDI Profiles

This section provides recommendations on how to configure xTuple Connect to send EDI. The example EDI Profile we created in Section 3.2, “Create a Simple EDI Profile” of Chapter 4, Basic EDI had significant limitations:

  • The email address of the recipient was fixed

  • The salutation in the message body was specific to this one customer—"Dear Tremendous Toys,"

  • The text of the message body was specific about the Document Type—"Attached please find a current invoice"—but did not provide the Invoice Number

  • The Profile had only one EDI Form—it could only be used to send Invoices

Then, in Section 1.2.2, “Defining New EDI Tokens”, we looked at ways to make EDI Profiles more flexible by finding and using document-specific information such as document numbers and appropriate email addresses in an EDI Profile.

Here are some suggestions on how to build a set of EDI Profiles that is flexible enough to do what you need without creating more EDI Profiles than you can manage.