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

# POGENSOQ.PUB

POGENSOQ.PUB is a public program that prompts a user for requisition information. It is designed to be called from Sales Order. POGENSOQ.PUB differs from POGENREQ.PUB in that it prompts the user for information about the requisition being generated.

`0050 ENTER ITEM$,DESC$,LOC$,QTY,UOM$,FACTOR,SOURCE$,IN,SER$,LOT,COST,OSGUI$`

Variable | Description
ITEM$ | Item ID to requisition
DESC$ | Item description
LOC$ | Location ID to requisition
QTY | Quantity to requisition
UOM$ | Unit of measure to requisition
FACTOR | Conversion factor for the unit of measure
SOURCE$ | Application ID from which the requisition was generated
IN | IN interface flag: 0 - Sales Order is not interfaced to Inventory 1 - Sales Order is interfaced to Inventory
SER$ | Serial item flag: 1 - Nonserialized item 2 - Serialized item
LOT | Lotted item flag: 0 - not lotted 1 - lotted
COST | Unit cost of the item to be requisitioned
OSGUI$ | Template for GUI functions

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