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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PRCPRISP

Package: IFCAP

Routine: PRCPRISP


Information

PRCPRISP ;WISC/RFJ/DWA-inventory sales (primary) ;24 May 93

Source Information

Source file <PRCPRISP.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
IFCAP 6 ($$SCRPAUSE,END,P)^PRCPUREP  $$SUMMARY^PRCPURS0  DATESEL^PRCPURS2  DISTRSEL^PRCPURS3  ($$DESCR,$$INVNAME)^PRCPUX1  DISPLAY^PRCPUX2  
Kernel 3 ^%ZIS  ^%ZISC  (,$$S)^%ZTLOAD  
VA FileMan 2 DD^%DT  NOW^%DTC  

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

Package Total Caller Graph
IFCAP 1 PRCPRISR  

Entry Points

Name Comments DBIA/ICR reference
PRIMARY ; inventory sales for primary
DQ ; queue starts here
Q
H

External References

Name Field # of Occurrence
DD^%DT DQ+16, DQ+17
NOW^%DTC DQ+17
^%ZIS PRIMARY+9
^%ZISC Q
^%ZTLOAD PRIMARY+9
$$S^%ZTLOAD DQ+19
$$SCRPAUSE^PRCPUREP DQ+17
END^PRCPUREP DQ+46
P^PRCPUREP DQ+20, DQ+30, DQ+38, DQ+43
$$SUMMARY^PRCPURS0 PRIMARY+8
DATESEL^PRCPURS2 PRIMARY+7
DISTRSEL^PRCPURS3 PRIMARY+4
$$DESCR^PRCPUX1 DQ+5, DQ+22
$$INVNAME^PRCPUX1 DQ+10
DISPLAY^PRCPUX2 PRIMARY+2, PRIMARY+3, PRIMARY+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"*** NO DISTRIBUTION POINTS SELECTED !"
  • Line Location: PRIMARY+5
Function Call: WRITE
  • Prompt: !!
  • Line Location: PRIMARY+6
Function Call: WRITE
  • Prompt: !
  • Line Location: PRIMARY+9
Function Call: WRITE
  • Prompt: !!,"<*> please wait <*>"
  • Line Location: PRIMARY+12
Function Call: WRITE
  • Prompt: !?10,"<<< TASKMANAGER JOB TERMINATED BY USER >>>"
  • Line Location: DQ+19
Function Call: WRITE
  • Prompt: !
  • Line Location: DQ+30
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $X>20
  • Line Location: DQ+34
Function Call: WRITE
  • Prompt: ?27,"TOTALS BY DISTR. PT: ",$J(TOTALQ,10),$J(TOTALV,22,2)
  • Line Location: DQ+34
Function Call: WRITE
  • Prompt: !!,"TOTAL SALES TO DISTRIBUTION POINTS:"
  • Line Location: DQ+39
Function Call: WRITE
  • Prompt: !?10,DISTRPT,?40,$J(%,20,2)
  • Line Location: DQ+41
Function Call: WRITE
  • Prompt: !?10,"TOTAL",?40,$J(TOTALV,20,2)
  • Line Location: DQ+45
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: H+0
Function Call: WRITE
  • Prompt: $C(13),"INVENTORY SALES FOR: ",$E(PRCP("IN"),1,20),?(80-$L(%)),%
  • Line Location: H+1
Function Call: WRITE
  • Prompt: !?5,"INVENTORY SALES DATE RANGE: ",DATESDT," TO ",DATEEDT
  • Line Location: H+2
Function Call: WRITE
  • Prompt: !?1,"*** ONLY SUMMARY OF SALES PRINTED ***",!,%
  • Line Location: H+4
Function Call: WRITE
  • Prompt: !,"DESCRIPTION",?37,"DATE ISSUED",$J("QUANTITY",10),$J("SELL COST",10),$J("TOTAL VALUE",12),!,%
  • Line Location: H+5
Routine Call
  • %ZIS
  • Line Location:
    • PRIMARY+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRCP(445 - [#445] DQ+21
^PRCP(445.2 - [#445.2] DQ+3, DQ+4
^TMP($J PRIMARY+5, DQ+2!, DQ+8, DQ+9, DQ+14*, DQ+18, DQ+24, DQ+27, DQ+33*, DQ+40
, Q!

Label References

Name Line Occurrences
H DQ+17, DQ+20, DQ+30, DQ+38, DQ+43
Q PRIMARY+5, PRIMARY+7, PRIMARY+8, PRIMARY+9, DQ+37, DQ+44

Naked Globals

Name Field # of Occurrence
^( DQ+27, DQ+40

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DQ+1~, DQ+17, DQ+40*, DQ+41, DQ+42, H*, H+1, H+3*, H+4, H+5
%H DQ+1~
%I DQ+1~
>> %ZIS PRIMARY+9*
DA DQ+1~, DQ+3*, DQ+4, DQ+14, DQ+27*
DATA DQ+1~, DQ+4*, DQ+5, DQ+6, DQ+11*, DQ+12*, DQ+14
DATE DQ+1~, DQ+3*, DQ+14, DQ+27*, DQ+28
DATEEDT DQ+1~, DQ+16*, H+2
DATEEND PRIMARY+1~, PRIMARY+7, DQ+3, DQ+16
DATESDT DQ+1~, DQ+16*, H+2
DATESTRT PRIMARY+1~, DQ+3, DQ+16
DESCR DQ+1~, DQ+5*, DQ+14, DQ+18*, DQ+24, DQ+27
DISTRALL PRIMARY+1~, PRIMARY+5, DQ+7, DQ+8, DQ+9
DISTRNM DQ+1~, DQ+10*, DQ+14
DISTRPT DQ+1~, DQ+6*, DQ+7, DQ+8, DQ+9, DQ+10, DQ+24*, DQ+25, DQ+27, DQ+33
DQ+40*, DQ+41
IO DQ+17
IO("Q" PRIMARY+9!
IOF H
IOSL DQ+20, DQ+30, DQ+38, DQ+43
ITEMDA DQ+1~, DQ+5*, DQ+14, DQ+18*, DQ+21, DQ+22, DQ+24, DQ+27
ITEMDATA DQ+1~, DQ+21*
NOW DQ+1~, DQ+17*, H
PAGE DQ+1~, DQ+17*, H*
>> POP PRIMARY+9
>> PRCP("I" PRIMARY+4, DQ+3, DQ+5, DQ+21, DQ+22
>> PRCP("IN" H+1
PRCPDATA DQ+1~, DQ+27*, DQ+28, DQ+29
PRCPFLAG DQ+1~, DQ+18, DQ+19*, DQ+20, DQ+24, DQ+27, DQ+30, DQ+31, DQ+35, DQ+37
DQ+38, DQ+40, DQ+43, DQ+44
PRCPSUMM PRIMARY+1~, PRIMARY+8*, DQ+22, DQ+25, DQ+28, DQ+34, DQ+36, H+4
SCREEN DQ+1~, DQ+17*, DQ+20, DQ+30, DQ+38, DQ+43, H
TOTALQ DQ+1~, DQ+26*, DQ+29*, DQ+32, DQ+34
TOTALQI DQ+1~, DQ+23*, DQ+32*, DQ+36
TOTALV DQ+1~, DQ+26*, DQ+29*, DQ+32, DQ+33, DQ+34, DQ+40*, DQ+42*, DQ+45
TOTALVI DQ+1~, DQ+23*, DQ+32*, DQ+36
TYPE DQ+1~, DQ+3*
X PRIMARY+1~, PRIMARY+2!, PRIMARY+3!, PRIMARY+6!, DQ+1~
X(1 PRIMARY+2*, PRIMARY+3*, PRIMARY+6*
Y DQ+1~, DQ+16*, DQ+17*
>> ZTDESC PRIMARY+10*
>> ZTQUEUED DQ+19
>> ZTRTN PRIMARY+10*
>> ZTSAVE("DATE*" PRIMARY+11*
>> ZTSAVE("DISTRALL" PRIMARY+11*
>> ZTSAVE("PRCP*" PRIMARY+11*
>> ZTSAVE("ZTREQ" PRIMARY+11*
>> ZTSAVE("^TMP($J,""PRCPURS3""," PRIMARY+11*
ZTSK PRIMARY+9!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All