An employee has filed for expense claim at different times and payment has been made at different times.
The general ledger for the employee is attached below:
I too agree upon same, I have also faced similar issue. For example - Lets say you were creating payment entry (PAY-2022-00090) against one expense (HR-EXP-2022-001) claim but due to workflow the payment is not submitted and someone tries to create another payment entry (PAY-2022-00092) for same expense claim (HR-EXP-2022-001).
And now submit both the payment entry in bulk. It is allowing to submit payment more than expense amount which should be not allowed.