SDEC CLINIC GROUP RETURN (4486)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC CLINIC GROUP RETURN
TAG RESGRP
ROUTINE SDEC1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 1
DESCRIPTION
Returns ADO Recordset with all ACTIVE GROUP/RESOURCE combinations
to which user has access based on entries in SDEC RESOURCE USER file
If SDECDUZ=0 then returns all ACTIVE GROUP/RESOURCE combinations for 
current DUZ
If user SDECDUZ possesses the key SDECZMGR
then ALL ACTIVE resource group names are returned
INPUT PARAMETER
  • SDECDUZ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User ID pointer to NEW PERSON file 200
    
  • GRPIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   12
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
RETURN PARAMETER DESCRIPTION
Returns a Global Array in which each array entry contains active 
Group/Resource combinations separated by ^:
  1. RESOURCE_GROUPID
  2. RESOURCE_GROUP
  3. RESOURCE_GROUP_ITEMID
  4. RESOURCE_NAME
  5. RESOURCEID