4Site
Support Request System
View Patch #50.012.017
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
02224 -
Cheque Writer de-selects all vouchers for vendor if negative cheque
Symptoms:
There are several odd things happening with the cheque creation to do with negative values: 1. If you have a mixture of separate and combined cheques for a single vendor and the combined results in a negative amount then the entire list of vouchers for that vendor was being cleared. It should just clear the combined ones. 2. If the list wasn't sorted by supplier then the de-selecting of vouchers on a negative cheque stopped as soon as the supplier changed. This left some selected that shouldn't be. 3. The net total at the bottom was not updated if vouchers were de-selected. You could also hit the situation where the batch creation was cancelled but the total at the bottom was left as a negative amount. The new total then started from that point so it looked strange. 4. Lincoln wanted to go back and change the selection instead of letting 4Site automatically de-select all the vouchers. 5. They wanted their selection criteria saved in the Save Batch. It currently just saves the vouchers selected.
Solution:
1. It now checks to ensure it only de-selects vouchers on a combined cheque. I also changed it to only look at those that were selected in the first place to make it go faster. 2. It goes through the entire list but only checks for de-selecting if the grid supplier is the current cheque's supplier. 3. As vouchers are de-selected the total is updated 4. I added a new msgbox that tells the user the cheque has a negative total and asks if he/she wants to go back and fix it themselves. If the answer is Yes then it exits the batch creation, leaving the original check marks as is. If they say No then it carries on and will ask if they want to clear the negative amount as it did before. 5. In cmdSave it now saves the separate cheque flag. It will not save the Hold flag. When it was set on the grid initially it would've set the flag on the voucher and you can't select held vouchers. So if the batch is recalled it will take the current setting from the voucher or supplier. cmdRecall will restore the saved values.
Browse Patches
Find a Patch
Return to Request System Menu