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

# APVOID.PUB

APVOID.PUB is a public program that sets up to void a check from AP. This program is called from within Bank Reconciliation Transactions if the check to be voided is from Accounts Payable.

`0050 ENTER FILE[ALL],MSG$,CHECKNO$,AMOUNT,RETURN$,A$,DATE,BANKID$,OSGUI$`

Variable | Description
FILE[ALL] | Standard file array
MSG$ | Returns a message string if a trapped error occurs
CHECKNO$ | Check number to void; if blank, user will be prompted
AMOUNT | Returns the amount of the check
RETURN$ | Vendor ID associated with the check; if blank, user is prompted
A$ | Application ID (AP or PO)
DATE | Date of the check; if blank, the user will be prompted
BANK$ | Bank ID to void check from
OSGUI$ | Template for GUI functions

Exit Points | Explanation
EXIT | APVOID.PUB does not return an error.