DSIV PRODUCTIVITY REPORT (3055)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV PRODUCTIVITY REPORT
TAG RPT
ROUTINE DSIVICR3
RETURN VALUE TYPE SINGLE VALUE
WORD WRAP ON TRUE
DESCRIPTION
Returns productivity report data which in a combination of the ICB 
Entered By User and Exception reports.
INPUT PARAMETER
  • DSIVSDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Start Date of the report
    
  • DSIVEDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    End date of the report.
    
  • DSIVRPT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Report type: C=Clinic, U=User, CU=Clinic and User, UC=User and Clinic
    
  • DSIVHNDL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Handle for the background job and XTMP global that contains the report 
    status and data.
    
  • DSIVLOCS
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Contains an optional list of locations to include or exclude from the 
    report.
    
RETURN PARAMETER DESCRIPTION
Global array containing report data:
 when DSIVRPT="C" for Clinic then return is:
       turn=Clinic^totalentries^totalnoins^totalexceptions
 when DSIVRPT="U" for User then return is:
       Return=User^totalentries^totalnoins^totalexceptions
 when  DSIVRPT="CU" for Both Clinic and User then return is:
       Clinic|User^totalentries^totalnoins^totalexceptions
 when  DSIVRPT="UC" for User and Clinic then return is:
       Return=User|Clinic^totalentries^totalnoins^totalexceptions