Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bank reconciliation calculates the allocated amount incorrectly if the same bank account is in multiple entries in the same Journal Entry #41371

Open
IMS94 opened this issue May 8, 2024 · 0 comments
Labels

Comments

@IMS94
Copy link
Contributor

IMS94 commented May 8, 2024

Information about bug

We have a scenario where several journal entries had been created with the same bank account being used in multiple entries in the same journal entry. When reconciling a bank transaction against this journal entry, the allocated amount in the bank transaction for this journal entry is calculated incorrectly.

For example, we have the following journal entry:
Screenshot from 2024-05-08 09-22-40

We select $3.38 as the allocated amount for the journal entry.
image (7)

But it has allocated $3.27 ultimately against the journal entry in the bank transaction
image (6)

I looked at this from the code level, and we haven't considered this scenario in the code:

def get_clearance_details(transaction, payment_entry):

Module

accounts

Version

Frappe version - 14
ERPNext version - 14.66.1

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

@IMS94 IMS94 added the bug label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant