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

Package: IFCAP

Routine: PRCPRSO1


Information

PRCPRSO1 ;WISC/RFJ/VAC-days of stock on hand report (print) ; 9/20/06 11:15am

Source Information

Source file <PRCPRSO1.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
IFCAP 2 ($$SCRPAUSE,END,P)^PRCPUREP  ($$DESCR,$$UNIT)^PRCPUX1  
VA FileMan 2 DD^%DT  NOW^%DTC  
Kernel 1 $$S^%ZTLOAD  

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 PRCPRSOH  

Entry Points

Name Comments DBIA/ICR reference
PRINT ; print report
WHSE ; print whse report
PRIMARY ; print primary or secondary report
H

External References

Name Field # of Occurrence
DD^%DT PRINT+2
NOW^%DTC PRINT+2
$$S^%ZTLOAD WHSE+2, PRIMARY+2
$$SCRPAUSE^PRCPUREP PRINT+2
END^PRCPUREP PRINT+8
P^PRCPUREP PRINT+5, WHSE+11, PRIMARY+3, PRIMARY+14
$$DESCR^PRCPUX1 WHSE+3, PRIMARY+6
$$UNIT^PRCPUX1 WHSE+3, PRIMARY+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?38,"TOTAL SELLING VALUE IN STOCK: ",$J(TOTAL,12,2)
  • Line Location: PRINT+7
Function Call: WRITE
  • Prompt: !?10,"<<< TASKMANAGER JOB TERMINATED BY USER >>>"
  • Line Location: WHSE+2
Function Call: WRITE
  • Prompt: !,$TR(NSN,"-"),?15,$E($$DESCR^PRCPUX1(PRCP("I"),ITEMDA),1,15),?31,ITEMDA,?37,$J($$UNIT^PRCPUX1(PRCP("I"),ITEMDA,"/"),8)
  • Line Location: WHSE+3
Function Call: WRITE
  • Prompt: ?45,$J($P(D,"^"),7),$J($P(D,"^",2),7),$J($P(D,"^",3),6),$J($P(D,"^",4),6),$J($P(D,"^",5),9)
  • Line Location: WHSE+10
Function Call: WRITE
  • Prompt: !?10,"<<< TASKMANAGER JOB TERMINATED BY USER >>>"
  • Line Location: PRIMARY+2
Function Call: WRITE
  • Prompt: !!?5,"GROUP: ",$S(GROUP=" ":"<<NONE>>",1:GROUP)
  • Line Location: PRIMARY+4
Function Call: WRITE
  • Prompt: !,$E($$DESCR^PRCPUX1(PRCP("I"),ITEMDA),1,30),?31,ITEMDA,?37,$J($$UNIT^PRCPUX1(PRCP("I"),ITEMDA,"/"),8)
  • Line Location: PRIMARY+6
Function Call: WRITE
  • Prompt: ?45,$J($P(D,"^"),7),$J($P(D,"^",2),7),$J($P(D,"^",3),6),$J($P(D,"^",4),6),$J($P(D,"^",5),9)
  • Line Location: PRIMARY+13
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: H+0
Function Call: WRITE
  • Prompt: $C(13),"DAYS OF STOCK ON HAND REPORT: ",$E(PRCP("IN"),1,20),?(80-$L(%)),%
  • Line Location: H+1
Function Call: WRITE
  • Prompt: !?5,"USAGE DATE RANGE FROM ",DATESTRD," TO ",DATEENDD," (",TOTALDAY," DAYS)"
  • Line Location: H+3
Function Call: WRITE
  • Prompt: !?5,"ITEMS WITH STOCK ON HAND ",$S(PRCPTYPE=1:"LESS",1:"GREATER")," THAN ",PRCPDAYS," DAYS"
  • Line Location: H+4
Function Call: WRITE
  • Prompt: !?5,"REPORT SHOWS STANDARD ITEMS ONLY"
  • Line Location: H+6
Function Call: WRITE
  • Prompt: !?5,"REPORT SHOWS ON-DEMAND ITEMS ONLY"
  • Line Location: H+7
Function Call: WRITE
  • Prompt: !?5,"REPORT SHOWS BOTH STANDARD AND ON-DEMAND ITEMS"
  • Line Location: H+8
Function Call: WRITE
  • Prompt: !?45,$J("TOTAL",7),$J("DAYS",7),$J("QTY",6),$J("DAYS",6),$J("SELL",9)
  • Line Location: H+9
Function Call: WRITE
  • Prompt: !,"NSN",?15,"DESCRIPTION"
  • Line Location: H+10
Function Call: WRITE
  • Prompt: !,"DESCRIPTION"
  • Line Location: H+11
Function Call: WRITE
  • Prompt: ?31,"IM",$J("UNIT/IS",12),?45,$J("USAGE",7),$J("AVG",7),$J("ONHND",6),$J("LEFT",6),$J("VALUE",9),!,%
  • Line Location: H+12

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J WHSE+1, PRIMARY+1, PRIMARY+5

Label References

Name Line Occurrences
H PRINT+2, PRINT+5, WHSE+11, PRIMARY+3, PRIMARY+14
PRIMARY PRINT+4
WHSE PRINT+3

Naked Globals

Name Field # of Occurrence
^( WHSE+1, PRIMARY+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% PRINT+1~, PRINT+2, H*, H+1, H+2*, H+12
%H PRINT+1~
%I PRINT+1~
D PRINT+1~, WHSE+1*, WHSE+4, WHSE+5*, WHSE+6*, WHSE+7*, WHSE+8*, WHSE+9*, WHSE+10, PRIMARY+5*
PRIMARY+7, PRIMARY+8*, PRIMARY+9*, PRIMARY+10*, PRIMARY+11*, PRIMARY+12*, PRIMARY+13
>> DATEENDD H+3
>> DATESTRD H+3
DESCR PRINT+1~, PRIMARY+5*
GROUP PRINT+1~, PRIMARY+1*, PRIMARY+4, PRIMARY+5
IO PRINT+2
IOF H
IOSL PRINT+5, WHSE+11, PRIMARY+3, PRIMARY+14
ITEMDA PRINT+1~, WHSE+1*, WHSE+3, PRIMARY+5*, PRIMARY+6
NOW PRINT+1~, PRINT+2*, H
NSN PRINT+1~, WHSE+1*, WHSE+3
>> ODIFLG H+6, H+7, H+8
PAGE PRINT+1~, PRINT+2*, H*
>> PRCP("DPTYPE" PRINT+3, PRINT+4, H+5, H+10
>> PRCP("I" WHSE+3, PRIMARY+6
>> PRCP("IN" H+1
>> PRCPDAYS H+4
PRCPFLAG PRINT+1~, PRINT+5, PRINT+6, WHSE+1, WHSE+2*, WHSE+11, PRIMARY+1, PRIMARY+2*, PRIMARY+3, PRIMARY+5
PRIMARY+14
>> PRCPTYPE H+4
SCREEN PRINT+1~, PRINT+2*, PRINT+5, WHSE+11, PRIMARY+3, PRIMARY+14, H
TOTAL PRINT+1~, PRINT+7, WHSE+1*, WHSE+4*, PRIMARY+1*, PRIMARY+7*
>> TOTALDAY H+3
X PRINT+1~
Y PRINT+1~, PRINT+2*
>> ZTQUEUED WHSE+2, PRIMARY+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All