Discount applied on both payments when batch posted

Issue No: AR-1892
Created 10/8/2015 11:31:43 PM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 15.3
Description Encountered on 15.3.1008.496   + *Issue* +:   - discount is applied on both payments when posted using batch posting.   + *Acceptance* +:   - apply the discount on the latest payment that will make the invoice paid   - in batch posting, is there a particular order when posting the transaction? If there is, I suggest posting should start with the older transactions.   + *Steps* +:   - make partial payment 1. Do not post.   !pastedImage_d45046_0.png! - make partial payment 2 for the same invoice. Do not post.   !pastedImage_d45046_1.png! - open batch posting and post the 2 payments. Result: Successful   !pastedImage_d45046_2.png! - Verify the GL entries !pastedImage_d45046_3.png! - when you create a new Receive Payments Detail for the same customer, there is a negative amount due for the same invoice !pastedImage_d45046_4.png!