DSIYGNI8 FIND441 FIND ITEMS (4131)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYGNI8 FIND441 FIND ITEMS
TAG FIND441
ROUTINE DSIYGNI8
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
Performs a lookup on the ITEM MASTER (#441) FILE, taking any necessary 
screens relevant to current inventory point into account.
INPUT PARAMETER
  • STN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   3
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    3 digit station #
    
  • TYPE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Location Type: W=Warehouse, P=Primary, S=Secondary
    
  • DSIYIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    IEN to GENERIC INVENTORY (#445) FILE indicating which inventory point 
    this lookup is for.
    
  • VAL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Text value to perform lookup
    
RETURN PARAMETER DESCRIPTION
Returns a list of items, each line in the format
If an error occurs, return will be
 
RET(1)=-1^Error messange
 
IF nothing is found, return will be
 
RET(1)=0^No results found
 
RET(n)=ITEM NUMBER/IEN ^ Description ^ NSN
 
If the item already exists in the inventory point, "Description" will 
reflect the description stored in the INVENTORY ITEMS (#445.01) subfile, 
if defined; otherwise, "Description" will be the SHORT DESCRIPTION (#.05) 
filed from the ITEM MASTER (#441) FILE.