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

# ARPRIOP.PUB

ARPRIOP.PUB is a public program that OPENs files and DIMensions the string templates used in invoice printing.

`0025 ENTER FILE[ALL],HEAD$,DATA$,O2$,T$,PLP,ONLINE,TRAN_LEN,HEAD,KITON,STAT$,XXTB$,OSQE$,OSQA$,`
`0025:OSQT$,ARCUUD$,ARCUEM$,RMRA$,RMRH$,OSSE$,OSCN$,RMES$,MSG$`

Variable | Description
FILE[ALL] | Standard file array used for the data file channel numbers
HEAD$ | String template for invoice header printing
DATA$ | String template for invoice line item printing
O2$ | Accounts Receivable options string
T$ | Application tables file name
PLP | Invoice form type flag: 0 - preprinted forms 1 - plain paper 2 - 8½-by-11-inch forms
ONLINE | Online invoice flag: 0 - batch invoice printing 1 - online invoice
TRAN_LEN | Length of the transaction number (set to 4)
HEAD | FILE[ ] array element for the ARTHxxx file
KITON | Unused in AR
STAT$ | Valid statuses to print (usually set to “15” in AR): 1 - invoice 5 - credit memo
XXTB$ | String template for ARTB/SOTB File
OSQE$ | String template for OSQE file
OSQA$ | String template for OSQA file
OSQT$ | String template for OSQT file
ARCUUD$ | String template for ARCUx.UD File
ARCUEM$ | String template for ARCUx.EM File
RMRA$ | String template for RMRAx File
RMRH$ | String template for RMRHx File
OSSE | String template for OSSE File
OSCN | String template for OSCN File
RMES$ | String template for RMESx File
MSG$ | Message returned if any errors occur

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