none
how to configure the 997 acknowledgement of version 4010 to the sender party RRS feed

  • Question

  • hi all

    i have a typical scenario, where in i have a party receiving 4020 - 214 transaction set from a trading partner.

    as of now i am sending a 4020- 997 ack for this party. now the party is requesting to send 4010 - 997 ack.

    that can be easily done with the configuration.

     But our focus is that in future if the party request some another version of ack apart from the existing i.e 4020 997 we do not want it to be done through configuration. Is there any other alternative so as to accomplish this. i.e with out changing the configuration to use different version of 997.
    Thursday, December 10, 2009 7:19 AM

Answers

  • Hi,

    Are you open for custom pipeline componet. If yes, you need to replace the ISA12. We had a similar scenario where we were receiving 00503 version from the client and we needed to change the version to 00502 as 00503 is not supported in BizTalk Server 2006R2. We achieved this by replacing ISA12 value using the custom receive pipeline. Below is the code snippet for replace. You may need to implement same at the send side.
    //Replace the ISA12
                            string[] splitEDI = outboundEDI.Split(new Char[] { '*' });
                            if (splitEDI.Length > 0 && splitEDI[12] != null)
                            {
                                int controlVersion = System.Convert.ToInt32(splitEDI[12].ToString());
                                if (LAST_VERSION != controlVersion)
                                {
                                    outboundEDI = outboundEDI.Replace(("U*" + splitEDI[12].ToString()), "U*00502");
                                }
                            }

    Vishnu
    • Proposed as answer by R Sid Friday, December 11, 2009 4:06 PM
    • Marked as answer by Andrew_ZhuModerator Thursday, December 17, 2009 2:07 AM
    Friday, December 11, 2009 1:15 PM

All replies

  • Hi,

    Are you open for custom pipeline componet. If yes, you need to replace the ISA12. We had a similar scenario where we were receiving 00503 version from the client and we needed to change the version to 00502 as 00503 is not supported in BizTalk Server 2006R2. We achieved this by replacing ISA12 value using the custom receive pipeline. Below is the code snippet for replace. You may need to implement same at the send side.
    //Replace the ISA12
                            string[] splitEDI = outboundEDI.Split(new Char[] { '*' });
                            if (splitEDI.Length > 0 && splitEDI[12] != null)
                            {
                                int controlVersion = System.Convert.ToInt32(splitEDI[12].ToString());
                                if (LAST_VERSION != controlVersion)
                                {
                                    outboundEDI = outboundEDI.Replace(("U*" + splitEDI[12].ToString()), "U*00502");
                                }
                            }

    Vishnu
    • Proposed as answer by R Sid Friday, December 11, 2009 4:06 PM
    • Marked as answer by Andrew_ZhuModerator Thursday, December 17, 2009 2:07 AM
    Friday, December 11, 2009 1:15 PM
  • Srismiles,

    Vishnu's answer will likely solve the technical side of the issue, but why is you trading partner asking you to verify a 4020 document with a 4010 acknowledgement?

    What EDI system are they using that doesn't process acknowledgements in the same version as the documents they are sending? Are you sending any 4020 documents (990, 824, 210, etc) that they acknowledge, and if so what format is their 997 (4020 or 4010)?

    • Edited by R Sid Thursday, May 1, 2014 2:59 PM
    Friday, December 11, 2009 4:17 PM