I may need to use the code in this article very soon. I am using BTS 2006 to handle EDI transactions. When things are on the happy path, generating a 997 Ack is easy. It is when the message breaks and will not parse in the flat-file schema that it gets a little sticky. I can take these messages that have been suspended, run them through a “permissive” version of the edi flat-file schema, and then use that instance to create a 997 NAck. That is a possibility I am entertaining anyway.