none
Edi Send Error when sending 997 ack RRS feed

  • Question

  • Hello all, I am facing an integration based x12 <g class="gr_ gr_35 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="35" id="35">EDi</g> 850. I already create the agreement and the parties. In fact, when I tried receiving the message, the message disassembled goes to the database, creates automatically the 997 and the TA1. The problem is when I tried to assemble back to EDI the 997 or the TA1.  Those messages go suspended with an error. Would you give a detailed overview to fix?

    The error goes like this: Agreement Resolution based on the context properties for Protocol has failed

    Thanks

    Thursday, May 18, 2017 11:02 AM

All replies

  • <g class="gr_ gr_4 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" data-gr-id="4" id="4">Hello</g> I just found the problem. I just make a custom pipeline component and fill <g class="gr_ gr_5 gr-alert gr_gramm gr_hide gr_inline_cards gr_run_anim Grammar multiReplace replaceWithoutSep replaceWithoutSep" data-gr-id="5" id="5">this context properties</g>.

       this.NameSpace = "http://schemas.microsoft.com/Edi/PropertySchema";

              

       inmsg.Context.Promote("DestinationPartyReceiverIdentifier" 
                                            , this.NameSpace.ToString()
                                            , ISA06);
                inmsg.Context.Promote("DestinationPartyReceiverQualifier"
                                           , this.NameSpace.ToString()
                                           , ISA05);
                inmsg.Context.Promote("DestinationPartySenderIdentifier"
                                          , this.NameSpace.ToString()
                                          , ISA08);
                inmsg.Context.Promote("DestinationPartySenderQualifier"
                                       , this.NameSpace.ToString()
                                       , ISA07);

                inmsg.Context.Promote("DestinationPartySenderQualifier"
                                     , this.NameSpace.ToString()
                                     , "01");


                inmsg.Context.Promote("AgreementNameForSend"
                                    , this.NameSpace.ToString()
                                    , AgreementName);



                inmsg.Context.Promote("ReceiverPartyNameForSend"
                                    , this.NameSpace.ToString()
                                    , NameOf the messageReceiverIntheAgreement);

                inmsg.Context.Promote("SenderPartyNameForSend"
                                   , this.NameSpace.ToString()
                                   , NameOf the messageSenderIntheAgreement);

    Hope this helps....

    • Proposed as answer by Angie Xu Saturday, May 27, 2017 3:23 AM
    Thursday, May 18, 2017 1:26 PM