Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Bank Account Ledger Entry already exists

(0) ShareShare
ReportReport
Posted on by 30

When I am trying to post a sales journal line I am getting this error.

pastedimage1591192040685v2.jpeg

I think it should auto increment. Also three lines are having the same document number in Bank Account Ledger entry. Can this be the cause of the issue?

pastedimage1591192894363v3.png

Any help would be highly acknowledged. Thanks in advance.

  • Suggested answer
    Gulshan Shubham Profile Picture
    Gulshan Shubham 2,200 on at
    RE: Bank Account Ledger Entry already exists

    Do you have any customization done? I have seen many having this issue due to the custonization only. Never occurs with base prosuct.

  • Rabin Profile Picture
    Rabin 2,976 on at
    RE: Bank Account Ledger Entry already exists

    Hello DebKumar,

    Technically speaking, "Document No." field is not a primary key in table "Bank Account Ledger Entry" which means there can be multiple entry with the same Document No. Which also makes sense from a business perspective. In your case there were three bank transaction posted for the same document no.

    Diagnosis

    Coming to your main issue of Posting error:, It seems like  someone posted a manual payment & used that #? or someone manually deleting records from Bank Account Ledger Entry (271) table.

    Solution:

    Delete the record from other related tables associated with the same entry no. .

    Check the records in Tables

    • Detailed Vendor Ledg. Entry (380)
    • Vendor Ledger Entry (25) & also
    • G/L Entry (17)

    Note: If you have technical skills, try turning on Debugger from development environment, it will take you to the root issue. 

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans