SPE Pack for Supply Chain EDI samples

The SPE Pack for Supply Chain EDI includes sample deenvelope and envelope tests for EDIFACT, X12 and TRADACOMS.

EDIFACT deenvelope and envelope tests

The EDIFACT sample tests are based on the batchfile.txt file that is in the install_dir\examples\edi\edifact directory.
The samples run these EDIFACT tests:
  • A deenvelope test that uses good data input file,
    edifactin-multi.txt.
  • A deenvelope test that uses bad data input file,
    edifactin-multi-bad.txt.
  • An envelope test that uses good data input file
    poin-multi.txt.

X12 deenvelope and envelope tests

The X12 sample tests are based on the batchfile.txt file that is in the
install_dir\examples\edi\x12 directory.
The samples run these X12 tests:
  • A deenvelope test that uses good data input file,
    x12in-multi.txt.
  • A deenvelope test that uses bad data input file, x12in-multi-bad.txt.
  • An envelope test that uses good data input file, poin-multi.txt.

TRADACOMS deenvelope and envelope tests

The TRADACOMS sample tests are based on the batchfile.txt file that is in the install_dir\examples\edi\tradacoms directory. The samples run these TRADACOMS tests:
  • A test that creates a valid TRADACOMS ACKMNT message. This test uses Test-ACKMNT.dat.
  • A test that creates a valid TRADACOMS CREDIT message. This test uses Test-CREDIT.dat.
  • A test that creates valid TRADACOMS INVOIC messages. These test use
    Test-INVOIC-a.dat,
    Test-INVOIC-b.dat,
    Test-INVOIC-c.dat.
  • A test that creates a valid TRADACOMS PAYINT message. This test uses Test-PAYINF.dat.