Fix starting number issue and constraint error upon posting in Pay Voucher

Issue No: AP-6463
Created 11/12/2018 2:16:45 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.1, 18.3
Description *Steps* :   Please see below:     Vid1   * Steps: # Go to Pay Voucher # Select voucher to pay (add discount in 1 detail) # Post # Create new voucher > Post > Pay (error in starting number appears here) # Go Pay Voucher > select voucher to pay > Post (constraint error appears here)     Vid2   * Steps # Execute the starting number script # Go to Pay Voucher # Select vouchers to pay > Post (posting successful) # Select vouchers to pay (add discount in 1 detail) # Post # Create new voucher > Post > Pay (error in starting number appears here) # Go Pay Voucher > select voucher to pay > Post (constraint error appears here)     *Issue* :   Error in starting number and constraint error keeps on happening     *Accepted* :   Prevent this from happening   Fix starting number issue   Fix constraint error in Pay Voucher posting (possible caused by the starting number issue)