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

Package: Accounts Receivable

Routine: RCRPU1


Information

RCRPU1 ;EDE/SAB-REPAYMENT PLAN UTILITIES;12/11/2020 8:40 AM

Source Information

Source file <RCRPU1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 5 ^DIC  FILE^DICN  ^DIE  $$GET1^DIQ  ^DIR  
Accounts Receivable 4 LOCKF^PRCAWO1  ADJSCHED^RCRPENTR  $$PMNTS^RCRPINQ  ($$GETNXTPY,REMBILL,TRAN,UPDAUDIT,UPDPAYST)^RCRPU  
Kernel 1 ($$DT,$$FMDIFF)^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: 14

Package Total Caller Graph
Accounts Receivable 14 PRCAEXM  PRCAP382  PRCASER1  PRCAWO1  PRCAWREA  RCBEPAY2  RCBEUTR1  RCBEUTR2  
RCRPADD  RCRPENTR  RCRPINQ  RCRPU  RCWROFF  RCWROFF1  

Entry Points

Name Comments DBIA/ICR reference
UPDTERMS(RCRPIEN,RCPLNS,RCRVW) ; Update the terms of the plan.
GETRSN() ; Get the reason the plan was closed.
UPDSTAT(RCRPIEN,RCSTATUS) ; Update the status of the plan
RMBILL(RCIEN) ; Remove the Repayment Plan info from the bills in the plan
UPDTRAN(RCIEN) ; Update all bills on a plan if an edit to the plan is made
DBTCOM(RCTRANDA,RCTXTFLG) ;Add Transaction comments
; RCDBTR - Referance to #433 - IEN^Name
; RCTXTFLG - Comment text
SELRPP() ; select RPP to display
UPDPAY(RCIEN,RCTRAN,RCAMT) ; Update the payment information, schedule, and status.
UPDPAID(RCIEN,RCCMP) ; Update the Paid flag in the payments.
UPDBAL(RCBILLDA,RCTRANDA,RCSPFLG) ; Update the Plan Amount Owed (#.11) in the AR
; REPAYMENT PLAN file (#340.5).
UPDPAO(RCIEN,RCAMT) ; Update the terms of the plan.
PAID(RCIEN,RCSPFLG) ; Repayment Plan is paid in full, update the status to PAID IN FULL and attempt to remove plan information from bills in plan.
RMVPLN(RCBILLDA,RCNOCLS) ;Remove the Plan info from a bill and file a Close Plan Transaction file.
; Input: RCBILLDA - IEN of the AR Bill (from file #430) to remove
; RCNOCLS - (Optional) - Flag to indicate whether to file a close Repayment Plan transaction or not.
STATUS(RCRPIEN) ; Returns the current status of the plan.

External References

Name Field # of Occurrence
^DIC SELRPP+7
FILE^DICN DBTCOM+8, UPDPAY+13
^DIE UPDTERMS+6, UPDSTAT+7, RMBILL+10, UPDPAID+13, UPDPAO+5, RMVPLN+10
$$GET1^DIQ UPDPAY+19, UPDBAL+13, UPDBAL+16, UPDBAL+26, UPDBAL+30, UPDBAL+39, UPDBAL+52, UPDBAL+53
^DIR GETRSN+8
LOCKF^PRCAWO1 RMVPLN+10
ADJSCHED^RCRPENTR UPDBAL+58
$$PMNTS^RCRPINQ UPDBAL+61
$$GETNXTPY^RCRPU STATUS+12
REMBILL^RCRPU UPDBAL+21
TRAN^RCRPU RMBILL+14, UPDTRAN+11, UPDBAL+64, RMVPLN+14
UPDAUDIT^RCRPU PAID+12
UPDPAYST^RCRPU UPDPAY+16
$$DT^XLFDT UPDSTAT+6, UPDPAY+11, PAID+12, STATUS+8
$$FMDIFF^XLFDT STATUS+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This repayment plan has been closed and is PAID IN FULL.",!!
  • Line Location: PAID+7
Function Call: WRITE
  • Prompt: !!,"This repayment plan has been CLOSED.",!!
  • Line Location: PAID+13
Routine Call
  • DIC
  • Line Location:
    • SELRPP+7
Routine Call
  • DIE
  • Line Location:
    • UPDTERMS+6
    • UPDSTAT+7
    • RMBILL+10
    • UPDPAID+13
    • UPDPAO+5
    • RMVPLN+10
Routine Call
  • DIR
  • Line Location:
    • GETRSN+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^RCRP(340.5 - [#340.5] Classic Fileman Calls,  GET1^DIQ
^PRCA(430 - [#430] Classic Fileman Calls,  GET1^DIQ
^PRCA(430.3 - [#430.3] GET1^DIQ
^PRCA(433 - [#433] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRCA(430 - [#430] RMBILL+12, UPDTRAN+9
^RCRP(340.5 - [#340.5] RMBILL+6, RMBILL+7, UPDTRAN+6, UPDTRAN+7, UPDPAID+8, PAID+17, PAID+18, STATUS+4

Label References

Name Line Occurrences
$$STATUS UPDPAY+20
PAID UPDBAL+63
RMVPLN UPDBAL+22, PAID+20
UPDPAO UPDBAL+49
UPDPAY UPDBAL+36
UPDSTAT UPDPAY+21, PAID+6, PAID+11
UPDTERMS UPDBAL+58

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA UPDTERMS+2~, UPDTERMS+5*, UPDSTAT+4~, UPDSTAT+5*, RMBILL+8*, RMBILL+11!, UPDTRAN+8!, UPDPAY+6~, UPDPAID+4~, UPDPAID+11*
, UPDPAO+2~, UPDPAO+4*, RMVPLN+9*, RMVPLN+11!
DA(1 UPDPAY+11*, UPDPAID+11*, UPDPAID+12
DD UPDTRAN+8!, UPDPAY+6~
DIC UPDTRAN+8!, DBTCOM+4~, DBTCOM+7*, SELRPP+4~, SELRPP+5*, UPDPAY+6~, UPDPAY+11*, RMVPLN+3~, RMVPLN+9*, RMVPLN+11!
DIC("A" SELRPP+7*
DIC("DR" UPDPAY+12*
DIC("W" SELRPP+6*
DIC(0 DBTCOM+7*, SELRPP+5*, UPDPAY+11*
DIE UPDTERMS+2~, UPDTERMS+5*, UPDSTAT+4~, UPDSTAT+5*, RMBILL+8*, RMBILL+11!, UPDPAID+4~, UPDPAID+12*, UPDPAO+2~, UPDPAO+4*
, RMVPLN+3~, RMVPLN+9*, RMVPLN+11!
DIR GETRSN+1~, GETRSN+8!
DIR("?" GETRSN+6*
DIR("A" GETRSN+4*
DIR(0 GETRSN+5*
DIROUT GETRSN+1~
DIRUT GETRSN+1~
DLAYGO UPDTRAN+8!, UPDPAY+6~, UPDPAY+11*
DO UPDTRAN+8!, UPDPAY+6~
DR UPDTERMS+2~, UPDTERMS+3*, UPDTERMS+4*, UPDSTAT+4~, UPDSTAT+6*, RMBILL+9*, RMBILL+11!, UPDPAY+6~, UPDPAID+4~, UPDPAID+10*
, UPDPAO+2~, UPDPAO+3*, RMVPLN+3~, RMVPLN+9*, RMVPLN+11!
DTOUT GETRSN+1~, GETRSN+9, SELRPP+4~
DUOUT GETRSN+1~, GETRSN+9, SELRPP+4~
PRCA RMVPLN+3~
PRCA("LOCK" RMVPLN+10*
RCAMT UPDPAY~, UPDPAY+12, UPDBAL+7~, UPDBAL+30*, UPDBAL+31, UPDBAL+36, UPDBAL+43*, UPDBAL+46, UPDPAO~, UPDPAO+3
, RMVPLN+3~
RCBILLDA UPDBAL~, UPDBAL+13, UPDBAL+21, UPDBAL+22, UPDBAL+64, PAID+2~, PAID+18*, PAID+19, PAID+20, RMVPLN~
, RMVPLN+9, RMVPLN+14
RCBLIEN RMBILL+3~, RMBILL+7*, RMBILL+8, RMBILL+12, RMBILL+14, UPDTRAN+3~, UPDTRAN+7*, UPDTRAN+9, UPDTRAN+11
RCCMP UPDPAID~, UPDPAID+7
RCCURDT STATUS+2~, STATUS+8*, STATUS+9, STATUS+11, STATUS+14
RCCURST UPDPAY+7~, UPDPAY+19*, UPDPAY+21
RCD0 STATUS+2~, STATUS+4*, STATUS+5, STATUS+6, STATUS+7
RCD7 RMBILL+3~, RMBILL+12*, RMBILL+13, UPDTRAN+3~, UPDTRAN+9*, UPDTRAN+10
RCDIFF STATUS+2~, STATUS+14*, STATUS+15
RCDONE GETRSN+1~
RCFRDT STATUS+2~, STATUS+5*, STATUS+11
RCI RMBILL+3~, RMBILL+13*, UPDTRAN+3~, UPDTRAN+10*, UPDPAID+5~, UPDPAID+7*, UPDPAID+8, UPDPAID+11, PAID+2~, PAID+16*
, PAID+17*, PAID+18
RCIEN GETRSN+1~, RMBILL~, RMBILL+6, RMBILL+7, UPDTRAN~, UPDTRAN+6, UPDTRAN+7, UPDPAY~, UPDPAY+9, UPDPAY+11
, UPDPAY+16, UPDPAY+19, UPDPAY+20, UPDPAY+21, UPDPAID~, UPDPAID+8, UPDPAID+11, UPDBAL+7~, UPDBAL+13*, UPDBAL+14
, UPDBAL+21, UPDBAL+36, UPDBAL+39, UPDBAL+49, UPDBAL+52, UPDBAL+53, UPDBAL+58, UPDBAL+61, UPDBAL+63, UPDPAO~
, UPDPAO+4, PAID~, PAID+6, PAID+11, PAID+12, PAID+17, PAID+18
RCLP RMBILL+3~, RMBILL+5*, RMBILL+6*, RMBILL+7, UPDTRAN+3~, UPDTRAN+5*, UPDTRAN+6*, UPDTRAN+7
RCLSTDT STATUS+2~, STATUS+12*, STATUS+13, STATUS+14
RCMNPY UPDBAL+7~, UPDBAL+52*, UPDBAL+54, UPDBAL+58
RCNOCLS RMVPLN~, RMVPLN+6*, RMVPLN+14
RCNOMN UPDBAL+7~, UPDBAL+53*, UPDBAL+58
RCNWLN UPDBAL+7~, UPDBAL+54*, UPDBAL+55*, UPDBAL+58
RCNWMOD UPDBAL+7~, UPDBAL+54*, UPDBAL+55
RCPD UPDPAID+5~, UPDPAID+8*
RCPDFLG UPDPAID+5~, UPDPAID+8*, UPDPAID+9
RCPLNS UPDTERMS~, UPDTERMS+3
RCPYMNTS UPDBAL+7~, UPDBAL+61*, UPDBAL+62
RCRMBAL UPDBAL+7~, UPDBAL+39*, UPDBAL+46*, UPDBAL+49, UPDBAL+54, UPDBAL+62
RCRPIEN UPDTERMS~, UPDTERMS+5, UPDSTAT~, UPDSTAT+5, STATUS~, STATUS+4, STATUS+12
RCRPPFLG UPDBAL+7~, UPDBAL+26*, UPDBAL+27, UPDBAL+35, UPDBAL+43
RCRVW UPDTERMS~, UPDTERMS+4
RCSPFLG UPDBAL~, UPDBAL+10*, UPDBAL+63, UPDBAL+64, PAID~, PAID+5, PAID+10
RCSTAT UPDPAY+7~, UPDPAY+20*, UPDPAY+21, STATUS+2~, STATUS+6*, STATUS+9, STATUS+10, STATUS+11, STATUS+15*, STATUS+16
RCSTATDT STATUS+2~, STATUS+7*, STATUS+9
RCSTATUS UPDSTAT~, UPDSTAT+6
RCTEXT DBTCOM+4~, DBTCOM+6*, DBTCOM+7
RCTOT RMBILL+3~, RMBILL+12*, RMBILL+13*, RMBILL+14, UPDTRAN+3~, UPDTRAN+9*, UPDTRAN+10*, UPDTRAN+11
RCTRAN UPDPAY~, UPDPAY+12
RCTRANDA DBTCOM~, DBTCOM+7, UPDBAL~, UPDBAL+16, UPDBAL+30, UPDBAL+36
RCTRTYPE UPDBAL+7~, UPDBAL+16*, UPDBAL+17, UPDBAL+20, UPDBAL+26
RCTXTFLG DBTCOM~, DBTCOM+6
U UPDTERMS+3, RMBILL+13, UPDTRAN+10, UPDPAID+8, UPDBAL+58, STATUS+5, STATUS+6, STATUS+7
X UPDTERMS+2~, GETRSN+1~, UPDSTAT+4~, RMBILL+11!, UPDTRAN+8!, DBTCOM+4~, DBTCOM+7*, SELRPP+4~, UPDPAY+11*, UPDPAID+4~
, UPDPAO+2~, RMVPLN+3~
Y UPDTERMS+2~, GETRSN+1~, GETRSN+9, GETRSN+10, UPDSTAT+4~, RMBILL+11!, UPDTRAN+8!, DBTCOM+4~, SELRPP+4~, SELRPP+8
, UPDPAID+4~, UPDPAO+2~, RMVPLN+3~
>> ZTQUEUED PAID+7
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