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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORQ10

Package: Order Entry Results Reporting

Routine: ORQ10


Information

ORQ10 ; slc/dcm - Test this utility

Source Information

Source file <ORQ10.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 3 EN^ORQ1  ^ORUDPA  READ^ORUTL  
VA FileMan 3 ^%DT  ^DIC  YN^DICN  

Entry Points

Name Comments DBIA/ICR reference
TEST ;Test utility
LP
CON
STATUS(NUM) ; -- Returns name of status by number

External References

Name Field # of Occurrence
^%DT CON+8, CON+9
^DIC LP
YN^DICN CON+16
EN^ORQ1 CON+14
^ORUDPA TEST+5
READ^ORUTL CON+19

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: TEST+3
Function Call: WRITE
  • Prompt: " Invalid order #"
  • Line Location: TEST+3
Function Call: WRITE
  • Prompt: !!,"1 => All",?24,"6 => New",?45," 11 => Unsigned"
  • Line Location: CON+0
Function Call: WRITE
  • Prompt: !,"2 => Active/Current",?24,"7 => Pending",?46,"12 => Flagged"
  • Line Location: CON+1
Function Call: WRITE
  • Prompt: !,"3 => Discontinued",?24,"8 => Activity",?46,"13 => Verb/Phone"
  • Line Location: CON+2
Function Call: WRITE
  • Prompt: !,"4 => Completed/Expired",?24,"9 => Expanded",?46,"14 => Verb/Phone Unsign"
  • Line Location: CON+3
Function Call: WRITE
  • Prompt: !,"5 => Expiring",?23,"10 => Notifications"
  • Line Location: CON+4
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: CON+5
Function Call: WRITE
  • Prompt: !,"Enter a number from 1 to 14 that matches the context list"
  • Line Location: CON+6
Function Call: WRITE
  • Prompt: !,"What do you want stored: 1. Just the order #",!,?26,"2. Order # & text",!?26,"3. Order # & Reason for action",!?26,"4. Detailed Display fields"
  • Line Location: CON+10
Function Call: READ
  • Formatting: !?8
  • Prompt: "Enter choice: 1// "
  • Variable: X
  • Timeout: DTIME
  • Line Location: CON+11
Function Call: WRITE
  • Prompt: !!,"For: "_$P(^DPT(+ORVP,0),"^"),?35," "_$P(Y,"^",2),?55,"Context #"_FLAG
  • Line Location: CON+13
Function Call: WRITE
  • Prompt: !?5,"<"_$S($G(^TMP("ORR",$J,ORLIST,"TOT")):^("TOT"),1:0)_" Orders found>"
  • Line Location: CON+15
Function Call: WRITE
  • Prompt: !,"Do you want to see the list of Orders"
  • Line Location: CON+16
Function Call: WRITE
  • Prompt: !
  • Line Location: CON+17
Function Call: WRITE
  • Prompt: !,^(IFN)
  • Line Location: CON+17
Routine Call
  • DIC
  • Line Location:
    • LP

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] CON+13
^OR(100 - [#100] TEST+4
^TMP("OR" TEST+5!
^TMP("ORR" CON+15, CON+16, CON+17, CON+18!

Label References

Name Line Occurrences
CON CON+6
LP CON+19
TEST LP

Naked Globals

Name Field # of Occurrence
^( CON+17
^("TOT" CON+15
^(0 TEST+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % CON+16*, CON+17
>> %DT CON+8*, CON+9*
>> %DT("A" CON+8*, CON+9*
DIC TEST+1~, LP*
DIC(0 LP*
DTIME CON+5, CON+11
FLAG TEST+1~, CON+7*, CON+13, CON+14
GP TEST+1~, LP*, CON+14
>> IFN CON+17*
NUM STATUS~, STATUS+1, STATUS+2, STATUS+3, STATUS+4, STATUS+5, STATUS+6, STATUS+7, STATUS+8, STATUS+9
, STATUS+10, STATUS+11, STATUS+12, STATUS+13, STATUS+14
O2 TEST+1~, TEST+2*, TEST+4, TEST+5
ORL TEST+1~
ORLIST TEST+1~, CON+15, CON+16, CON+17, CON+18
ORVP TEST+1~, TEST+4*, TEST+6*, TEST+7, CON+13, CON+14
X TEST+1~, CON+5*, CON+6, CON+7, CON+8, CON+9, CON+11*, CON+12
X1 TEST+1~, TEST+2*, CON+8*, CON+14
X2 TEST+1~, TEST+2*, CON+9*, CON+14
>> X3 CON+12*, CON+14
Y TEST+1~, LP, CON+8, CON+9, CON+13
Y( TEST+6
Y(0 TEST+6
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All