Announcements
When I am trying to post a sales journal line I am getting this error.
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?
Any help would be highly acknowledged. Thanks in advance.
Do you have any customization done? I have seen many having this issue due to the custonization only. Never occurs with base prosuct.
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
Note: If you have technical skills, try turning on Debugger from development environment, it will take you to the root issue.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156