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

Package: Auto Replenishment Ward Stock

Routine: PSGWODPR


Information

PSGWODPR ;BIR/PTD,CML-PRINT AN ON-DEMAND REPORT BY DATE/AOU - CONTINUED ;Oct 17, 2017@14:48

Source Information

Source file <PSGWODPR.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Auto Replenishment Ward Stock 1 HELP^PSGWUTL1  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 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
Auto Replenishment Ward Stock 1 PSGWODP  

Entry Points

Name Comments DBIA/ICR reference
PRINT ;PRINT AN ON DEMAND REQUEST
DTLP
AOULP
DUZLP
TMLP
DRLP
HDR ;PRINT REPORT MAIN HEADER
PRTCHK ;

External References

Name Field # of Occurrence
NOW^%DTC HDR+1
HELP^PSGWUTL1 PRTCHK+1
$$GET^XPAR PRINT+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"NO ON-DEMAND DATA FOR SELECTED DATE RANGE."
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !!,"==> AREA OF USE: ",$P(^PSI(58.1,AOU,0),"^")
  • Line Location: AOULP+0
Function Call: WRITE
  • Prompt: !?6,"Next Item LAST EDITED BY: ",$S($D(^VA(200,LEDUZ,0)):$P(^(0),"^"),1:"UNKNOWN")
  • Line Location: DRLP+2
Function Call: WRITE
  • Prompt: " on ",Y
  • Line Location: DRLP+2
Function Call: WRITE
  • Prompt: !?2,"Expiration Date: ",Y
  • Line Location: DRLP+4
Function Call: WRITE
  • Prompt: !
  • Condition for execution: Y=""
  • Line Location: DRLP+5
Function Call: WRITE
  • Prompt: ?30,"STOCK LEVEL: ",$G(^TMP("PSGWOD",$J,"ARCHSTOCK",ODT,AOU,EDUZ,ODTM,DRGNAME))
  • Line Location: DRLP+5
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !,"ON DEMAND REQUEST LIST BY DATE",?50,"DATE: ",Y,?70,"PAGE: ",PGCT
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !,"FOR INVENTORY GROUP - ",$P(^PSI(58.2,IGDA,0),"^")
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !?36,"DT/TIME ORDERED",?56,"QTY",?62,"ORDER",!
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: "-"
  • Line Location: HDR+3
Function Call: READ
  • Variable: ANS
  • Timeout: DTIME
  • Line Location: PRTCHK+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" TMLPDRLP+2, DRLP+4, HDR+1, HDR+2
^PSI(58.1 - [#58.1] AOULPDRLP+4
^PSI(58.2 - [#58.2] HDR+1
^TMP("PSGWOD" PRINT+2, DTLPAOULPDUZLPTMLPDRLPDRLP+5
^VA(200 - [#200] DUZLPDRLP+2

Label References

Name Line Occurrences
AOULP DUZLP
DRLP DRLP+6
DTLP AOULP
DUZLP TMLP
HDR PRINT+2, AOULPDRLP+1
PRTCHK AOULPDRLP+1
TMLP DRLP

Naked Globals

Name Field # of Occurrence
^( DRLP
^("EXP" DRLP+4
^(0 DRLP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % HDR+1
>> ANS PRTCHK+1*
>> AOU DTLP*, AOULP*, DUZLPTMLPDRLPDRLP+4, DRLP+5
>> BOTOT DRLP*, DRLP+3
>> DRGDA DRLP*, DRLP+4
>> DRGNAME TMLP*, DRLP*, DRLP+3, DRLP+5
DTIME PRTCHK+1
>> EDUZ AOULP*, DUZLP*, TMLPDRLPDRLP+5
>> IGDA HDR+1
IOF HDR+1
IOSL DRLP+1
IOST PRTCHK+1
>> J HDR+3*
>> LEDT DRLP*, DRLP+2
>> LEDUZ DRLP*, DRLP+2
>> LOC DRLP*
>> ODT PRINT+2*, DTLP*, AOULPDUZLPTMLPDRLPDRLP+5, HDR+2
>> ODTM DUZLP*, TMLP*, DRLPDRLP+5
>> PGCT PRINT+2*, AOULPHDR+1, HDR+3*
PSGWPFLG PRINT+1~*, DRLP+5
>> QD DRLP*, DRLP+3
>> QFLG PRINT+2*, AOULPDRLP+1, PRTCHK+1*
>> SEL HDR+1
>> STAN DRLP*, DRLP+3
>> TMDT TMLP*, DRLP+3
>> Y TMLP*, DRLP+2*, DRLP+4*, DRLP+5, HDR+1*, HDR+2*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All