Overview
While working with CORT Payroll, you may have had to manually change some check numbers, perhaps because the old check numbers were incorrectly listed. You notice that after this change, you are unable to mark these checks as Cleared in CORT Payroll.
Solution
Note: It is recommended that this function be performed by a system administrator or a user with SQL knowledge. If this is not possible, please contact support with the below information:
1. Payroll Numbers
2. Check Numbers
One of our agents will execute this query for you through a remote session.
1. Payroll Numbers
2. Check Numbers
One of our agents will execute this query for you through a remote session.
Follow the steps below in order to directly modify the status of these checks to cancelled in the CORT Payroll Database:
- Open the SQL Server Management Studio (SSMS) and navigate to your CORT Payroll database.
- In SSMS, execute the following queries:
- Verify the details of the checks that need to be cleared/cancelled:
-- Verify checks details
where (payroll like '%XXXX') is used to identify the Payroll number to which these checks are linked, and check_number like 'NNNNN%' is used to identify the check numbers which you are unable to cancel from the UI. Modify these queries as required to get the complete list of all checks. As an example, see below a version of this query and its associated results:
Select CHECK_NUMBER, PAYROLL, CHECK_CLEARED_BANK, NET, DATE_CANCELLED, EMP, CHECK_TYPE, VOIDED
FROM [PYAppRole].CHECKS
where (payroll like '%XXXX')
and check_number like 'NNNNN%'
- As a rollback plan, create a backup of the existing records:
-- Create a backup of the records
Select * INTO [PYAppRole].CHECKS_BK
FROM [PYAppRole].CHECKS
where (payroll like '%XXXX')
and check_number like 'NNNNN%' - Clear the checks and set the cancellation date:
-- Cancel the checks
where the date_cancelled is the date you want the UI to display as the date of cancellation. Once this script is executed, you will get a message stating the number of records that have been updated, e.g. from executing it on the 7 rows above:
UPDATE [PYAppRole].CHECKS
set check_cleared_bank = 'Y', date_cancelled = 'YYYY-MM-DD 00:00:00.000'
where (payroll like '%XXXX')
and check_number like 'NNNNN%'
- Verify the details of the checks that need to be cleared/cancelled:
Testing
1. Verify Cancellation:
- Login to the Check Reconciliation - I program again. Navigate to List > Display Cancelled for Payroll Range:
- In the following window prompt, enter the payroll range for which you modified the check status:
- The range will show the checks that were cancelled using the procedure above. From the same example as previously:
2. Verify that Checks are Cleared:
- Login to the Check Reconciliation - I program again. Navigate to List > Display Outstanding to Date:
- In the following Window Prompt, enter the date that you entered as the cancelled_date in the procedure above, and make sure that the Include Cleared box is unchecked:
- Since the checks are now cleared, they will not show up in the subsequent window that lists outstanding checks.
Comments
0 comments
Please sign in to leave a comment.