SDEC GETFAC (3520)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC GETFAC
TAG GETFAC
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
Remote procedure to return the currently assigned facilities/divisions 
for a given user.
INPUT PARAMETER
  • SDECDUZ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User IEN pointer to NEW PERSON file 200
    
RETURN PARAMETER DESCRIPTION
Global Array in which each array entry
     TZ_NAME  = TIME ZONE NAME from the MAILMAN TIME ZONE file
     TZ_DIFF  = DIFFERENTIAL from the MAILMAN TIME ZONE file
 contains the following ^ pieces:
     DIV_IEN  = institution Id pointer to the INSTITUTION file 4
                NOTE field in file 200 uses the term DIVISION but the
                field points to the INSTITUTION file.
     DIV_NAME = institution NAME from the INSTITUTION file
     DEFAULT  = Is default division/facility?
                Value can be 'YES' or 'NO'
     TZ_CODE  = CODE from the MAILMAN TIME ZONE file 4.4