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

# INQTYDSP.PUB

INQTYDSP.PUB is a public program that displays the available quantities for any item location and the quantity breaks for the current unit of measure. It is designed for optional use with the AR and SO entry programs.

`0045 ENTER FILE[ALL],INUPD1$,INUPD3$,INLD$,PRID$,CUST$,CLVL$,UNIT$,SDAT,X9$,`
`0045:DISPFLAG,INVE$,INUM$,INPS$,INLP$,INUP$,INSN$,INPP$,PASS$,O2$,OSGUI$,`
`0045:INQTYDSP_CONTEXT`

Variable | Description
FILE[ALL] | Standard file array used for the data file channel number
INUPD1$ | INUPD current-values template (see INUPD.PUB)
INUPD3$ | File array template (see INUPD.PUB)
INLD$ | INLDxxx file template (Location Detail file)
PRID$ | Price ID
CUST$ | Customer ID
CLVL$ | Customer level
UNIT$ | Unit of measure
SDAT | Transaction sale date
X9$ | Returns error message string if an error occurs
DISPFLAG | Information Display flag: 0 - Clear display 1 - Display item information 2 - Display “Not Applicable” for noninventory items
INVE$ | INVExxx file template (Item Master file)
INUM$ | INUMxxx file template (Units of Measure file)
INPS$ | INPSxxx file template (Price Structures file)
INLP$ | INLPxxx file template (Location Pricing file)
INUP$ | INUPxxx file template (Units of Measure Pricing file)
INSN$ | INSNxxx file template (Serial Number file)
INPP$ | INPPxxx file template (Promotional Pricing file)
PASS$ | Copy of the INUPD1$ template, with the current item/location information loaded
O2$ | Inventory options string
OSGUI$ | Template for GUI functions
INQTYDSP_CONTEXT | Context in which the graphical screen exists

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