4Site
Support Request System
View Patch #50.013.002
Description
Patch ID:
Date Implemented:
Patch Title:
Patch Type:
Request IDs:
Bug
Enhancement
Other
02238 -
Printed cheque has wrong company name.
Symptoms:
The client was setup as multi-org. Prior to adding the 2nd org last month the cheques printed correctly. Now some cheques in the batch are printed with the wrong org.
Solution:
The code in the CK100 proc just got the orgchart with no where clause, so it just got one at random. Most sites have the company name pre-printed on the cheques or hardcoded in the CK100.rpt so it was not noticed. Also, it got the address from the orgchart. In a multi-company setup each company can have its own address so better to get it from company rather than the org. anyway. I also found it was setting up the chartid incorrectly when it got the Codes values for number of lines on the stub. It was using bkaccnt.ouid as the orgunit when it's a badly named field. It's really chartid, not company. 1. it now sets up the chartid and divouid from the bkaccnt and account records. 2. when it updates the master file it gets the orgunit using the chartid and divouid where the equiv=1 (company). In this way it will use the name and address info from the company. The client's CK100.rpt also had the name hardcoded on the stub. I had to change this since it should pick it up from the coname in the result table, the same as on the cheque. Otherwise it would be wrong in the new org.
Browse Patches
Find a Patch
Return to Request System Menu