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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: RCXFMSW1

Package: Accounts Receivable

Routine: RCXFMSW1


Information

RCXFMSW1 ;WISC/RFJ-fms writeoff (wr) code sheet generator for a transaction ;1 Feb 2000

Source Information

Source file <RCXFMSW1.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Accounts Receivable 8 $$ACCK^PRCAACC  $$DTYPE^PRCAFBD1  $$FMSDATE^RCBEUTRA  $$SELTRAN^RCDPTPLM  OPEN^RCFMDRV1  SSTAT^RCFMFN02  $$ENUM^RCMSNUM  $$LINE^RCXFMSC1  
Generic Code Sheet 5 SETCODE^GECSSDCT  ($$STATUS,DATA)^GECSSGET  (SETCS,SETSTAT)^GECSSTAA  REBUILD^GECSUFM1  CONTROL^GECSUFMS  
VA FileMan 2 DD^%DT  ^DIR  

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

Package Total Caller Graph
Accounts Receivable 2 PRCA FMS WRITE-OFF  RCWROFF  

Entry Points

Name Comments DBIA/ICR reference
REGENWR ; regenerate write off document (menu option)
BUILDWR(RCTRANDA) ; this entry point is called to generate a wr document to fms for a single transaction
FMSSTAT(RCTRANDA) ; return the fms wr document ^ status ^ file 347 ien
SHOWTRAN(RCTRANDA) ; show data for transaction
ASKOK() ; ask to regenerate write off document

External References

Name Field # of Occurrence
DD^%DT SHOWTRAN+10
^DIR ASKOK+4
SETCODE^GECSSDCT BUILDWR+48
$$STATUS^GECSSGET FMSSTAT+12
DATA^GECSSGET BUILDWR+14
SETCS^GECSSTAA BUILDWR+46, BUILDWR+47
SETSTAT^GECSSTAA BUILDWR+49
REBUILD^GECSUFM1 BUILDWR+45
CONTROL^GECSUFMS BUILDWR+44
$$ACCK^PRCAACC REGENWR+10
$$DTYPE^PRCAFBD1 BUILDWR+24
$$FMSDATE^RCBEUTRA BUILDWR+33
$$SELTRAN^RCDPTPLM REGENWR+3
OPEN^RCFMDRV1 BUILDWR+56
SSTAT^RCFMFN02 BUILDWR+57
$$ENUM^RCMSNUM BUILDWR+16
$$LINE^RCXFMSC1 BUILDWR+27

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: REGENWR+3
Function Call: WRITE
  • Prompt: !,"Another user is working with this transaction. Try again later."
  • Line Location: REGENWR+4
Function Call: WRITE
  • Prompt: !,"You can only send a WRITE OFF document for transactions that write off a bill."
  • Line Location: REGENWR+6
Function Call: WRITE
  • Prompt: !,"This transaction was NOT processed."
  • Line Location: REGENWR+8
Function Call: WRITE
  • Prompt: !,"ACCRUED bills do not get sent in detail to FMS."
  • Line Location: REGENWR+10
Function Call: WRITE
  • Prompt: !,"Previously sent in WR FMS document: ",$S($P(FMSDOC,"^")="":"NOT FOUND",1:$P(FMSDOC,"^"))," Status: ",$E($P(FMSDOC,"^",2),1,16)
  • Line Location: REGENWR+13
Function Call: WRITE
  • Prompt: !,"The FMS document has been ",$P(FMSDOC,"^",2)," and cannot be regenerated."
  • Line Location: REGENWR+14
Function Call: WRITE
  • Prompt: !,"The principal amount needs to be greater than ZERO."
  • Line Location: REGENWR+16
Function Call: WRITE
  • Prompt: !,"WR Document regenerated and retransmitted to FMS."
  • Line Location: REGENWR+20
Function Call: WRITE
  • Prompt: !,"Unable to regenerate document. ",$P(Y,"^",2)
  • Line Location: REGENWR+21
Function Call: WRITE
  • Prompt: !!,RCWRLINE
  • Line Location: SHOWTRAN+6
Function Call: WRITE
  • Prompt: !,"TRANSACTION NUMBER: ",RCTRANDA
  • Line Location: SHOWTRAN+7
Function Call: WRITE
  • Prompt: ?40,"WAIVED AMOUNT: ",$J($P(DATA1,"^",5),0,2)
  • Line Location: SHOWTRAN+8
Function Call: WRITE
  • Prompt: !,"BILL NUMBER: ",$P($G(^PRCA(430,+$P(DATA0,"^",2),0)),"^")
  • Line Location: SHOWTRAN+9
Function Call: WRITE
  • Prompt: ?42,"WAIVED DATE: ",Y
  • Line Location: SHOWTRAN+11
Function Call: WRITE
  • Prompt: !?8,"Principal Waived: ",$J($P(DATA8,"^"),9,2)
  • Line Location: SHOWTRAN+12
Function Call: WRITE
  • Prompt: !?8," Interest Waived: ",$J($P(DATA8,"^",2),9,2)
  • Line Location: SHOWTRAN+13
Function Call: WRITE
  • Prompt: !?8," Admin Waived: ",$J($P(DATA8,"^",3)+$P(DATA8,"^",4)+$P(DATA8,"^",5),9,2)
  • Line Location: SHOWTRAN+14
Function Call: WRITE
  • Prompt: !?26,"---------"
  • Line Location: SHOWTRAN+15
Function Call: WRITE
  • Prompt: !?8," TOTAL Waived: ",$J($P(DATA8,"^")+$P(DATA8,"^",2)+$P(DATA8,"^",3)+$P(DATA8,"^",4)+$P(DATA8,"^",5),9,2)
  • Line Location: SHOWTRAN+16
Function Call: WRITE
  • Prompt: !!,RCWRLINE
  • Line Location: SHOWTRAN+17
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKOK+4
Routine Call
  • DIR
  • Line Location:
    • ASKOK+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRCA(430 - [#430] BUILDWR+24, BUILDWR+26, BUILDWR+30, SHOWTRAN+9
^PRCA(433 - [#433] REGENWR+4, REGENWR+5, REGENWR+6, REGENWR+8, REGENWR+10, REGENWR+14, REGENWR+15, REGENWR+16, REGENWR+17, REGENWR+19
, BUILDWR+2, BUILDWR+5, BUILDWR+9, BUILDWR+52*, FMSSTAT+3, SHOWTRAN+2, SHOWTRAN+3, SHOWTRAN+4
^RC(347 - [#347] BUILDWR+9, BUILDWR+11, BUILDWR+12, FMSSTAT+5, FMSSTAT+8, FMSSTAT+9

Label References

Name Line Occurrences
$$ASKOK REGENWR+17
$$BUILDWR REGENWR+18
$$FMSSTAT REGENWR+12
SHOWTRAN REGENWR+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT BUILDWR+43~, BUILDWR+55~
CATEGORY BUILDWR+1~, BUILDWR+30*, BUILDWR+31
CR2 BUILDWR+1~, BUILDWR+34*, BUILDWR+35*, BUILDWR+36*, BUILDWR+37*, BUILDWR+38*, BUILDWR+39*, BUILDWR+40*, BUILDWR+46
D BUILDWR+43~, BUILDWR+55~
D0 BUILDWR+43~, BUILDWR+55~
DA BUILDWR+43~
DA347 BUILDWR+1~, BUILDWR+9*, BUILDWR+11*, BUILDWR+12, BUILDWR+56, BUILDWR+57, FMSSTAT+1~, FMSSTAT+5*, FMSSTAT+8*, FMSSTAT+9
, FMSSTAT+13
DATA0 SHOWTRAN+1~, SHOWTRAN+2*, SHOWTRAN+9
DATA1 SHOWTRAN+1~, SHOWTRAN+3*, SHOWTRAN+8, SHOWTRAN+10
DATA8 SHOWTRAN+1~, SHOWTRAN+4*, SHOWTRAN+12, SHOWTRAN+13, SHOWTRAN+14, SHOWTRAN+16
DI BUILDWR+43~, BUILDWR+55~
DIC BUILDWR+43~, BUILDWR+55~
DIE BUILDWR+43~
DIQ2 BUILDWR+1~, ASKOK+1~
DIR ASKOK+1~
DIR("A" ASKOK+3*
DIR("B" ASKOK+2*
DIR(0 ASKOK+2*
DIRUT ASKOK+1~
DOCTOTAL BUILDWR+1~, BUILDWR+5*, BUILDWR+6, BUILDWR+22, BUILDWR+37
DQ BUILDWR+43~, BUILDWR+55~
DR BUILDWR+43~
DT BUILDWR+33, BUILDWR+38, BUILDWR+39, BUILDWR+40
DTOUT ASKOK+1~, ASKOK+5
DUOUT ASKOK+1~, ASKOK+5
ERROR BUILDWR+55~, BUILDWR+56
FMSDOC REGENWR+1~, REGENWR+12*, REGENWR+13, REGENWR+14
FMSDOCNO BUILDWR+1~, BUILDWR+9*, BUILDWR+10, BUILDWR+12*, BUILDWR+14, FMSSTAT+1~, FMSSTAT+3*, FMSSTAT+5, FMSSTAT+7, FMSSTAT+9*
, FMSSTAT+12, FMSSTAT+13
FMSDT BUILDWR+33~*, BUILDWR+34
FMSLINE BUILDWR+1~, BUILDWR+21*, BUILDWR+22*, BUILDWR+23*, BUILDWR+24*, BUILDWR+25*, BUILDWR+26*, BUILDWR+27*, BUILDWR+31*, BUILDWR+47
GECSDATA BUILDWR+1~, BUILDWR+14, BUILDWR+44, BUILDWR+45
GECSFMS BUILDWR+43~
GECSFMS("CTL" BUILDWR+52, BUILDWR+56, BUILDWR+59
GECSFMS("DA" BUILDWR+45*, BUILDWR+46, BUILDWR+47, BUILDWR+48, BUILDWR+49
PRINAMT REGENWR+1~, REGENWR+15*, REGENWR+16
RCBILLDA BUILDWR+1~, BUILDWR+2*, BUILDWR+3, BUILDWR+24, BUILDWR+26, BUILDWR+27, BUILDWR+30, BUILDWR+56
RCTRANDA REGENWR+1~, REGENWR+2, REGENWR+3*, REGENWR+4, REGENWR+5, REGENWR+6, REGENWR+8, REGENWR+9, REGENWR+10, REGENWR+12
REGENWR+14, REGENWR+15, REGENWR+16, REGENWR+17*, REGENWR+18, REGENWR+19, BUILDWR~, BUILDWR+2, BUILDWR+5, BUILDWR+9
, BUILDWR+11, BUILDWR+52, BUILDWR+56, BUILDWR+57, FMSSTAT~, FMSSTAT+3, FMSSTAT+8, SHOWTRAN~, SHOWTRAN+2, SHOWTRAN+3
, SHOWTRAN+4, SHOWTRAN+7
RCWRLINE SHOWTRAN+1~, SHOWTRAN+5*, SHOWTRAN+6, SHOWTRAN+17
REFMS BUILDWR+1~, BUILDWR+14*
STATUS FMSSTAT+1~, FMSSTAT+11*, FMSSTAT+12*, FMSSTAT+13
TRANNUMB BUILDWR+1~, BUILDWR+14*, BUILDWR+16*, BUILDWR+17, BUILDWR+19*, BUILDWR+44
TRANTYPE REGENWR+1~, REGENWR+5*, REGENWR+6
X BUILDWR+43~, BUILDWR+55~, ASKOK+1~
Y REGENWR+1~, REGENWR+17*, REGENWR+18*, REGENWR+20, REGENWR+21, SHOWTRAN+1~, SHOWTRAN+10*, SHOWTRAN+11, ASKOK+1~, ASKOK+5*
, ASKOK+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All