DSIYGNI2 GETINVPT GET INV PTS

TITLEVALUE
NAMEDSIYGNI2 GETINVPT GET INV PTS
DESCRIPTIONGETINVPT

Generic return of inventory points by various XREF's
TAGGETINVPT
ROUTINEDSIYGNI2
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERXREF
DESCRIPTIONXREF

The XREF to use to return the data

XREF values are:
B: for full name
C: for shorter name (after the station #)
AC for Type (Primary, Secondary, Warehouse) = Must have VALUE with
"P", "S" or "W"
AD: for Inventory Point user - Must have VALUE with DUZ of user
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERVALUE
DESCRIPTIONVALUE

Not required for all XREF's This is the value by which to refine the
search

If using XREF
"AC" for inventory point type
"AD" for inventory point user

The VALUE must be specified

Special VALUE: Use "NG" as the value to get all inventory points not
currently assigned to a group.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH25

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERINVPT
DESCRIPTIONINVTP

Data to further refine the search.

INVPT can be "P" for primary, "S" for secondary or "W" for warehouse

(NOTE: This is redundant when using XREF "AC" plus a value but won't
hurt anything)

This will further refine the results by inventory point type.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH15

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)="0^ If there are warnings/no data
DSIYRET(1)="-1^ if there are errors
DSIYRET(INV POINT NAME)=IP IEN ^ NAME ^ IP TYPE
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED