VIAA ENG GET DATA (3781)    REMOTE PROCEDURE (8994)

Name Value
NAME VIAA ENG GET DATA
TAG RTLSDTEX
ROUTINE VIAAEAD
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns to RTLS equipment data for a given entry number in file 
#6914.
INPUT PARAMETER
  • RETSTA
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   32000
    REQUIRED:   YES
  • REQDATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Type of data required
    "EQUIPMENT" for equipment
    "CATEGORY" for categories
    "LOCATION" for locations
    
  • DATAID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    "ALL" to get all data available,
    ID to get data for a single item (equipment, category, location)
    
RETURN PARAMETER DESCRIPTION
For a successful call execution, the output for the client will be placed 
EQUIPMENT CATEGORY 
SYNONYM
USE STATUS
SERIAL #
TOTAL ASSET VALUE
DATE ENTERED
PHYSICAL INVENTORY DATE
MFGR. EQUIPMENT NAME
CMR
SERVICE POINTER
in ^TMP("VIAAEQUIPMENT",$J,count,0) and returned via the variable 
CATEGORY STOCK NUMBER
BRIEF DESCRIPTION
PARENT SYSTEM
TYPE OF ENTRY
PURCHASE ORDER #
ACQUISITION DATE
RESPONSIBLE SHOP
STATION NUMBER
DISPOSITION DATE
 
RETSTA; it will consist of the following fields from file #6914 using '^'
If an error occurs during call execution, a message will be returned to 
the client using the following format in ^TMP:
 
^TMP("VIAAEQUIPMENT",$J,0)="-###^reason_for_failure", where '###' is a
3-digit http status code. The piece 'reason_for_failure' explains what
caused the error in VistA.
as a delimiter:
 
ENTRY NUMBER
LOCATION
MODEL
MANUFACTURER