4Site
Support Request System
View Patch #50.012.012
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
02221 -
Cheque numbers get skipped if more than 10 vouchers on a stub
Symptoms:
Any cheque with more than 10 vouchers per stub seemed to skip a cheque number. This is since the patch to allow the number of stub lines to be specified - patch 40.034.004
Solution:
The @invnum variable for the number of lines per stub was declared as a float. It should be an int. The float caused the next cheque number calculation to have a decimal qty sometimes eg. 193.6 in my case. So instead of using chq 193 it used 194. Also, one place in the PrintChq.sql was checking if number of lines > 10 then set it to 20. It should check > 20.
Browse Patches
Find a Patch
Return to Request System Menu