|
|
Reference Type: Supported, Category: User, Integration Agreement: 2343
This extrinsic function does a user lookup on the NEW PERSON file (#200) screening out users that are terminated. You are first asked to enter a name of a user in the NEW PERSON file. By default, the function then asks if the correct user name was selected. For example:
Select NEW PERSON NAME: TEAL,WALLY Is TEAL,WALLY the one you want? YES// |
If the optional input parameter is set to "Q" then the second, confirmation prompt is suppressed. The return is in the same format as a call to DIC (i.e., IEN^NAME). Adding new entries is not allowed.
$$LOOKUP^XUSER([""])
| "": |
(optional) This optional input parameter does the following:
|
| returns: |
Returns the Internal Entry Number (IEN) and NAME of the user in the NEW PERSON file (#200) entered after the "Select NEW PERSON NAME:" prompt (IEN^NAME). |
|
This is an example of a lookup of an active user when not passing in the optional "Q" parameter (showing confirmation prompt):
>S LRDOC=$$LOOKUP^XUSER("")
Select NEW PERSON NAME: ?
Answer with NEW PERSON NAME, or INITIAL, or SSN, or VERIFY CODE, or
NICK NAME, or SERVICE/SECTION, or DEA#, or ALIAS
Do you want the entire 1601-Entry NEW PERSON List? N <Enter> (No)
Select NEW PERSON NAME: BLUE,THOMAS E TB COMPUTER SPECIALIST
Is BLUE,THOMAS E the one you want? YES// <Enter>
>W LRDOC
1529^BLUE,THOMAS E |
This is an example of a lookup of an active user when passing in the optional "Q" parameter (suppressing confirmation prompt):
>S LRDOC=$$LOOKUP^XUSER("Q")
Select NEW PERSON NAME: BLUE,THOMAS E TB COMPUTER SPECIALIST
>W LRDOC
1529^BLUE,THOMAS E |
This is an example of a lookup of a terminated user when passing in the optional "A" parameter:
>S LRDOC=$$LOOKUP^XUSER("A")
Select NEW PERSON NAME: DUBINSKY,VADIM VD
This user was terminated on May 04, 1998
Select NEW PERSON NAME: |
|
VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility Reviewed/Updated:
December 14, 2005
|