Functional map

The MapReject functional map produces an output message that says, Error in invoice from: the InterchangeSenderID Element of the ISA, the group control number, and the ISA control number.

The last component of the Error is the Bad810, which is the invalid transaction set.

The input data file in this example contains three invalid transaction sets. The following explains what is wrong.

  • The required TDS segment is missing.
  • The required LineItems Element of the CTT segment is missing.
  • The required InvDate Element of the BIG segment is not a date; it is text that says indate.

The transaction set component of the IE functional group has the restart attribute. Each time an invalid Transaction IE occurs, it is mapped to the error output file. This means an error file that contains three invalid transaction sets is produced.

The audit log file indicates each invalid transaction set. For example, the status code E07 indicates that the transaction set is in error because it contains invalid components.

After you run the map, you can view the results and see the error file that contains the invalid transaction sets.