none
997 NOT Picking the Correct Envelope Settings RRS feed

  • Question

  •  

    I am flowing in an 837I file into my system. I have selected to receive 997 for it. Unforunately the 997 I receive gets has the envelope settings, ISA5 thru 8 properties from the Global Repository and GS02 value from the file. Where am I getting it wrong...I have clearly followed the steps for EDI Solution in the BTS Documentation provided.

    TIA

     

    Please advice:

    Heres the sample 997

    ISA*00*          *00*          *ZZ*BTS-SENDER     *ZZ*RECEIVE-PARTNER*080812*1122*U*00401*000000036*0*T*:
    GS*FA*592015694*THEM01*20080812*1122*36*X*004010X096A1
    ST*997*0036

     

     

    Tuesday, August 12, 2008 3:28 PM

Answers

  • There is actually a bug in BizTalk Server 2006 R2 regarding 997 generation. Read my thread at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3697803&SiteID=1 for more information on this and a hotfix that can resolve it. The global EDI properties are applied when the receive party cannot be resolved. In your case the receive party is probably not getting resolved properly because the 997's ISA or GS values are not getting generated as you would expect them to be.

     

    If you are unable to get the hotfix, you would need to implement a send port that can receive the improperly formed 997 and send it to a folder. Then use a receive port to bring it into an orchestration and set the proper ISA/GS values using an orchestration's expression shape. You will need to reference the BaseArtifacts EDI assembly in the BizTalk folder in order to have access to the EDI context properties. Let me know if any of this does not make sense. Send the corrected 997 out to the port you were originally trying to send it to.

     

    Thanks,

    Tuesday, August 12, 2008 5:24 PM
    Moderator