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

# INDELITM.PUB

INDELITM.PUB is a public program that will delete a given item or item location from Inventory.

`0060 ENTER FILE[ALL],ITEM$,LOCA$,TYPE,OSGUI$`

Variable | Description
FILE[ALL] | Standard file array
ITEM$ | Inventory item ID to search for
LOCA$ | Inventory location ID to search for
TYPE | 0 = Delete Item, 1 = Delete Item/Location
OSGUI$ | Standard GUI template

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