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 |  Interaction Calls
Print Page as PDF
Routine: BPSOPR2

Package: E Claims Management Engine

Routine: BPSOPR2


Information

BPSOPR2 ;ALB/PHH - OPECC Productivity Report Compiler ;9/21/2015

Source Information

Source file <BPSOPR2.m>

Entry Points

Name Comments DBIA/ICR reference
COMPILE ; Entry point for the compile to build the scratch global
; This may be a background task if the job is queued.
BUILD ; Build report
PRTSGTOT(BPSIDX,BPSDIV,BPSUSER) ; Print grand/subtotals
PRTUTOT(BPSIDX,BPSDIV,BPSUSER) ; Print user totals
TOTTRN(BPSDIV,BPSUSER) ; Get total transactions for a user
PRTSGHDR(BPSSHDR,BPSIDX,BPSSGHTX) ; Print subtotals/grand header
SUBINIT(BPSSHDR) ; Set up subtotals header
FIND ; Find records
CALCREJ(BPSDIV,BPSUSER,BPRX,BPREF,BPSCOB) ; Calculate reject counts
; Returns 1 if reject found, otherwise returns 0
ECMENUM(BP57) ; ECME number
; Returns ECME number from 9002313.02 as:
; 7 or 12 digits of the prescription IEN file 52
; or 12 spaces
GETRXFCI(BPSDIV,BPRX,BPREF,BPSCOB) ; Get general RXFC info
; Returns: paid amount ^ total transactions ^ IEN of 57 ^ transaction
; type of last matching BP57 found
SORT ; Sort report based on divison or user

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Compiling OPECC Productivity Report. Please wait ... ",!
  • Line Location: FIND+4
Info |  Source |  Entry Points |  Interaction Calls