X12 864 or X12 997, which will be the formal use for customized error message?

Home Page Forums BizTalk 2004 – BizTalk 2010 X12 864 or X12 997, which will be the formal use for customized error message?

Viewing 1 reply thread
  • Author
    Posts
    • #24253

      I am new to BizTalk. 

      Right now I am working on a project that need to do some validation in SQL SERVER stored procedure and return the customized error message if there are some data is invalid in EDI 210 file.

       

      Anybody please kindly tell me that either X12 864 or X12 997 which one is formal used for sending back the customized error message to client?

       

      Thanks in advance.

    • #24254

      Hi Vincent,

       

         That would be the X12 864 transaction type. X12 997s are used for functional acknowledgements in EDI.

       

         Daniel.

       

      • #24259

        Thanks, Daniel.

        May I ask you another question that it is possible that I could catch the 997
        message in an orchestration which receiving an inbound X12 210?

        If I
        could, I can  manipulate it.

        • #24261

          Hi Vincent,

           

             You can subscribe to the 997 message when it’s disassembled in the EDI Receive Pipeline and passed to the MessageBox. Check out the following MSDN Forum thread for more information on how to do that:

           

          http://social.msdn.microsoft.com/forums/en-US/biztalkediandas2/thread/62686dcf-dbb3-40ad-928d-2e03c64fc8bd/

           

             Daniel.

           

        • #24291

          Perhaps you can manipulate it, but why?  The 997 simply acknowledges that you received the EDI transmission and Biztalk handles all the details for you.  It is not intended to give any information about whether the contents of the transmission were usable.  The 824 message type exists for just that purpose.  If you intercept and modify the 997, then every Biztalk upgrade becomes much harder.  If your vendor changes their EDI software, then you might have problems.  Save yourself all these headaches and let Biztalk send the 997 and then generate and transmit the 824 in an orchestration that receives the 210.  If you use the EDI protocol the way it was intended, you will  have far fewer headaches supporting it.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.