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:
  • yayayayaay Profile Picture
    yayayayaay 145 on at
    RE: Error while creating Bank Transaction using eConnect C#

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

  • venkateshmpr Profile Picture
    venkateshmpr 265 on at
    RE: Error while creating Bank Transaction using eConnect C#

    Thanks for your help Arch Stanton.

  • yayayayaay Profile Picture
    yayayayaay 145 on at
    RE: Error while creating Bank Transaction using eConnect C#

    Hi,

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

  • Verified answer
    venkateshmpr Profile Picture
    venkateshmpr 265 on at
    RE: Error while creating Bank Transaction using eConnect C#

    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
    yayayayaay 145 on at
    RE: Error while creating Bank Transaction using eConnect C#

    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..

  • venkateshmpr Profile Picture
    venkateshmpr 265 on at
    RE: Error while creating Bank Transaction using eConnect C#

    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
    yayayayaay 145 on at
    RE: Error while creating Bank Transaction using eConnect C#

    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
    venkateshmpr 265 on at
    RE: Error while creating Bank Transaction using eConnect C#

    Hi Arch Stanton,

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

    Thanks and Regards

    Venkatesan

  • yayayayaay Profile Picture
    yayayayaay 145 on at
    RE: Error while creating Bank Transaction using eConnect C#

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,375 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans