VIAA GET EMPLOYEE DATA (3706)    REMOTE PROCEDURE (8994)

Name Value
NAME VIAA GET EMPLOYEE DATA
TAG RTLSNP
ROUTINE VIAANPR
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
APP PROXY ALLOWED Yes
DESCRIPTION
Extract Employee (New Person) Data
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:   
    "SSN" defines DATAID as a Social Security Number
    "NAME" defines DATAID as a Name or Partial Name
    
  • DATAID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    SSN if REQDATA="SSN"
    NAME/PARTIAL NAME if REQDATA="NAME"
    
RETURN PARAMETER DESCRIPTION
For a successful call execution, the output for the client will be placed
DIVISION
SEX
DOB
TITLE
SERVICE/SECTION
 
If an error occurs during call  execution, a message will be returned to
the client using the following format in ^TMP:
 
^TMP(x,$J,0)='-###^reason_for_failure', where '###' is a 3-digit http
in ^TMP(x,$J,n) Where x='VIAAIEN' for an Internal Entry Number call or
status code. The piece 'reason_for_failure' explains what caused the error
in VistA. 
Where x='VIAAIEN' for an Internal Entry Number call or x='VIAANAME' for an
Employee Name call.
   an Employee Name call.
x='VIAANAME' for an Employee Name call. n=An incremental count of the
records returned. The value is returned via the variable RETSTA; it will
consist of the following fields from the New Person File #200 using '^' 
a delimiter:
 
IEN
NAME