EC GET DEFAULT PROVIDER (3769)    REMOTE PROCEDURE (8994)

Name Value
NAME EC GET DEFAULT PROVIDER
TAG ECDEFPRV
ROUTINE ECUERPC2
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
This remote procedure will return the default provider based on the DSS 
 
If the DSS unit's send to PCE setting is set to send no records then the 
user will be the default if they are found in the EVENT CAPTURE PROVIDER 
file (#722).  If the user is not identified as an event capture provider 
then a check is made to see the last person they referenced in the NEW 
PERSON file (#200).  If that person is in the EVENT CAPTURE PROVIDER file 
(#722) then they will be the default.
 
If none of the checks produces a provider then there will be no default 
identified.
Unit and the user entering data into Event Capture.
 
If the user is an active provider then they will be the default 
regardless of the DSS unit's send to PCE setting.
 
If the user is not an active provider then a check is made to see the 
last person they referenced in the NEW PERSON file (#200). If that person
is an active provider then they will be the default.
INPUT PARAMETER
  • ECARY
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    DESCRIPTION:   
    The input variable ECARY contains the IEN of the DSS unit concatenated
    with the date/time of the procedure. If a date/time isn't sent, today's
    date will be assumed.
    
RETURN PARAMETER DESCRIPTION
The RESULTS variable will contain either the IEN^User Name or -1
if no default is found.