Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDESPRIVUSRSRCH

Package: Scheduling

Routine: SDESPRIVUSRSRCH


Information

SDESPRIVUSRSRCH ;ALB/RRM,MGD - VISTA SCHEDULING PRIVILEGED USER SEARCH RPC; Sept 23, 2022@01:21

Source Information

Source file <SDESPRIVUSRSRCH.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Kernel 2 $$UP^XLFSTR  $$ACTIVE^XUSER  
Scheduling 2 BUILDJSON^SDESBUILDJSON  ERRLOG^SDESJSON  
VA FileMan 1 LIST^DIC  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDES2  

Entry Points

Name Comments DBIA/ICR reference
SEARCHPRIVUSR(RETURNJSON,SEARCHSTRING) ;Called from the RPC: SDES SEARCH PRIVILEGED USER
; Input:
; SEARCHSTRING - (Required) Partial OR Full name text of at least 3-35 characters
GETPRIVUSER(SEARCHSTRING,SDPRIVUSERINFO) ;seach and retrieve user
GETUSERDIVISION(USERIEN,SDPRIVUSERINFO) ;retrieve Division Multiple data
GETUSERCLASS(USERIEN,SDPRIVUSERINFO) ;retrieve User Class Multiple data
GETPERSONCLASS(USERIEN,SDPRIVUSERINFO) ;retrieve Person Class Multiple data
VALIDATESRCHSTR(ERRORS,SEARCHSTRING) ;Validate Privileged user search string that was supplied
EMPTYDIV(SDPRIVUSERINFO,RECORDCNTR) ;set Division subscript to NULL
EMPTYUSC(SDPRIVUSERINFO,RECORDCNTR) ;Set User Class subscript to Null
EMPTYPC(SDPRIVUSERINFO,RECORDCNTR) ;Set Person Class subscript to Null
EMPTYJSON(SEARCHSTRING,SDPRIVUSERINFO) ;return an empty string JSON Format if an Error occur or no data found

External References

Name Field # of Occurrence
LIST^DIC GETPRIVUSER+4, GETUSERDIVISION+3, GETUSERCLASS+3, GETPERSONCLASS+3
BUILDJSON^SDESBUILDJSON SEARCHPRIVUSR+17, SEARCHPRIVUSR+20
ERRLOG^SDESJSON VALIDATESRCHSTR+3, VALIDATESRCHSTR+4
$$UP^XLFSTR SEARCHPRIVUSR+13
$$ACTIVE^XUSER GETPRIVUSER+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] LIST^DIC
200.02 LIST^DIC
200.05 LIST^DIC
200.07 LIST^DIC

Label References

Name Line Occurrences
$$VALIDATESRCHSTR SEARCHPRIVUSR+14
EMPTYDIV GETUSERDIVISION+4, GETUSERDIVISION+12
EMPTYJSON SEARCHPRIVUSR+17, GETPRIVUSER+5, GETPRIVUSER+30
EMPTYPC GETPERSONCLASS+4, GETPERSONCLASS+12
EMPTYUSC GETUSERCLASS+4, GETUSERCLASS+12
GETPERSONCLASS GETPRIVUSER+28
GETPRIVUSER SEARCHPRIVUSR+19
GETUSERCLASS GETPRIVUSER+27
GETUSERDIVISION GETPRIVUSER+26

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ERRORFLAG VALIDATESRCHSTR+1~, VALIDATESRCHSTR+2*, VALIDATESRCHSTR+3*, VALIDATESRCHSTR+4*, VALIDATESRCHSTR+5
ERRORS SEARCHPRIVUSR+9~, SEARCHPRIVUSR+14, SEARCHPRIVUSR+15, VALIDATESRCHSTR~, VALIDATESRCHSTR+3, VALIDATESRCHSTR+4
FIELDS GETPRIVUSER+1~, GETPRIVUSER+3*, GETPRIVUSER+4
HASSEARCHERROR SEARCHPRIVUSR+11~, SEARCHPRIVUSR+14*, SEARCHPRIVUSR+15
II GETUSERDIVISION+1~, GETUSERDIVISION+5*, GETUSERDIVISION+6, GETUSERDIVISION+8, GETUSERDIVISION+9, GETUSERDIVISION+10, GETUSERCLASS+1~, GETUSERCLASS+5*, GETUSERCLASS+6, GETUSERCLASS+8
, GETUSERCLASS+9, GETUSERCLASS+10, GETPERSONCLASS+1~, GETPERSONCLASS+5*, GETPERSONCLASS+6, GETPERSONCLASS+8, GETPERSONCLASS+9, GETPERSONCLASS+10, GETPERSONCLASS+11
ISDIVDEFAULT GETUSERDIVISION+1~, GETUSERDIVISION+10*, GETUSERDIVISION+11
ISUCPRIMARY GETUSERCLASS+1~, GETUSERCLASS+10*, GETUSERCLASS+11
LISTERROR GETPRIVUSER+1~, GETPRIVUSER+5
LISTERROR("DIERR" GETPRIVUSER+5
RECNTR GETUSERDIVISION+1~, GETUSERDIVISION+2*, GETUSERDIVISION+7*, GETUSERDIVISION+8, GETUSERDIVISION+9, GETUSERDIVISION+11, GETUSERCLASS+1~, GETUSERCLASS+2*, GETUSERCLASS+7*, GETUSERCLASS+8
, GETUSERCLASS+9, GETUSERCLASS+11, GETPERSONCLASS+1~, GETPERSONCLASS+2*, GETPERSONCLASS+7*, GETPERSONCLASS+8, GETPERSONCLASS+9, GETPERSONCLASS+10, GETPERSONCLASS+11
RECNUM GETPRIVUSER+1~, GETPRIVUSER+6*, GETPRIVUSER+7, GETPRIVUSER+8, GETPRIVUSER+13, GETPRIVUSER+14, GETPRIVUSER+15, GETPRIVUSER+16, GETPRIVUSER+17, GETPRIVUSER+18
, GETPRIVUSER+19, GETPRIVUSER+20, GETPRIVUSER+21, GETPRIVUSER+22, GETPRIVUSER+23, GETPRIVUSER+24, GETPRIVUSER+25
RECORDCNTR GETPRIVUSER+1~, GETPRIVUSER+2*, GETPRIVUSER+11*, GETPRIVUSER+12, GETPRIVUSER+13, GETPRIVUSER+14, GETPRIVUSER+15, GETPRIVUSER+16, GETPRIVUSER+17, GETPRIVUSER+18
, GETPRIVUSER+19, GETPRIVUSER+20, GETPRIVUSER+21, GETPRIVUSER+22, GETPRIVUSER+23, GETPRIVUSER+24, GETPRIVUSER+25, GETUSERDIVISION+4, GETUSERDIVISION+8, GETUSERDIVISION+9
, GETUSERDIVISION+11, GETUSERDIVISION+12, GETUSERCLASS+4, GETUSERCLASS+8, GETUSERCLASS+9, GETUSERCLASS+11, GETUSERCLASS+12, GETPERSONCLASS+4, GETPERSONCLASS+8, GETPERSONCLASS+9
, GETPERSONCLASS+10, GETPERSONCLASS+11, GETPERSONCLASS+12, EMPTYDIV~, EMPTYDIV+1, EMPTYDIV+2, EMPTYDIV+3, EMPTYUSC~, EMPTYUSC+1, EMPTYUSC+2
, EMPTYUSC+3, EMPTYPC~, EMPTYPC+1, EMPTYPC+2, EMPTYPC+3, EMPTYPC+4
RETURNERROR SEARCHPRIVUSR+9~, SEARCHPRIVUSR+15*, SEARCHPRIVUSR+17
RETURNERROR("Error" SEARCHPRIVUSR+17, EMPTYJSON+2
RETURNERROR("NewPerson" EMPTYJSON+4*
RETURNJSON SEARCHPRIVUSR~, SEARCHPRIVUSR+17, SEARCHPRIVUSR+20
SDERROR GETPRIVUSER+1~, GETUSERDIVISION+1~, GETUSERDIVISION+4, GETUSERCLASS+1~, GETUSERCLASS+4, GETPERSONCLASS+1~, GETPERSONCLASS+4
SDMULTARY GETPRIVUSER+1~, GETUSERDIVISION+1~, GETUSERCLASS+1~, GETPERSONCLASS+1~
SDMULTARY("DILIST" GETUSERDIVISION+5, GETUSERDIVISION+8, GETUSERDIVISION+9, GETUSERDIVISION+10, GETUSERDIVISION+12, GETUSERCLASS+5, GETUSERCLASS+8, GETUSERCLASS+9, GETUSERCLASS+10, GETUSERCLASS+12
, GETPERSONCLASS+5, GETPERSONCLASS+8, GETPERSONCLASS+9, GETPERSONCLASS+10, GETPERSONCLASS+11, GETPERSONCLASS+12
SDPRIVUSERINFO SEARCHPRIVUSR+10~, SEARCHPRIVUSR+19, SEARCHPRIVUSR+20, GETPRIVUSER~, GETPRIVUSER+26, GETPRIVUSER+27, GETPRIVUSER+28, GETPRIVUSER+30, GETUSERDIVISION~, GETUSERDIVISION+4
, GETUSERDIVISION+12, GETUSERCLASS~, GETUSERCLASS+4, GETUSERCLASS+12, GETPERSONCLASS~, GETPERSONCLASS+4, GETPERSONCLASS+12, EMPTYDIV~, EMPTYUSC~, EMPTYPC~
, EMPTYJSON~
SDPRIVUSERINFO("Error" GETPRIVUSER+5*
SDPRIVUSERINFO("NewPerson" GETPRIVUSER+12*, GETPRIVUSER+13*, GETPRIVUSER+14*, GETPRIVUSER+15*, GETPRIVUSER+16*, GETPRIVUSER+17*, GETPRIVUSER+18*, GETPRIVUSER+19*, GETPRIVUSER+20*, GETPRIVUSER+21*
, GETPRIVUSER+22*, GETPRIVUSER+23*, GETPRIVUSER+24*, GETPRIVUSER+25*, GETUSERDIVISION+8*, GETUSERDIVISION+9*, GETUSERDIVISION+11*, GETUSERCLASS+8*, GETUSERCLASS+9*, GETUSERCLASS+11*
, GETPERSONCLASS+8*, GETPERSONCLASS+9*, GETPERSONCLASS+10*, GETPERSONCLASS+11*, EMPTYDIV+1*, EMPTYDIV+2*, EMPTYDIV+3*, EMPTYUSC+1*, EMPTYUSC+2*, EMPTYUSC+3*
, EMPTYPC+1*, EMPTYPC+2*, EMPTYPC+3*, EMPTYPC+4*, EMPTYJSON+1, EMPTYJSON+3*
SEARCHSTRING SEARCHPRIVUSR~, SEARCHPRIVUSR+13*, SEARCHPRIVUSR+14, SEARCHPRIVUSR+17, SEARCHPRIVUSR+19, GETPRIVUSER~, GETPRIVUSER+4, GETPRIVUSER+5, GETPRIVUSER+30, VALIDATESRCHSTR~
, VALIDATESRCHSTR+3, VALIDATESRCHSTR+4, EMPTYJSON~
USERIEN GETPRIVUSER+1~, GETPRIVUSER+8*, GETPRIVUSER+9, GETPRIVUSER+12, GETPRIVUSER+26, GETPRIVUSER+27, GETPRIVUSER+28, GETUSERDIVISION~, GETUSERDIVISION+3, GETUSERCLASS~
, GETUSERCLASS+3, GETPERSONCLASS~, GETPERSONCLASS+3
USERLIST GETPRIVUSER+1~
USERLIST("DILIST" GETPRIVUSER+6, GETPRIVUSER+8, GETPRIVUSER+13, GETPRIVUSER+14, GETPRIVUSER+15, GETPRIVUSER+16, GETPRIVUSER+17, GETPRIVUSER+18, GETPRIVUSER+19, GETPRIVUSER+20
, GETPRIVUSER+21, GETPRIVUSER+22, GETPRIVUSER+23, GETPRIVUSER+24, GETPRIVUSER+25
USRISACTIVE GETPRIVUSER+1~, GETPRIVUSER+9*, GETPRIVUSER+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables  | All