You are here: Development Standards > Routines > Application-SpecificRoutines > PAVOID.PUB

# PAVOID.PUB

PAVOID.PUB is a public program that voids a payroll check in the PAHCxxx file. It backs the entries out of General Ledger and restores the employee pay data paid by the check. If Payroll is interfaced to Bank Reconciliation, the void is also recorded in the BRTRxxx file.

`0050 ENTER FILE[ALL],MSG$,CHECK$,AMOUNT,RETURN$,CHECKAPP$,DUMMY,BANK$,OSGUI$`

Variable | Description
FILE[ALL] | Standard file array
MSG$ | Returns a message string if a trapped error occurs
CHECK$ | Check number to void; if blank, user will be prompted
AMOUNT | Returns the amount of the check
RETURN$ | Employee ID associated with the check; if blank, user is prompted
CHECKAPP$ | Application ID (PA)
DUMMY | Not used
BANK$ | Bank ID to void check from
OSGUI$ | Template for GUI functions

Exit Points | Explanation
EXIT | PAVOID.PUB does not return any errors.