| TITLE | VALUE | |
|---|---|---|
| NAME | VIAA GET EMPLOYEE DATA | |
| DESCRIPTION | Extract Employee (New Person) Data | |
| TAG | RTLSNP | |
| ROUTINE | VIAANPR | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | REQDATA | |
| DESCRIPTION | "SSN" defines DATAID as a Social Security Number "NAME" defines DATAID as a Name or Partial Name | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 255 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | DATAID | |
| DESCRIPTION | SSN if REQDATA="SSN" NAME/PARTIAL NAME if REQDATA="NAME" | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 255 | |
| RETURN VALUE TYPE | ARRAY | |
| RETURN PARAMETER DESCRIPTION | For a successful call execution, the output for the client will be placed in ^TMP(x,$J,n) Where x='VIAAIEN' for an Internal Entry Number call or 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 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 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. | |
| AVAILABILITY | RESTRICTED | |
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | Yes | |