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

Package: IFCAP

Routine: PRCHRP10


Information

PRCHRP10 ;WISC/KMB/CR HISTORY OF PURCHASE CARD TRANSACTIONS ;6/26/98 11:21

Source Information

Source file <PRCHRP10.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 DD^%DT  NOW^%DTC  ^DIR  
IFCAP 1 ^PRCFSITE  

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

Package Total Caller Graph
IFCAP 3 PRCH P/C REP10  PRCH P/C REP101  PRCH P/C REP102  

Entry Points

Name Comments DBIA/ICR reference
STR1
STR2
START ;
DETAIL ;
WRITE ;
HOLD
HEADER ;

External References

Name Field # of Occurrence
DD^%DT DETAIL+1, DETAIL+16
NOW^%DTC DETAIL+1
^%ZIS START+14
^%ZISC START+15, START+16
^%ZTLOAD START+15
^DIR START+8, START+10, START+12
^PRCFSITE START+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: START+5
Function Call: WRITE
  • Prompt: " ",Y(0)
  • Line Location: START+8
Function Call: WRITE
  • Prompt: " ",Y(0)
  • Line Location: START+10
Function Call: WRITE
  • Prompt: !,"Date range is incorrect."
  • Line Location: START+11
Function Call: WRITE
  • Prompt: !!!!,?10,"*** NO RECORDS TO PRINT ***"
  • Line Location: WRITE+1
Function Call: WRITE
  • Prompt: !,$P(LINE1,"^"),?6,$P(LINE1,"^",2),?19,$P(LINE1,"^",3),?36,$P(LINE1,"^",4),?58,$P(LINE1,"^",5)
  • Line Location: WRITE+5
Function Call: WRITE
  • Prompt: !,?3,$J(AMT1,0,2),?18,$P(^TMP($J,CP,ZP,2),"^",2),?36,$P(^TMP($J,CP,ZP,2),"^",3)
  • Line Location: WRITE+6
Function Call: WRITE
  • Prompt: $P(LINE4,"^",1),!
  • Line Location: WRITE+8
Function Call: WRITE
  • Prompt: $P(LINE4,"^",1),!
  • Line Location: WRITE+9
Function Call: WRITE
  • Prompt: !,?30,"CONTROL POINT ",$P(LINE1,"^")," SUBTOTAL: ",$J(TOT,0,2),!
  • Line Location: WRITE+12
Function Call: WRITE
  • Prompt: ?30,"TOTAL: ",$J(GTOT,0,2)
  • Line Location: WRITE+13
Function Call: WRITE
  • Prompt: !?30,"(EXCLUDES Cancelled Orders)"
  • Condition for execution: $D(^TMP("CANC",$J))
  • Line Location: WRITE+13
Function Call: READ
  • Variable: XXZ
  • Timeout: DTIME
  • Line Location: HOLD+0
Function Call: WRITE
  • Prompt: !,"Press return to continue, '^' to exit: "
  • Line Location: HOLD+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: !,"HISTORY OF PURCHASE CARD TRANSACTIONS REPORT - "
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: $S(STATUS="U":"UNPAID",STATUS="P":"PAID",1:"ALL")
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: ?56,HDATE,?70,"PAGE ",P
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,"FCP",?6,"PO NUMBER",?19,"PURCHASE DATE",?36,"BUYER",?58,"VENDOR"
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !,?3,"AMOUNT",?18,"COST CENTER",?36,"BUDGET OBJECT CODE",!,"FIRST LINE ITEM DESCRIPTION",!,"STATUS"
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: "--------"
  • Line Location: HEADER+6
Routine Call
  • DIR
  • Line Location:
    • START+8
    • START+10
    • START+12
Routine Call
  • %ZIS
  • Line Location:
    • START+14

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRC(440 - [#440] DETAIL+17
^PRC(440.5 - [#440.5] DETAIL+6, DETAIL+7, DETAIL+17
^PRC(442 - [#442] DETAIL+4, DETAIL+5, DETAIL+8, DETAIL+11, DETAIL+18, DETAIL+22
^PRCD(442.3 - [#442.3] DETAIL+8, DETAIL+11
^TMP("CANC" START+4!, WRITE+9*, WRITE+13, WRITE+14!
^TMP($J START+4!, DETAIL+25*, WRITE+1, WRITE+2, WRITE+3, WRITE+5, WRITE+6, WRITE+7, WRITE+8, WRITE+14!
^VA(200 - [#200] DETAIL+17

Label References

Name Line Occurrences
DETAIL START+16
HEADER WRITE+1, WRITE+4, HOLD
HOLD WRITE+10
START START+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % DETAIL+1
>> %ZIS START+14*
>> %ZIS("B" START+14*
AMT START+1~, DETAIL+17*, DETAIL+24
AMT1 START+1~, WRITE+6*, WRITE+9*, WRITE+11
ARR START+1~
ARR( DETAIL+3*, DETAIL+9, DETAIL+10
BOC START+1~, DETAIL+22*, DETAIL+24
CC START+1~, DETAIL+22*, DETAIL+24
CP START+1~, DETAIL+14*, DETAIL+15, DETAIL+21, DETAIL+25*, WRITE+2*, WRITE+3, WRITE+5, WRITE+6, WRITE+7
WRITE+8
CSTATUS START+1~, DETAIL+8*, DETAIL+9, DETAIL+10, DETAIL+23
DIR START+1~, START+8!, START+10!, START+12!
DIR("?" START+7*, START+9*
DIR("A" START+7*, START+9*, START+12*
DIR(0 START+8*, START+10*, START+12*
DTIME HOLD
DUZ DETAIL+6, DETAIL+7
EDATE START+1~, START+10*, START+11, DETAIL+15
EX START+1~, DETAIL+2*, WRITE+2, WRITE+3, WRITE+10, WRITE+12, WRITE+13, HOLD*
F1 START+1~, DETAIL+11*, DETAIL+13, DETAIL+14, DETAIL+17, DETAIL+20, DETAIL+22
F2 START+1~, DETAIL+11*, DETAIL+14, DETAIL+17
FDATE START+1~, START+8*, START+11, DETAIL+15
FLAG STR1*, STR2*, START+15!, START+16!, DETAIL+6, DETAIL+7
GTOT START+1~, WRITE+2*, WRITE+11*, WRITE+13
HDATE START+3~, DETAIL+1*, HEADER+3
I START+1~, DETAIL+3*, HEADER+6*
IO DETAIL+2, HOLD
>> IO("Q" START+15
>> IO(0 HOLD
IOF START+5, HEADER+1
IOSL WRITE+10
IOST HOLD
LINE1 START+1~, DETAIL+21*, DETAIL+25, WRITE+5*, WRITE+12
LINE2 START+2~, DETAIL+24*, DETAIL+25
LINE3 START+2~, DETAIL+11*, DETAIL+25
LINE4 START+2~, WRITE+8*, WRITE+9
LSTATUS START+2~, DETAIL+23*, DETAIL+25
P START+2~, DETAIL+2*, WRITE+1*, WRITE+4, HEADER+3, HEADER+7*
PAT START+2~, DETAIL+20*, DETAIL+21
PC START+2~, DETAIL+5*, DETAIL+6, DETAIL+7, DETAIL+17
>> POP START+14
POSTATUS START+2~, DETAIL+2*, DETAIL+11*, DETAIL+23
PRC START+3~
PRC("SITE" START+6, DETAIL+13
>> PRCF("X" START+6*
QSTATUS START+2~
STATUS START+2~, START+12*, START+13*, DETAIL+9, DETAIL+10, WRITE+1*, HEADER+2
TDATE START+2~, DETAIL+16*, DETAIL+21
TOT START+2~, WRITE+2*, WRITE+3*, WRITE+11*, WRITE+12*
U DETAIL+2*
USER START+3~, DETAIL+17*, DETAIL+21
VEND START+3~, DETAIL+17*, DETAIL+18*, DETAIL+19*, DETAIL+21
X START+3~, START+6
XXZ START+3~, HOLD*
Y START+3~, START+8, START+10, START+12, DETAIL+1*, DETAIL+14*, DETAIL+15, DETAIL+16
Y(0 START+8, START+10
ZP START+3~, DETAIL+2*, DETAIL+4*, DETAIL+5, DETAIL+8, DETAIL+11, DETAIL+18, DETAIL+22, DETAIL+25, WRITE+2*
WRITE+3*, WRITE+5, WRITE+6, WRITE+7, WRITE+8
ZTR START+3~
>> ZTRTN START+15*
>> ZTSAVE("*" START+15*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All