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,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: 12

Package Total Caller Graph
Accounts Receivable 12 PRCAP382  PRCASER1  PRCAWO1  PRCAWREA  RCBEPAY2  RCBEUTR1  RCBEUTR2  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) ; 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) ; 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) ;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
STATUS(RCRPIEN) ; Returns the current status of the plan.

External References

Name Field # of Occurrence
^DIC SELRPP+7
FILE^DICN DBTCOM+8, UPDPAY+11
^DIE UPDTERMS+6, UPDSTAT+7, RMBILL+10, UPDPAID+13, UPDPAO+5, RMVPLN+6
$$GET1^DIQ UPDPAY+17, UPDBAL+6, UPDBAL+9, UPDBAL+17, UPDBAL+21, UPDBAL+30, UPDBAL+43, UPDBAL+44
^DIR GETRSN+8
LOCKF^PRCAWO1 RMVPLN+6
ADJSCHED^RCRPENTR UPDBAL+49
$$PMNTS^RCRPINQ UPDBAL+52
$$GETNXTPY^RCRPU STATUS+12
REMBILL^RCRPU UPDBAL+13
TRAN^RCRPU RMBILL+14, UPDTRAN+11, RMVPLN+10
UPDPAYST^RCRPU UPDPAY+14
$$DT^XLFDT UPDSTAT+6, UPDPAY+9, 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
Routine Call
  • DIC
  • Line Location:
    • SELRPP+7
Routine Call
  • DIE
  • Line Location:
    • UPDTERMS+6
    • UPDSTAT+7
    • RMBILL+10
    • UPDPAID+13
    • UPDPAO+5
    • RMVPLN+6
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+11, PAID+12, STATUS+4

Label References

Name Line Occurrences
$$STATUS UPDPAY+18
PAID UPDBAL+53
RMVPLN PAID+14
UPDPAO UPDBAL+40
UPDPAY UPDBAL+27
UPDSTAT UPDPAY+19, UPDBAL+53, PAID+5
UPDTERMS UPDBAL+49

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+5*, RMVPLN+7!
DA(1 UPDPAY+9*, UPDPAID+11*, UPDPAID+12
DD UPDTRAN+8!, UPDPAY+6~
DIC UPDTRAN+8!, DBTCOM+4~, DBTCOM+7*, SELRPP+4~, SELRPP+5*, UPDPAY+6~, UPDPAY+9*, RMVPLN+3~, RMVPLN+5*, RMVPLN+7!
DIC("A" SELRPP+7*
DIC("DR" UPDPAY+10*
DIC("W" SELRPP+6*
DIC(0 DBTCOM+7*, SELRPP+5*, UPDPAY+9*
DIE UPDTERMS+2~, UPDTERMS+5*, UPDSTAT+4~, UPDSTAT+5*, RMBILL+8*, RMBILL+11!, UPDPAID+4~, UPDPAID+12*, UPDPAO+2~, UPDPAO+4*
, RMVPLN+3~, RMVPLN+5*, RMVPLN+7!
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+9*
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+5*, RMVPLN+7!
DTOUT GETRSN+1~, GETRSN+9, SELRPP+4~
DUOUT GETRSN+1~, GETRSN+9, SELRPP+4~
PRCA RMVPLN+3~
PRCA("LOCK" RMVPLN+6*
RCAMT UPDPAY~, UPDPAY+10, UPDBAL+3~, UPDBAL+21*, UPDBAL+22, UPDBAL+27, UPDBAL+34*, UPDBAL+37, UPDPAO~, UPDPAO+3
, RMVPLN+3~
RCBILLDA UPDBAL~, UPDBAL+6, UPDBAL+13, PAID+2~, PAID+12*, PAID+13, PAID+14, RMVPLN~, RMVPLN+5, RMVPLN+10
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+17*, UPDPAY+19
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+10*
, PAID+11*, PAID+12
RCIEN GETRSN+1~, RMBILL~, RMBILL+6, RMBILL+7, UPDTRAN~, UPDTRAN+6, UPDTRAN+7, UPDPAY~, UPDPAY+9, UPDPAY+14
, UPDPAY+17, UPDPAY+18, UPDPAY+19, UPDPAID~, UPDPAID+8, UPDPAID+11, UPDBAL+3~, UPDBAL+6*, UPDBAL+7, UPDBAL+13
, UPDBAL+27, UPDBAL+30, UPDBAL+40, UPDBAL+43, UPDBAL+44, UPDBAL+49, UPDBAL+52, UPDBAL+53, UPDPAO~, UPDPAO+4
, PAID~, PAID+5, PAID+11, PAID+12
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+3~, UPDBAL+43*, UPDBAL+45, UPDBAL+49
RCNOMN UPDBAL+3~, UPDBAL+44*, UPDBAL+49
RCNWLN UPDBAL+3~, UPDBAL+45*, UPDBAL+46*, UPDBAL+49
RCNWMOD UPDBAL+3~, UPDBAL+45*, UPDBAL+46
RCPD UPDPAID+5~, UPDPAID+8*
RCPDFLG UPDPAID+5~, UPDPAID+8*, UPDPAID+9
RCPLNS UPDTERMS~, UPDTERMS+3
RCPYMNTS UPDBAL+3~, UPDBAL+52*, UPDBAL+53
RCRMBAL UPDBAL+3~, UPDBAL+30*, UPDBAL+37*, UPDBAL+40, UPDBAL+45, UPDBAL+53
RCRPIEN UPDTERMS~, UPDTERMS+5, UPDSTAT~, UPDSTAT+5, STATUS~, STATUS+4, STATUS+12
RCRPPFLG UPDBAL+3~, UPDBAL+17*, UPDBAL+18, UPDBAL+26, UPDBAL+34
RCRVW UPDTERMS~, UPDTERMS+4
RCSTAT UPDPAY+7~, UPDPAY+18*, UPDPAY+19, 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+10
RCTRANDA DBTCOM~, DBTCOM+7, UPDBAL~, UPDBAL+9, UPDBAL+21, UPDBAL+27
RCTRTYPE UPDBAL+3~, UPDBAL+9*, UPDBAL+10, UPDBAL+13, UPDBAL+17
RCTXTFLG DBTCOM~, DBTCOM+6
U UPDTERMS+3, RMBILL+13, UPDTRAN+10, UPDPAID+8, UPDBAL+49, STATUS+5, STATUS+6, STATUS+7
X UPDTERMS+2~, GETRSN+1~, UPDSTAT+4~, RMBILL+11!, UPDTRAN+8!, DBTCOM+4~, DBTCOM+7*, SELRPP+4~, UPDPAY+9*, 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~
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