Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SDESLOC

Package: Scheduling

Routine: SDESLOC


Information

SDESLOC ;ALB/ANU - VISTA SCHEDULING RPCS - USERS FOR HOSPITAL LOCATION ; May 09, 2022@15:20

Source Information

Source file <SDESLOC.m>

Entry Points

Name Comments DBIA/ICR reference
UPDPRIV(ELGRETURN,ADDFLAG,LOCIEN,USRIEN) ;Update the list of privileged user for a hospital location
; This RPC adds privileged user to a hospital location.
; Input:
; ELGRETURN - [required] - Success or Error message
; ADDFLAG - [required] - 1 (Add User), 0 (Delete User)
; LOCIEN - [required] - The Hopspital Location IEN
; USRIEN - [required] - The New Person IEN
RMVALLUSR(ELGRETURN,LOCIEN) ;Remove all privileged user for a hospital location
; This RPC removes privileged user to a hospital location.
; Input:
; ELGRETURN - [required] - Success or Error message
; LOCIEN - [required] - The Hopspital Location IEN
RTNALLUSR(ELGRETURN,LOCIEN) ;Return all privileged user for a hospital location
; This RPC removes privileged user to a hospital location.
; Input:
; ELGRETURN - [required] - Success or Error message
; LOCIEN - [required] - The Hopspital Location IEN
VALIDATE(ERRORS,ADDFLAG,LOCIEN,USRIEN) ; Validate Location IEN, User IEN
VALIDATER(ERRORS,LOCIEN) ; Validate Location IEN
ADDUSR(ELGARRAY,LOCIEN,USRIEN) ; Add User
RMVUSR(ELGARRAY,LOCIEN,USRIEN) ; Delete User
RMVAUSR(ELGARRAY,LOCIEN) ; Delete Users
RTNAUSR(ELGARRAY,LOCIEN) ; Return all Users
EMPTYJSON(RETURN) ;return an empty string JSON Format if an Error occur or no data found
CLEANUP ; Cleanup

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
44.04 GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call