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

Package: IFCAP

Routine: PRCHRPTX


Information

PRCHRPTX ;AAC/JDM-PRCH ITEM HISTORY BY DATE RANGE ; [1/13/99 11:13am]

Source Information

Source file <PRCHRPTX.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 4 ^%DT  (H,NOW,YX)^%DTC  ^DIC  ^DIR  
IFCAP 1 (EN,Q)^PRCHRPT1  
Kernel 1 EN^XUTMDEVQ  

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

Package Total Caller Graph
IFCAP 4 PRCH ITEM TXHIST  PRCH ITEM TXHIST-HDR  PRCHI1  PRCHRPT1  

Entry Points

Name Comments DBIA/ICR reference
V ;;5.1;IFCAP;;Oct 20, 2000
EN ;DISPLAY ITEM HISTORY
XXLST
TOFCP
XFCP
XXITM
XXDT
LOOPPD ; Set up to locate records to display.
LOOPPD1 ; Loop through file 441.
;
; 1. Loop through Fund Control Point for PRC("SITE")
; within one Item Master File Number.
; 2. Loop through P.O. DATE (in reverse order).
; 3. Loop through a single P.O. DATE to get file 442 PO NUMBER.
DISP
MOFCP
EXIT
CALCCST ; EP -- CALCULATES ACTUAL UNIT COST TO 2 DECIMALS
HDR
PAUSE ; Test for prompt to return or exit
ASK

External References

Name Field # of Occurrence
^%DT XXDT+11, XXDT+19
H^%DTC DISP+32
NOW^%DTC XXDT+1
YX^%DTC XXDT+2, DISP+33
^DIC XXLST+20, TOFCP+1, XXITM+6
^DIR XXLST+7, XXDT+9, XXDT+17, MOFCP+4, PAUSE+4
EN^PRCHRPT1 EXIT+2
Q^PRCHRPT1 EXIT+1
EN^XUTMDEVQ XXDT+34

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"STN: ",STN
  • Line Location: XXLST+2
Function Call: WRITE
  • Prompt: !!,"START WITH FCP"
  • Line Location: XXLST+16
Function Call: WRITE
  • Prompt: " and END WITH FCP"
  • Line Location: XXLST+17
Function Call: WRITE
  • Prompt: !,"INVALID SELECTION. TRY AGAIN ('^' TO ABORT)."
  • Line Location: XXLST+22
Function Call: WRITE
  • Prompt: !!,"END WITH FCP"
  • Line Location: TOFCP+0
Function Call: WRITE
  • Prompt: !,"INVALID SELECTION. TRY AGAIN ('^' TO ABORT)."
  • Line Location: TOFCP+2
Function Call: WRITE
  • Prompt: !,"INVALID SELECTION"
  • Line Location: XXITM+8
Function Call: WRITE
  • Prompt: !
  • Line Location: XXDT+35
Function Call: WRITE
  • Prompt: !!,PODT,?15,PONUM,?26,QPR,?38,UIPX,?48,ACST,?59,TCST,?70,QTY,!,VNDX
  • Line Location: DISP+59
Function Call: WRITE
  • Prompt: CST
  • Line Location: CALCCST+10
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+0
Function Call: WRITE
  • Prompt: @IOF,!!,"Item Number: ",ITMNO,?25,"Description: "
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: ITMDESC,?71,"Page ",PG
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !?7,"SITE: ",STN,?25,"FCP: ",FCPD,!!,?26,"Quantity"
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !,?26,"Previously",?38,"Unit of",?71,"Quantity"
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !,"Date Ordered",?15,"PO Number",?26,"Received",?38,"Purchase"
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: ?48,"Unit Cost",?59,"Total Cost",?71,"Ordered",!
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: "_"
  • Line Location: HDR+10
Function Call: WRITE
  • Prompt: !!,"Press RETURN to continue"
  • Line Location: ASK+1
Routine Call
  • DIC
  • Line Location:
    • XXLST+20
    • TOFCP+1
    • XXITM+6
Routine Call
  • DIR
  • Line Location:
    • XXLST+7
    • XXDT+9
    • XXDT+17
    • MOFCP+4
    • PAUSE+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PRC(420 - [#420] Classic Fileman Calls
^PRC(441 - [#441] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRC(440 - [#440] DISP+38
^PRC(441 - [#441] XXDTLOOPPD1+14, LOOPPD1+31, LOOPPD1+49
^PRC(442 - [#442] LOOPPD1+50, DISPDISP+2, DISP+3, DISP+4, DISP+5, DISP+60
^PRCD(420.5 - [#420.5] DISP+37

Label References

Name Line Occurrences
DISP LOOPPD1+53
EXIT XXLST+8, XXLST+21, TOFCP+3, XXITM+7, XXDT+10, XXDT+18, XXDT+35, MOFCP+5
HDR DISP+21, DISP+27, DISP+30
PAUSE HDR
TOFCP TOFCP+2
XFCP XXLST+26
XXDT XXITM
XXITM XXLST+10, XXITM+8
XXLST XXLST+22, MOFCP+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %ZIS XXDT+34
ABORT XXLST+1*, LOOPPD+1~, LOOPPD+10*, LOOPPD1+14, LOOPPD1+30, LOOPPD1+49, DISP+19, DISP+24, DISP+58, EXIT!
HDRPAUSE+2*, PAUSE+5*
>> ACL DISP+41*
>> ACS2 DISP+43*, DISP+46*, DISP+49
>> ACST DISP+13*, DISP+39*, DISP+41, DISP+43, DISP+49*, DISP+53*, DISP+59
>> ASK ASK+3*
>> CKDATE LOOPPD1+33*, LOOPPD1+39, LOOPPD1+44
COUNT LOOPPD+2~, LOOPPD1+10*, LOOPPD1+52*
CST EXIT!, CALCCST+1*, CALCCST+2*, CALCCST+3, CALCCST+8*, CALCCST+9*, CALCCST+10
>> DATE LOOPPD1+21*, LOOPPD1+31*, LOOPPD1+32, LOOPPD1+33, LOOPPD1+49
DATES LOOPPD+1~, LOOPPD+8*, LOOPPD1+39
DATET LOOPPD+1~, LOOPPD+9*, LOOPPD1+21, LOOPPD1+44
>> DIC XXLST+18*, XXITM+4*
>> DIC(0 XXLST+19*, XXITM+5*
DIR XXLST+3!, XXDT+5!, XXDT+13!, MOFCP!, PAUSE+1!
DIR("A" XXLST+5*, XXDT+7*, XXDT+15*, MOFCP+2*
DIR("B" XXLST+6*, XXDT+8*, XXDT+16*, MOFCP+3*
DIR(0 XXLST+4*, XXDT+6*, XXDT+14*, MOFCP+1*, PAUSE+3*
DTIME ASK+2
>> DTOUT XXLST+8, XXDT+10, XXDT+18, MOFCP+5
>> DTX XXDT+3*, XXDT+4*, XXDT+8
FCP LOOPPD+2~, LOOPPD1+9*, LOOPPD1+14*, LOOPPD1+15, LOOPPD1+16, LOOPPD1+31, LOOPPD1+49
>> FCPD HDR+1*, HDR+3*, HDR+6
FCPE LOOPPD+1~, LOOPPD+5*, LOOPPD+13
FCPS LOOPPD+1~, LOOPPD+4*, LOOPPD+12, LOOPPD1+16
>> FCPX DISP+8*, DISP+17*, HDR+1, HDR+3
>> FR1 XXLST+13*, XXLST+24*, LOOPPD+4
>> FR2 XXLST+11*, XXLST+25*, LOOPPD+6
>> FR3 XXITM+1*, XXITM+10*, LOOPPD+7
>> FR4 XXDT+12*, LOOPPD+8
HDR LOOPPD+2~, LOOPPD1+26!, DISP+22*, DISP+24, DISP+25*
>> I HDR+10*
>> IMFX DISP+10*
IOF HDR+4
IOSL DISP+18
IOST HDRASK
>> ITMDESC XXDT*, HDR+5
>> ITMNO XXITMXXITM+1, XXITM+2, XXITM+9*, XXITM+10, XXITM+11, XXDTLOOPPD+7*, LOOPPD1+14, LOOPPD1+31
LOOPPD1+49, DISPHDR+4
>> J CALCCST+9*
>> LCNT DISP+26*
LNCT LOOPPD+1~, DISP+19, DISP+20*, DISP+24, DISP+29*, DISP+30, HDRHDR+11*
>> LX DISP*, DISP+1, DISP+2, DISP+3, DISP+10, DISP+11, DISP+12, DISP+13, DISP+14, DISP+15
>> LXN0( DISP+2*, DISP+10, DISP+11, DISP+12, DISP+13
>> LXN2( DISP+3*, DISP+14, DISP+15
>> M DISP+45*, DISP+52*
>> MAXL DISP+18*, DISP+30
>> ND0 DISP+4*, DISP+6, DISP+8, HDR+3
>> ND1 DISP+5*, DISP+7, DISP+9
>> NODATE LOOPPD1+22*, LOOPPD1+30, LOOPPD1+32*, LOOPPD1+39*
NX XXDT+22*, LOOPPD+1~, LOOPPD+11*
P2 EXIT!, CALCCST+3*, CALCCST+4*, CALCCST+5*, CALCCST+6*, CALCCST+7*, CALCCST+8
PG LOOPPD+2~, LOOPPD+3*, HDR+2*, HDR+5
>> PO LOOPPD1+45*, LOOPPD1+49*, LOOPPD1+50, DISPDISP+2, DISP+3, DISP+4, DISP+5, DISP+60
>> POCK LOOPPD1+50*, LOOPPD1+51
>> PODT DISP+34*, DISP+59
>> PODTX DISP+7*, DISP+31
>> PONUM DISP+6*, DISP+16, DISP+59
>> PRC("SITE" XXLST
>> QPR DISP+14*, DISP+56*, DISP+59
>> QTY DISP+11*, DISP+55*, DISP+59
>> SCTL XXLST+9*, XXLST+17, XXLST+26
SITFCPE LOOPPD+1~, LOOPPD+13*, LOOPPD1+16
SITFCPS LOOPPD+1~, LOOPPD+12*, LOOPPD1+16
>> SP9 DISP+51*, DISP+53, DISP+54, DISP+55, DISP+56
>> STATX DISP+60*, DISP+61
STN XXLST*, XXLST+2, XXLST+11, XXLST+12, XXLST+25, XFCP+2, LOOPPD+1~, LOOPPD+6*, LOOPPD+12, LOOPPD+13
LOOPPD1+15, HDR+6
>> STNX DISP+16*
>> TCL DISP+42*
>> TCS2 DISP+44*, DISP+47*, DISP+50
>> TCST DISP+15*, DISP+40*, DISP+42, DISP+44, DISP+50*, DISP+54*, DISP+59
>> TO1 XXLST+14*, XFCP+1*, LOOPPD+5
>> TO2 XXLST+12*, XFCP+2*
>> TO3 XXITM+2*, XXITM+11*
>> TO4 XXDT+20*, LOOPPD+9
U XXLST+23, XFCPXXITM+9, XXDTDISP+6, DISP+7, DISP+8, DISP+9, DISP+10, DISP+11
DISP+12, DISP+13, DISP+14, DISP+15, DISP+37, DISP+38, DISP+60, CALCCST+1, HDR+3
>> UIP DISP+12*, DISP+37
>> UIPX DISP+35*, DISP+37*, DISP+59
>> VNDX DISP+36*, DISP+38*, DISP+59
>> VP DISP+9*, DISP+38
>> X XXLST+8, XXLST+9, XXLST+10, XXLST+21, XXLST+23*, XXLST+24, TOFCP+3, XFCP*, XFCP+1, XXITM+7
XXDT+10, XXDT+18, DISP+31*, MOFCP+5, CALCCST+1, ASK+2*
>> Y XXLST+22, XXLST+23, TOFCP+2, XFCPXXITM+8, XXDT+3, XXDT+12, XXDT+20, DISP+34, PAUSE+5
>> Y(0 XXITM+9
>> ZTSAVE XXDT+34
>> ZTSAVE("FR1" XXDT+24*
>> ZTSAVE("FR2" XXDT+25*
>> ZTSAVE("FR3" XXDT+26*
>> ZTSAVE("FR4" XXDT+27*
>> ZTSAVE("ITMDESC" XXDT+33*
>> ZTSAVE("ITMNO" XXDT+32*
>> ZTSAVE("TO1" XXDT+28*
>> ZTSAVE("TO2" XXDT+29*
>> ZTSAVE("TO3" XXDT+30*
>> ZTSAVE("TO4" XXDT+31*
ZTSK XXDT+35, XXDT+36!
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