| NAME |
DSIYGNP1 WINLST WINDOW LIST |
| TAG |
WINLST |
| ROUTINE |
DSIYGNP1 |
| RETURN VALUE TYPE |
GLOBAL ARRAY |
| WORD WRAP ON |
TRUE |
| DESCRIPTION |
Returns a list of inventory points for a user. This list is a "shifting
window", the part of the full list returned being dependent on the
provided parameters; term, direction, count and Active Only.
|
| INPUT PARAMETER |
-
- DIR
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 2
- REQUIRED: YES
- SEQUENCE NUMBER: 1
- DESCRIPTION:
The direction in which to go. 1 proceeds normally through a list while -1
goes backwards.
-
- COUNT
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 30
- REQUIRED: YES
- SEQUENCE NUMBER: 2
- DESCRIPTION:
The number of entries to return.
-
- TERM
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 30
- REQUIRED: NO
- SEQUENCE NUMBER: 3
- DESCRIPTION:
The name of the entry to begin with.
-
- TYPE
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 3
- REQUIRED: NO
- SEQUENCE NUMBER: 4
- DESCRIPTION:
The type of Distribution Point to return (P=Primary, S=Secondary,
W=Warehouse). Defaults to "P".).
-
- ACTIVE ONLY
- PARAMETER TYPE: LITERAL
- MAXIMUM DATA LENGTH: 1
- REQUIRED: NO
- SEQUENCE NUMBER: 5
- DESCRIPTION:
Active Only
Pass '1' if the search wants to retrieve only active entries. By default
both active and inactive Inventory Distribution Points.
|
| RETURN PARAMETER DESCRIPTION |
List in the format:
ret(n)=IEN ^ InvPt Name ^ InvPt Type
or
ret(1)=-1^Error Message
|