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

# INHCDRIL.PUB

INHCDRIL.PUB is a public program that handles the drill down ability from General Ledger to Inventory COGS history information. This program will build a scratch file containing matching historical entries between the GLDRx and INHCx files, then call INICHCON to display the COGS entries 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 | INHCDRIL.PUB does not return any errors.