TITLE | VALUE | |
---|---|---|
NAME | DSIYINP GET INV PT GET DATA | |
DESCRIPTION | Returns Inventory Point data from file 445 for view/edit. | |
TAG | GET | |
ROUTINE | DSIYGNP | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | STN | |
DESCRIPTION | Station Number | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 5 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | TYPE | |
DESCRIPTION | The Type of inventory point, W=Warehouse, P=Primary, S=Secondary. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 1 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | DSIYIEN | |
DESCRIPTION | Pointer to file 445. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 30 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
INPUT PARAMETER | FLAG | |
DESCRIPTION | Flag which indicates what information is returned. FLG: "M"=Main, "T"=Total Items, "DP"=Distribution Points, "SB"=Stocked By "IU"=Inventory Users, "FCP"=Fund Control Points, "PROS"=Prosthetics | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | 4 | |
INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
INPUT PARAMETER | SIZE | |
DESCRIPTION | The number of lines to return | |
PARAMETER TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | ||
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | RET(1)=-1^error e.g. missing/invalid input param, no data or RET(1-n)=Field#^Internal Data^External Data Multiples are distinguished from file level data by "$$START ...$$" text. e.g.: RET(n)=.01^500-PHARMACY^500-PHARMACY RET(n)=.5^Y^YES RET(n)=.6^Y^YES RET(n)= RET(4)=.7^P^PRIMARY ...etc...then special fields/multiples...multiples... RET(n)=$$TOTAL ITEMS$$_total items for this inventory point RET(n)=$$START DISTRIBUTION POINTS$$ (for Warehouse/Primary only) RET(n)=23^500-DRUG CABINET^SECONDARY IEN^Name^TypeIEN^Name^Type RET(n)=$$START INVENTORY USERS$$ RET(n)=10046^INVENTORY,MGR^MANAGER IEN^Name^has key (Manager) RET(n)=$$START FUND CONTROL POINTS$$ RET(n)=5555^5555 SUPPLY FUND IEN^Name (from file 420) RET(n)=$$START STOCKED BY$$ (for Primary/Secondary Only) RET(n)=350^500-WAREHOUSE^SUPPLY WAREHOUSE IEN^Name^Type RET(n)=$$START MIS COSTING$$ (for Primary/Secondary Only) RET(n)=nnn^name IEN^Name | |
AVAILABILITY | ||
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |