web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error while creating Bank Transaction using eConnect C#

(0) ShareShare
ReportReport
Posted on by 265

Hi,

I was trying to create a Bank Transaction entry using eConnect in C#. But i was getting the following error.

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

Below is my request XML:

<eConnect xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns="urn:schemas-microsoft-com:datatypes">
<BRBankTransactionType xmlns="">
<eConnectProcessInfo>
<eConnectProcsRunFirst>TRUE</eConnectProcsRunFirst>
</eConnectProcessInfo>
<taBRBankTransactionHeader>
<Option>1</Option>
<CMTrxType>3</CMTrxType>
<CHEKBKID>PETTY CASH</CHEKBKID>
<CMTrxNum>7733</CMTrxNum>
<TRXAMNT>666</TRXAMNT>
<UpdateIfExists>1</UpdateIfExists>
</taBRBankTransactionHeader>
<taBRBankTransactionDist>
<Option>1</Option>
<ACTNUMST>000-1130-00</ACTNUMST>
<DEBITAMT>0</DEBITAMT>
<CRDTAMNT>666</CRDTAMNT>
<UpdateIfExists>1</UpdateIfExists>
</taBRBankTransactionDist>
<taBRBankTransactionDist>
<Option>1</Option>
<ACTNUMST>000-1140-00</ACTNUMST>
<DEBITAMT>666</DEBITAMT>
<CRDTAMNT>0</CRDTAMNT>
<UpdateIfExists>1</UpdateIfExists>
</taBRBankTransactionDist>
</BRBankTransactionType>
</eConnect>

Please help me in resolving this issue.

Categories:
I have the same question (0)
  • yayayayaay Profile Picture
    145 on at

    Hi, is this something you are creating from scratch, or has it run successfully in the past?

  • venkateshmpr Profile Picture
    265 on at

    Hi Arch Stanton,

    Thanks for your response. Yes i was creating it from scratch.

    Thanks and Regards

    Venkatesan

  • yayayayaay Profile Picture
    145 on at

    Hello Venkatesan,

    Ensure that you are including the two fields within your build - of course ORDBTAMT ORCRDAMT in total will need to be equal.   Let me know  if this helps.

  • venkateshmpr Profile Picture
    265 on at

    Thank you Arch Stanton... But the fields ORDBTAMT and ORCRDAMT is not available in their documentation... Is this something which is not in their documentation... Please advise... I refer the documentation provided by GP 2016 eConnect...

    Thanks and Regards

    Venkat

  • yayayayaay Profile Picture
    145 on at

    Hi Venkat,

    That information may not be in their documentation - you may need to manually map this in the mapping file, if that makes any sense?  If not, can you send me a print screen of your mapping file?  Then I can view what you have in progress..

  • Verified answer
    venkateshmpr Profile Picture
    265 on at

    Thank you so much for your kind help Arch Stanton. I found the solution. The problem is in the order of the xml. In the above xml the node taBRBankTransactionHeader is in first place and the node taBRBankTransactionDist is in second place which cause this issue. After swapping this nodes it is working fine without any issue.

    Do you have any idea on how to update the Bank Transaction though eConnect using C#. Please provide any sample if you have.

  • yayayayaay Profile Picture
    145 on at

    Hi,

    I am not a C# guy, so unfortunately I cannot help you... Sorry.

  • venkateshmpr Profile Picture
    265 on at

    Thanks for your help Arch Stanton.

  • yayayayaay Profile Picture
    145 on at

    You are most welcome - although I did not do much.  Feel free to reach out anytime.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans