Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Having eConnect Exception

Posted on by 2,622

Error Number = 7604  Stored Procedure= taBRBankTransactionHeader  Error Description = Originating Debits and Credits do not match (ORDBTAMT <> ORCRDAMT in CM20400)

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Having eConnect Exception

    ]-[!  vikas as per rob  described i think we can try this method.may be it will work for u .....

    in the Transaction Distribution section replace this line of code section

             <taBRBankTransactionDist>

    <Option>1</Option>

    <ACTNUMST>000-1110-00</ACTNUMST>

    <CRDTAMNT>123</CRDTAMNT>

    </taBRBankTransactionDist>

    with

            <taBRBankTransactionDist>

    <Option>1</Option>

    <ACTNUMST>000-1110-00</ACTNUMST>

    <DEBITAMT>123</DEBITAMT>

    </taBRBankTransactionDist>

    the econneect  maintain credit amount with header itself so you don't have to bother about that 

    just update your XML with this

    //----------------------------------------------------------------------------------------------------------------------------------------------

    <?xml version="1.0" encoding="utf-8"?>

    <eConnect xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">

    <BRBankTransactionType>

    <eConnectProcessInfo xsi:nil="true" />

    <taRequesterTrxDisabler_Items xsi:nil="true" />

    <taBRBankTransactionDist_Items>

    <taBRBankTransactionDist>

    <Option>1</Option>

    <ACTNUMST>000-1110-00</ACTNUMST>

    <DEBITAMT>123</DEBITAMT>

    </taBRBankTransactionDist>

    </taBRBankTransactionDist_Items>

    <taAnalyticsDistribution_Items xsi:nil="true" />

    <taBRBankTransactionHeader>

    <Option>1</Option>

    <TRXDATE>1/2/15</TRXDATE>

    <CHEKBKID>PAYROLL</CHEKBKID>

    <CMTrxNum>11640</CMTrxNum>

    <paidtorcvdfrom>vineetSharma</paidtorcvdfrom>

    <DSCRIPTN>testing 124</DSCRIPTN>

    <TRXAMNT>123</TRXAMNT>

    <BACHNUMB>VKBRBAT32253</BACHNUMB>

    </taBRBankTransactionHeader>

    </BRBankTransactionType>

    </eConnect>

    //--------------------------------------------------------------------------------------------------------------------------------------------

    and i think  it must work for you Vikas ....
    Thanks rob .... :) 

  • Vikas Gupta Profile Picture
    Vikas Gupta 2,622 on at
    Re: Having eConnect Exception

    Hi Rob,

    I have tried with the modified XML. but still having same exception. should i need to add one more element  or field in XML "CMTrxType"  for defining the Transaction Type .

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Having eConnect Exception

    Hi Vikas,

    Thanks for this, please find below a modified version of the XML that should work for you:

    <?xml version="1.0" encoding="utf-8"?>

    <eConnect xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">

    <BRBankTransactionType>

    <eConnectProcessInfo xsi:nil="true" />

    <taRequesterTrxDisabler_Items xsi:nil="true" />

    <taBRBankTransactionDist_Items>

    <taBRBankTransactionDist>

    <Option>1</Option>

    <ACTNUMST>000-1110-00</ACTNUMST>

    <CRDTAMNT>123</CRDTAMNT>

    </taBRBankTransactionDist>

    </taBRBankTransactionDist_Items>

    <taAnalyticsDistribution_Items xsi:nil="true" />

    <taBRBankTransactionHeader>

    <Option>1</Option>

    <TRXDATE>1/2/17</TRXDATE>

    <CHEKBKID>PAYROLL</CHEKBKID>

    <CMTrxNum>11657</CMTrxNum>

    <paidtorcvdfrom>vineetSharma</paidtorcvdfrom>

    <DSCRIPTN>testing 124</DSCRIPTN>

    <TRXAMNT>123</TRXAMNT>

    <BACHNUMB>VKBRBAT50483</BACHNUMB>

    </taBRBankTransactionHeader>

    </BRBankTransactionType>

    </eConnect>

    The reason that it was failing when the header was provided is that the header inserts in the debit/credit side of the entry; depending on the option and transaction type provided in the schema:

    The distributions will not have matching debits and credits. eConnect automatically creates the one required distribution.  eConnect sets the type of the default distribution (DefaultDist) based on the values specified by the Option and transaction type (CMTrxNum) elements of the <taBRBankTransactionHeader> XML node. The following table shows the default distribution type for the valid combinations of Option and CMTrxType values:

    Option   CMTrxType DefaultDist

    1 3 Credit

    1 4 Credit

    1 5 Debit

    1 6 Credit

    So when you setup the XML you only need to provide the debit or credit side, depending on the Option/CMTrxType being used.

    Please let me know if you would like any additional information on this issue.

    Regards

    Rob

  • Vikas Gupta Profile Picture
    Vikas Gupta 2,622 on at
    Re: Having eConnect Exception

    Hi Rob,

      Here is my XML schema. please correct me . if there is any thing wrong.  

    <?xml version="1.0" encoding="utf-8"?>

    <eConnect xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema">

    <BRBankTransactionType>

    <eConnectProcessInfo xsi:nil="true" />

    <taRequesterTrxDisabler_Items xsi:nil="true" />

    <taBRBankTransactionDist_Items>

    <taBRBankTransactionDist>

    <Option>1</Option>

    <ACTNUMST>000-1110-00</ACTNUMST>

    <DEBITAMT>123</DEBITAMT>

    </taBRBankTransactionDist>

    <taBRBankTransactionDist>

    <Option>1</Option>

    <ACTNUMST>000-1110-00</ACTNUMST>

    <CRDTAMNT>123</CRDTAMNT>

    </taBRBankTransactionDist>

    </taBRBankTransactionDist_Items>

    <taAnalyticsDistribution_Items xsi:nil="true" />

    <taBRBankTransactionHeader>

    <Option>1</Option>

    <TRXDATE>1/2/12</TRXDATE>

    <CHEKBKID>PAYROLL</CHEKBKID>

    <CMTrxNum>11640</CMTrxNum>

    <paidtorcvdfrom>vineetSharma</paidtorcvdfrom>

    <DSCRIPTN>testing 124</DSCRIPTN>

    <TRXAMNT>123</TRXAMNT>

    <BACHNUMB>VKBRBAT50483</BACHNUMB>

    </taBRBankTransactionHeader>

    </BRBankTransactionType>

    </eConnect>

    Once i remove the Header Section from the XML. it will Successfully integrate the lines.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Having eConnect Exception

    Hi Vikas,

    Thanks for raising this with us. Can you paste in a copy of the XML schema that you are using to import the transactions; we will need to review this to determine why the distributions are unbalanced.

    Regards

    Rob

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans