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

# JOFINDJO.PUB

JOFINDJO.PUB is a public program that will audit application data files for job cost and phase usage. All data files that can contain a job and phase are checked in this program.

If a file is found to have the specified job or job/phase, a message is returned in MSG$.

`ENTER FILE[ALL],JOB$,PHASE$,MSG$`

Variable | Description
FILE[ALL] | Standard file array
JOB$ | Job ID being checked
PHASE$ | Phase ID being checked
MSG$ | Message returned to calling program

Exit Points | Explanation
EXIT | JOFINDJO.PUB normally exits with no error.

JOFINDJO.PUB will check the following files: for Job and Phase usage:
Accounts Payable - APMDx, APRL, APTDx
Accounts Receivable - ARTDx
Payroll - PACEx, PATPx, PATRx, PAREx
Purchase Order - POORx
Sales Order - SOTDx