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 |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: RCDPEMA1

Package: Accounts Receivable

Routine: RCDPEMA1


Information

RCDPEMA1 ;EDE/FA - LIST ALL AUTO-POSTED RECEIPTS REPORT ;Nov 17, 2016

Source Information

Source file <RCDPEMA1.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Accounts Receivable 2 $$ENDORPRT^RCDPEARL  $$ASKSTOP^RCDPEMAP  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
List Manager 1 $$SETSTR^VALM1  
VA FileMan 1 $$GET1^DIQ  

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
Accounts Receivable 1 RCDPEMAP  

Entry Points

Name Comments DBIA/ICR reference
RPTOUT(INPUT) ;EP from RCDPEMAP
; Output the report to paper/screen, listman or excel
; Input: INPUT - See REPORT^RCDPEMAP for a complete description
; ^TMP($J,A1,"SEL",A2)=External Auto-Post Date
; ^TMP($J,A1,"SEL",A3)=External lower cased sort value (Payer or User)
; ^TMP($J,A1,"SEL",A2,A3,A4,A5)=B1^B2^B3^B4^B5 - if record passed filters Where:
; A1 - "RCDPE_MAP"
; A2 - Internal Auto-Post Date (primary sort)
; A3 - Secondary Sort Value (Payer or User Name)
; A4 - IEN for file 344.4
; A5 - IEN for file 344.41
; B1 - Payer Name
; B2 - User Name
; B3 - ERA #
; B4 - Claim #
; B5 - Trace #
; Output: ^TMP("RCDPE_MAP",$J,CTR)=Line - Array of display lines (no headers)
; for output to Listman
; Only set when A7-1
RPT2(INPUT,A1,ADATE,SORT,OUTYPE,LNCNT,STOP,DATA) ; Report Output Continued
; Input: INPUT - See REPORT^RCDPEMAP for detail
; ADATE - Internal Auto-Post Date
; SORT - 2 - Sort by User, 1 - Sort by Payer
; OUTYPE - 2 - Excel, 1 - Listman, 0 - Paper/Screen
; LNCNT - Current line count (only if OUTYPE=0)
; ^TMP($J,A1,"SEL",...) - See RPTOUT for details
; Output: LNCNT - Updated line count (only if OUTYPE=0)
; STOP - 1 if user quit out (only if OUTYPE=0)
; INPUT - 9th '^' piece update with current line # is OUTYPE=1
; DATA - 1 if at least one line of data is fount
; ^TMP("RCDPE_MAP",$J,CTR) - Output lines for Listman (only if OUTYPE=1)
RPT3(INPUT,A1,ADATE,SORT,SVAL,OUTYPE,LNCNT,STOP,DATA) ; Report Output Continued
; Input: INPUT - See REPORT^RCDPEMAP for detail
; ADATE - Internal Auto-Post Date
; SORT - 1 - Sort by User, 2 - Sort by Payer
; SVAL - Current sort value (Upper cased Payer or User Name)
; OUTYPE - 2 - Excel, 1 - Listman, 0 - Paper/Screen
; LNCNT - Current line count (only if OUTYPE=0)
; ^TMP($J,A1,"SEL",...2) - See RPTOUT for details
; Output: LNCNT - Updated line count (only if OUTYPE=0)
; STOP - 1 if user quit out (only if OUTYPE=0)
; INPUT - 9th '^' piece update with current line # is OUTYPE=1
; DATA - 1 if at least one line of data is found
; ^TMP("RCDPE_MAP",$J,CTR) - Output lines for Listman (only if OUTYPE=1)
RPT3LM(A1,INPUT,FIRSTS,UORP,UORPL,UORPF,LN2,LN3) ; Continue listman output
; Input: A1 - "RCDPE_MAP"
; INPUT - 9th piece contains the current listman line counter
; FIRSTS - 1 if this is the first Payer for the current date, 0 otherwise
; UORP - Current User or Payer Name (whichever we're not sorting by)
; UORPL - Current last User or Payer Name (whichever we're not sorting by)
; UORPF - 1 if this is the first user or payer for the current sor value
; 0 otherwise
; LN2 - Payer or User Name (whatever is not the sort) display line
; LN3 - ERA display line
; ^TMP(A1,$J,XX) - Current listman display lines
; Output: INPUT - Updated 9th piece contains the current listman line counter
; FIRSTS - Updated to 0 (potentially)
; UORP - Updated User or Payer Name (potentially)
; UORPL - Updated last User or Payer Name (potentially)
; UORPF - Updated
; ^TMP(A1,$J,XX) - Current listman display lines
PHEADER(INPUT,LNCNT,PAGE) ; Display a Page Header
; Input: INPUT - See REPORT for a complete description
; LNCNT - Current Line Count
; PAGE - Current Page Count
; Output: LNCNT - Updated Line Count
; PAGE - Updated Page Count
HDRLN2(INPUT) ; Build the 2nd header line
; Input: INPUT - See REPORT^RCDPEMAP for a complete description
; Returns: Text for 2nd header line
HDRLN3(INPUT) ; Build the 3rd header line
; Input: INPUT - See REPORT^RCDPEMAP for a complete description
; Returns: Text for 3rd header line
HDRLN4(INPUT) ; Build the 4th header line
; Input: INPUT - See REPORT^RCDPEMAP for a complete description
; Returns: Text for 4th header line
DIVS(VAUTD) ;
; Input - VAUTD array of divisions selected
; Returns - List of station numbers

External References

Name Field # of Occurrence
$$GET1^DIQ DIVS+9
$$ENDORPRT^RCDPEARL RPTOUT+66
$$ASKSTOP^RCDPEMAP RPTOUT+56, RPTOUT+72, RPT2+28, RPT3+50
$$SETSTR^VALM1 RPT3+32, RPT3+34, PHEADER+9, PHEADER+11, HDRLN3+10, HDRLN4+7
$$FMTE^XLFDT PHEADER+8, HDRLN3+7, HDRLN3+8
$$NOW^XLFDT PHEADER+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,XX
  • Line Location: RPTOUT+33
Function Call: WRITE
  • Prompt: !,"Auto-Post Date: "_^TMP($J,A1,"SEL",ADATE)
  • Line Location: RPTOUT+53
Function Call: WRITE
  • Prompt: !
  • Line Location: RPTOUT+59
Function Call: WRITE
  • Prompt: !,"Auto-Post Date: "_^TMP($J,A1,"SEL",ADATE)
  • Line Location: RPTOUT+60
Function Call: WRITE
  • Prompt: !,XX
  • Line Location: RPTOUT+71
Function Call: WRITE
  • Prompt: !,"Auto-Post Date: "_^TMP($J,A1,"SEL",ADATE)
  • Line Location: RPT2+31
Function Call: WRITE
  • Prompt: !,CURS
  • Line Location: RPT2+32
Function Call: WRITE
  • Prompt: !
  • Line Location: RPT2+36
Function Call: WRITE
  • Prompt: !," ",$S(SORT=2:"Payer: ",1:"User: "),CURS
  • Line Location: RPT2+37
Function Call: WRITE
  • Prompt: !,XX
  • Line Location: RPT3+43
Function Call: WRITE
  • Prompt: !,"Auto-Post Date: "_^TMP($J,A1,"SEL",ADATE)
  • Line Location: RPT3+53
Function Call: WRITE
  • Prompt: !,LN1
  • Line Location: RPT3+55
Function Call: WRITE
  • Prompt: !,LN2
  • Line Location: RPT3+57
Function Call: WRITE
  • Prompt: !
  • Line Location: RPT3+61
Function Call: WRITE
  • Prompt: !,LN2
  • Line Location: RPT3+62
Function Call: WRITE
  • Prompt: !,LN2
  • Line Location: RPT3+65
Function Call: WRITE
  • Prompt: !,LN3
  • Line Location: RPT3+66
Function Call: WRITE
  • Prompt: @IOF,XX
  • Line Location: PHEADER+12
Function Call: WRITE
  • Prompt: !,XX
  • Line Location: PHEADER+16
Function Call: WRITE
  • Prompt: !,XX
  • Line Location: PHEADER+20
Function Call: WRITE
  • Prompt: !,XX
  • Line Location: PHEADER+24
Function Call: WRITE
  • Prompt: !,"ERA # Claim # Trace #"
  • Line Location: PHEADER+28
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------"
  • Line Location: PHEADER+30

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DG(40.8 - [#40.8] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP( RPTOUT+45*, RPTOUT+46*, RPTOUT+70*, RPT2+22*, RPT2+23*, RPT3LM+21*, RPT3LM+25*, RPT3LM+27*, RPT3LM+29*
^TMP($J RPTOUT+38, RPTOUT+46, RPTOUT+53, RPTOUT+60, RPT2+13, RPT2+14, RPT2+16, RPT2+18, RPT2+31, RPT3+16
, RPT3+19, RPT3+20, RPT3+23, RPT3+27, RPT3+37, RPT3+53

Label References

Name Line Occurrences
$$DIVS HDRLN2+4
$$HDRLN2 PHEADER+15
$$HDRLN3 PHEADER+19
$$HDRLN4 PHEADER+23
PHEADER RPTOUT+52, RPTOUT+58, RPTOUT+64, RPT2+30, RPT3+52
RPT2 RPTOUT+62
RPT3 RPT2+39
RPT3LM RPT3+46

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A1 RPTOUT+20~, RPTOUT+35*, RPTOUT+38, RPTOUT+45, RPTOUT+46, RPTOUT+53, RPTOUT+60, RPTOUT+62, RPTOUT+70, RPT2~
, RPT2+13, RPT2+14, RPT2+16, RPT2+18, RPT2+22, RPT2+23, RPT2+31, RPT2+39, RPT3~, RPT3+16
, RPT3+19, RPT3+20, RPT3+23, RPT3+27, RPT3+37, RPT3+46, RPT3+53, RPT3LM~, RPT3LM+21, RPT3LM+25
, RPT3LM+27, RPT3LM+29
ADATE RPTOUT+20~, RPTOUT+36*, RPTOUT+37, RPTOUT+38*, RPTOUT+39, RPTOUT+46, RPTOUT+53, RPTOUT+60, RPTOUT+62, RPT2~
, RPT2+13, RPT2+14, RPT2+16, RPT2+18, RPT2+31, RPT2+39, RPT3~, RPT3+16, RPT3+19, RPT3+20
, RPT3+23, RPT3+27, RPT3+37, RPT3+53
CURS RPT2+12~, RPT2+18*, RPT2+21, RPT2+23, RPT2+34, RPT2+35, RPT2+37
DATA RPTOUT+20~, RPTOUT+27*, RPTOUT+62, RPTOUT+63, RPT2~, RPT2+39, RPT3~, RPT3+25*
DATAR RPT3+13~, RPT3+27*, RPT3+28, RPT3+29, RPT3+30, RPT3+31, RPT3+33, RPT3+35, RPT3+39, RPT3+41
, RPT3+42
EXCEL RPTOUT+20~, RPTOUT+24*, RPTOUT+26, RPTOUT+63, RPTOUT+65
FIRST RPTOUT+20~, RPTOUT+27*, RPTOUT+42, RPTOUT+43*, RPTOUT+50, RPTOUT+51*
FIRSTS RPT3+13~, RPT3+14*, RPT3+46, RPT3LM~
IEN3444 RPT3+13~, RPT3+14*, RPT3+15, RPT3+16*, RPT3+17, RPT3+19, RPT3+20, RPT3+23, RPT3+27
IEN34441 RPT3+13~, RPT3+18*, RPT3+22, RPT3+23*, RPT3+24, RPT3+27
INPUT RPTOUT~, RPTOUT+22*, RPTOUT+23, RPTOUT+24, RPTOUT+25, RPTOUT+41, RPTOUT+47*, RPTOUT+52, RPTOUT+58, RPTOUT+62
, RPTOUT+64, RPTOUT+68, RPTOUT+69*, RPT2~, RPT2+20, RPT2+24*, RPT2+30, RPT2+39, RPT3~, RPT3+46
, RPT3+52, RPT3LM~, RPT3LM+18, RPT3LM+30*, PHEADER~, PHEADER+15, PHEADER+19, PHEADER+23, HDRLN2~, HDRLN2+4
, HDRLN3~, HDRLN3+4, HDRLN3+6, HDRLN3+7, HDRLN3+8, HDRLN4~, HDRLN4+4, HDRLN4+5, HDRLN4+6
IOF PHEADER+12
IOSL RPTOUT+55, RPT2+27, RPT3+49
LASTS RPT2+12~, RPT2+14*, RPT2+21, RPT2+34, RPT2+35*
LN1 RPT3+13~, RPT3+28*, RPT3+29*, RPT3+55
LN2 RPT3+13~, RPT3+28*, RPT3+29*, RPT3+46, RPT3+57, RPT3+62, RPT3+65, RPT3LM~, RPT3LM+21, RPT3LM+27
LN3 RPT3+13~, RPT3+30*, RPT3+32*, RPT3+34*, RPT3+46, RPT3+66, RPT3LM~, RPT3LM+29
LNCNT RPTOUT+20~, RPTOUT+21*, RPTOUT+52, RPTOUT+54*, RPTOUT+55, RPTOUT+58, RPTOUT+59*, RPTOUT+61*, RPTOUT+62, RPTOUT+64
, RPT2~, RPT2+27, RPT2+30, RPT2+33*, RPT2+35*, RPT2+38*, RPT2+39, RPT3~, RPT3+49, RPT3+52
, RPT3+54*, RPT3+56*, RPT3+58*, RPT3+60*, RPT3+61*, RPT3+62*, RPT3+64*, RPT3+65*, RPT3+67*, PHEADER~
, PHEADER+13*, PHEADER+17*, PHEADER+21*, PHEADER+25*, PHEADER+27*, PHEADER+29*, PHEADER+31*
>> LNCT RPT3+60
LSTMAN RPTOUT+20~, RPTOUT+25*, RPTOUT+26, RPTOUT+63
OUTYPE RPTOUT+20~, RPTOUT+26*, RPTOUT+28, RPTOUT+40, RPTOUT+49, RPTOUT+62, RPTOUT+67, RPTOUT+72, RPT2~, RPT2+19
, RPT2+26, RPT2+39, RPT3~, RPT3+36, RPT3+46
PAGE RPTOUT+20~, RPTOUT+21*, RPTOUT+52, RPTOUT+58, RPTOUT+64, RPT2+30, RPT3+52, PHEADER~, PHEADER+7*, PHEADER+10
PAYER RPTOUT+20~
>> RCVAUTD HDRLN2+4
RETURN DIVS+3~, DIVS+11*, DIVS+12
SORT RPTOUT+20~, RPTOUT+23*, RPTOUT+30, RPTOUT+31, RPTOUT+62, RPT2~, RPT2+23, RPT2+37, RPT2+39, RPT3~
, RPT3+21, RPT3+28, RPT3+29, RPT3+35, RPT3+38
STOP RPTOUT+20~, RPTOUT+35*, RPTOUT+37, RPTOUT+49, RPTOUT+55, RPTOUT+56*, RPTOUT+57, RPTOUT+62, RPTOUT+72, RPT2~
, RPT2+15, RPT2+26, RPT2+27, RPT2+28*, RPT2+29, RPT2+39, RPT3~, RPT3+15, RPT3+49, RPT3+50*
, RPT3+51
SVAL RPTOUT+20~, RPT2+12~, RPT2+13*, RPT2+15, RPT2+16*, RPT2+17, RPT2+18, RPT2+39, RPT3~, RPT3+16
, RPT3+19, RPT3+20, RPT3+23, RPT3+27
UORP RPT3+13~, RPT3+35*, RPT3+46, RPT3+59, RPT3+60, RPT3LM~, RPT3LM+20, RPT3LM+22, RPT3LM+23
UORPF RPT3+13~, RPT3+14*, RPT3+46, RPT3+60*, RPT3+63, RPT3+64*, RPT3LM~, RPT3LM+19, RPT3LM+20*, RPT3LM+23*
UORPL RPT3+13~, RPT3+21*, RPT3+46, RPT3+59, RPT3+60*, RPT3LM~, RPT3LM+20*, RPT3LM+22, RPT3LM+23*
VAUTD DIVS~
VAUTD( DIVS+7
XX RPTOUT+29*, RPTOUT+30*, RPTOUT+31*, RPTOUT+32*, RPTOUT+33, RPTOUT+41*, RPTOUT+45*, RPTOUT+46, RPTOUT+47, RPTOUT+66*
, RPTOUT+70, RPTOUT+71, RPT2+12~, RPT2+13*, RPT2+14, RPT2+20*, RPT2+22*, RPT2+23*, RPT2+24, RPT3+13~
, RPT3+19*, RPT3+20*, RPT3+21, RPT3+37*, RPT3+39*, RPT3+41*, RPT3+42*, RPT3+43, RPT3LM+17~, RPT3LM+18*
, RPT3LM+20*, RPT3LM+21, RPT3LM+24*, RPT3LM+25, RPT3LM+26*, RPT3LM+27, RPT3LM+28*, RPT3LM+29, RPT3LM+30, PHEADER+6~
, PHEADER+8*, PHEADER+9*, PHEADER+11*, PHEADER+12, PHEADER+15*, PHEADER+16, PHEADER+19*, PHEADER+20, PHEADER+23*, PHEADER+24
, HDRLN2+3~, HDRLN2+4*, HDRLN2+5, HDRLN3+3~, HDRLN3+5*, HDRLN3+6*, HDRLN3+10*, HDRLN3+11, HDRLN4+3~, HDRLN4+5*
, HDRLN4+7*, HDRLN4+8, DIVS+3~, DIVS+9*, DIVS+10
YY RPTOUT+68*, RPTOUT+69, RPTOUT+70, RPT3+13~, RPT3+31*, RPT3+32, RPT3+33*, RPT3+34, PHEADER+6~, PHEADER+7*
, PHEADER+9, PHEADER+10*, PHEADER+11, HDRLN3+3~, HDRLN3+4*, HDRLN3+5, HDRLN3+7*, HDRLN3+9*, HDRLN3+10, HDRLN4+3~
, HDRLN4+4*, HDRLN4+6*, HDRLN4+7
Z0 DIVS+3~, DIVS+5*, DIVS+6, DIVS+7*, DIVS+8, DIVS+9
Z1 DIVS+3~, DIVS+4*, DIVS+10*, DIVS+11
ZZ PHEADER+6~, HDRLN3+3~, HDRLN3+8*, HDRLN3+9, HDRLN4+3~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All