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

# SOHRDRIL.PUB

SOHRDRIL.PUB is a public program that handles the drill down ability from General Ledger to Sales Order returned items history information. This program will build a scratch file containing matching historical entries between the GLDRx and SOHRx files, then call SORHICON to display the returned item history detail record that made up the entry to GLJRx.

`0060 ENTER FILE[ALL],OSGUI$,GLJRSEQ$,YEAR$,MSG$`

Variable | Description
FILE[ALL] | Standard file array
OSGUI$ | Standard GUI template
GLJRSEQ$ | Sequence number of GLJRx file being drilled on
YEAR$ | Year of GLJRx file user is viewing
MSG$ | Set if no history records were found

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