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 |  FileMan Files Accessed Via FileMan Db Call
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>

Entry Points

Name Comments DBIA/ICR reference
UPDTERMS(RCRPIEN,RCPLNS,RCRVW) ; Update the terms of the plan. PRCA*4.5*389
CHKFLGS(RCRPIEN,RPMNTS,FLG36,FLG60) ; check if we need to update 36 months and 60 months review flags PRCA*4.5*423
UPDFLG36(RCRPIEN,VAL) ; update 36 months review flag (field 340.5/1.06) PRCA*4.5*389
GETRSN() ; Get the reason the plan was closed.
UPDSTAT(RCRPIEN,RCNWSTAT) ; 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 PLAN AMOUNT OWE3D field
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.
AUTOADD(DEF) ; display "allow bills to be auto-added?" prompt PRCA*4.5*378
UPDAUTO(RCIEN,RCAUTO) ; Update "auto-add bills" flag. PRCA*4.5*378
STATUS(RCRPIEN) ; Returns the current status of the plan.

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
Function Call: WRITE
  • Prompt: !!,"This repayment plan has been CLOSED.",!!
  • Line Location: PAID+22
Function Call: WRITE
  • Prompt: !!,"This repayment plan has been closed and is PAID IN FULL.",!!
  • Line Location: PAID+23

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
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call