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

Package: Accounts Receivable

Routine: RCRJRBD


Information

RCRJRBD ;WISC/RFJ,TJK-bad debt extractor and report ;10/18/10 9:00am

Source Information

Source file <RCRJRBD.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Accounts Receivable 5 $$PTACCT^PRCAACC  $$TRANBAL^RCRJRCOT  BADDEBT^RCXFMSSV  $$GETFUNDB^RCXFMSUF  $$CALCRSC^RCXFMSUR  
VA FileMan 3 FILE^DICN  ^DIK  $$GET1^DIQ  
Integrated Billing 1 $$MRATYPE^IBCEMU2  
Kernel 1 ($$DOW,$$FMADD)^XLFDT  

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: 6

Package Total Caller Graph
Accounts Receivable 6 RCBMILL  RCRJRBDR  RCRJRBDT  RCRJRCO  RCRJRCOC  RCRJRCOL  

Entry Points

Name Comments DBIA/ICR reference
START(DATEEND) ; run bad debt report
; the DATEEND is the last day of the month being run
; from the routine RCRJRCOL which is the data extractor. The
; current receivable dollars is stored in ^TMP($J,"RCRJRBD",SGL)
; where SGL is the standard general ledger 1319, 1338, or 1339.
STORE(SGL,DR) ; store data for Standard Ledger Account
DELETALL ; delete all the entries from the bad debt file
WD3() ; return the third work day of the month
PREVMONT(FORDATE) ; return the previous month's date
SGL(CATEGORY,FUND) ;
BDRSGL(CAT,FUND,MRATYPE) ; Calculate SGLs for the BDR process

External References

Name Field # of Occurrence
FILE^DICN STORE+3
^DIK DELETALL+3
$$GET1^DIQ START+34, START+90, START+114, START+115
$$MRATYPE^IBCEMU2 START+41, START+99
$$PTACCT^PRCAACC START+37, START+93
$$TRANBAL^RCRJRCOT START+56, START+105
BADDEBT^RCXFMSSV START+174
$$GETFUNDB^RCXFMSUF START+35, START+91
$$CALCRSC^RCXFMSUR START+116
$$DOW^XLFDT WD3+2
$$FMADD^XLFDT START+20, START+73

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^RC(348.1 - [#348.1] Classic Fileman Calls
^PRCA(430 - [#430] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY("B" WD3+2
^PRCA(430 - [#430] START+23, START+24, START+25, START+30, START+48, START+84, START+96
^PRCA(433 - [#433] START+53, START+54, START+77, START+78, START+80, START+82
^RC(348.1 - [#348.1] START+13, START+166, DELETALL+3
^TMP($J START+143, START+151, START+159
^XTMP("PRCABDET" START+72!, START+73*, START+118*

Label References

Name Line Occurrences
$$BDRSGL START+44, START+102
DELETALL START+121
STORE START+164

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DELETALL+1~
ACTDATE START+6~, START+22*, START+23*, START+24, START+41
ACTUALCA START+6~
ACTUALCA( START+112*, START+160
ACTUALWO START+6~
ACTUALWO( START+110*, START+152
ARACTDT START+9~, START+96*, START+99
BEGDATE START+6~, START+19*, START+22
BILLDA START+6~, START+24*, START+25, START+30, START+34, START+35, START+41, START+48, START+53, START+82*
, START+83, START+84, START+90, START+91, START+96, START+99, START+114, START+115, START+116, START+118
CAT SGL+3, SGL+4, SGL+5, BDRSGL~, BDRSGL+43, BDRSGL+44, BDRSGL+45, BDRSGL+48, BDRSGL+49, BDRSGL+50
, BDRSGL+52, BDRSGL+53, BDRSGL+54, BDRSGL+56, BDRSGL+57, BDRSGL+58, BDRSGL+59, BDRSGL+60
CATEGORY START+6~, START+25*, START+27, START+44, START+84*, START+86, START+102, START+118, SGL~, SGL+6
, SGL+7, SGL+8, SGL+9, SGL+10, SGL+11
COLLECT START+7~, START+127*, START+139, START+149, START+157
CONTRACT START+7~, START+157*, START+158, START+159
D0 STORE+1~
DA STORE+1~, DELETALL+1~, DELETALL+3*
DATEEND START~, START+19, START+20, START+77, START+174
DD STORE+1~
DI STORE+1~
DIC STORE+1~, STORE+2*, DELETALL+1~
DIC("DR" STORE+2*
DIC(0 STORE+2*
DIE STORE+1~
DIK DELETALL+1~, DELETALL+2*
>> DILOCKTM START+13
DINUM STORE+1~
DO STORE+1~
DQ STORE+1~
DR START+7~, START+139*, START+143*, START+150*, START+151*, START+152*, START+158*, START+159*, START+160*, START+163*
, START+164, STORE~, STORE+2
DT START+73, WD3+2
ENDDATE START+7~, START+20*, START+23
FORDATE PREVMONT~, PREVMONT+2
FUND START+7~, START+34*, START+35*, START+37, START+44, START+90*, START+91*, START+93, START+102, START+118
, SGL~, SGL+1, SGL+2, SGL+3, SGL+4, SGL+5, BDRSGL~, BDRSGL+40, BDRSGL+41, BDRSGL+42
, BDRSGL+43, BDRSGL+44, BDRSGL+45, BDRSGL+48, BDRSGL+49, BDRSGL+52, BDRSGL+53, BDRSGL+54
J WD3+1~, WD3+2*
MRATYPE START+9~, START+41*, START+44, START+99*, START+102, BDRSGL~, BDRSGL+50, BDRSGL+58, BDRSGL+59, BDRSGL+60
P WD3+1~, WD3+2*, WD3+3
PAY START+7~, START+49*, START+60*, START+63*, START+67
PAYMENT START+7~
PAYMENT( START+67*, START+127
PREVDATE PREVMONT+1~, PREVMONT+2*, PREVMONT+3*, PREVMONT+4
PRIN START+7~, START+48*, START+58*, START+63, START+66
PRINCPAL START+7~
PRINCPAL( START+66*, START+127
RCPRIN START+9~, START+107*, START+118
RCRJDATE START+8~
RCRJFMM START+8~
RCTOMCCF START+9~
RCVALUE START+9~, START+105*, START+107, START+110, START+112, START+118
RSC START+9~, START+114*, START+115*, START+116*, START+118
SGL START+8~, START+44*, START+66, START+67, START+102*, START+110, START+112, START+118, START+125*, START+127
, START+143, START+148, START+151, START+152, START+156, START+159, START+160, START+164, STORE~, STORE+2
TRANDA START+8~, START+52*, START+53*, START+54, START+56, START+78*, START+80, START+82, START+105, START+118
TRANDATE START+8~, START+75*, START+77*, START+78, START+118
TRANTYPE START+8~, START+54*, START+55, START+58, START+60, START+74*, START+77, START+78, START+80, START+110
, START+112, START+118
V WD3+1~, WD3+2*
VALUE START+8~, START+56*, START+58, START+60
WRITEOFF START+8~, START+149*, START+150, START+151
X STORE+1~, STORE+2*, DELETALL+1~, WD3+1~, WD3+3*, WD3+4
Y STORE+1~, DELETALL+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All