| NAME |
DSIYGNI2 GETINVPT GET INV PTS |
| TAG |
GETINVPT |
| ROUTINE |
DSIYGNI2 |
| RETURN VALUE TYPE |
GLOBAL ARRAY |
| WORD WRAP ON |
TRUE |
| DESCRIPTION |
GETINVPT
Generic return of inventory points by various XREF's
|
| INPUT PARAMETER |
-
- XREF
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 15
- REQUIRED: YES
- SEQUENCE NUMBER: 1
- DESCRIPTION:
XREF
AD: for Inventory Point user - Must have VALUE with DUZ of user
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"
-
- VALUE
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 25
- REQUIRED: NO
- SEQUENCE NUMBER: 2
- DESCRIPTION:
VALUE
The VALUE must be specified
Special VALUE: Use "NG" as the value to get all inventory points not
currently assigned to a group.
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
-
- INVPT
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 15
- REQUIRED: NO
- SEQUENCE NUMBER: 3
- DESCRIPTION:
INVTP
This will further refine the results by inventory point type.
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)
|
| RETURN PARAMETER DESCRIPTION |
RETURN PARAMETER
DSIYRET(1)="0^<Warning Message> If there are warnings/no data
DSIYRET(1)="-1^<Error Message> if there are errors
DSIYRET(INV POINT NAME)=IP IEN ^ NAME ^ IP TYPE
|