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

Package: Order Entry Results Reporting

Routine: ORCACT4


Information

ORCACT4 ;SLC/MKB-Act on orders cont ; 08 May 2002 2:12 PM

Source Information

Source file <ORCACT4.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Order Entry Results Reporting 4 ($$NMSP,$$PTR,GETDLG,GETORDER)^ORCD  ($$OK,DIALOG,DISPLAY)^ORCDLG  (ACCEPT,DISPLAY)^ORCHECK  ($$ACTION,EN,RN,XX)^ORCSAVE  
Kernel 2 $$NOW^XLFDT  $$UP^XLFSTR  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
Order Entry Results Reporting 3 ORCACT2  ORCDLR1  ORMPS3  

Entry Points

Name Comments DBIA/ICR reference
XX ; -- Edit/Change order ORIFN
XX1
XXQ
CHANGED() ; -- Returns 1 or 0, if order was actually changed
CHK
RN ; -- Renew order ORIFN
RN1
RNQ
DOSES(IFN) ; -- Return #doses in order IFN
OKALL() ; -- OK to renew all child orders of complex?
RW ; -- Rewrite order ORIFN
RW1
RWQ
HD ; -- Hold order ORIFN
RL ; -- Release hold on order ORIFN
OK(ACT) ; -- Ready to save?

External References

Name Field # of Occurrence
^DIR OKALL+4, OK+5
$$NMSP^ORCD XX+5, RN+4, RW+3
$$PTR^ORCD XX+7, XX+8, RN+10, RN+12, RN+14, RN+16, RW+11, RW+13, RW+15
GETDLG^ORCD XX+8, XX+12, RN+10, RN+13, RW+10, RW+14
GETORDER^ORCD XX+12, CHANGED+1, RN+10, RW+10
$$OK^ORCDLG RW1+7
DIALOG^ORCDLG XX1, RN1, RW1
DISPLAY^ORCDLG XX1+2, RN1+2, RW1+7
ACCEPT^ORCHECK XX1+2, RN1+1, RW1+1
DISPLAY^ORCHECK XX+14, RN+18, RW+18
$$ACTION^ORCSAVE HD+1, RL+1
EN^ORCSAVE RW1+11
RN^ORCSAVE RN1+4
XX^ORCSAVE XX1+5
$$NOW^XLFDT RN+16
$$UP^XLFSTR RN+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Nothing changed!"
  • Line Location: XX1+1
Function Call: WRITE
  • Prompt: !?10,"... changes cancelled.",!
  • Line Location: XX1+4
Function Call: WRITE
  • Prompt: !?10,$S(ORIFN:"... changes placed.",1:"ERROR"),!
  • Line Location: XX1+5
Function Call: WRITE
  • Prompt: !,$C(7),"This is part of a complex order, which must be renewed in its entirety:"
  • Line Location: RN+7
Function Call: WRITE
  • Prompt: !?10,"... renewal cancelled.",!
  • Line Location: RN1+3
Function Call: WRITE
  • Prompt: !?10,$S(ORIFN:"... order renewed.",1:"ERROR"),!
  • Line Location: RN1+4
Function Call: WRITE
  • Prompt: !!,"This release event has occurred since you started copying delayed orders."
  • Line Location: RW1+3
Function Call: WRITE
  • Prompt: !,"The orders that were signed have now been released; this and any other"
  • Line Location: RW1+4
Function Call: WRITE
  • Prompt: !,"unsigned orders will be released immediately upon signature."
  • Line Location: RW1+5
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: RW1+6
Function Call: WRITE
  • Prompt: !!,"Press <return> to continue ..."
  • Line Location: RW1+6
Function Call: WRITE
  • Prompt: !?10,"... order cancelled.",!
  • Line Location: RW1+9
Function Call: WRITE
  • Prompt: !?10,$S($G(ORIFN):"... order rewritten.",1:"ERROR"),!
  • Line Location: RW1+12
Function Call: WRITE
  • Prompt: !?10,"... hold order placed."
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: !?10,"... release hold order placed."
  • Line Location: RL+3
Routine Call
  • DIR
  • Line Location:
    • OKALL+4
    • OK+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] XX+3, XX+10, XX+11, RN+3, RN+8, RN+14, RN+15, DOSES+2, RW+3, RW+15
, RW+16, RW1+13*
^ORD(100.98 - [#100.98] XX+12, RN+10, RW+5, RW+7
^ORD(101.41 - [#101.41] XX+12, XX+13, XXQ, RN+10, RN+17, RNQ, RW+5, RW+9, RW+17, RWQ
^ORE(100.2 - [#100.2] RW1+2
^TMP("ORNEW" XX1+5*, RN1+4*, RW1+13*, HD+2*, RL+2*
^TMP("ORWORD" XX+2!, XX+10*, XX+11*, XXQ!, RN+2!, RN+14*, RN+15*, RNQ!, RW+2!, RW+15*
, RW+16*, RWQ!

Label References

Name Line Occurrences
$$CHANGED XX1+1
$$DOSES RN+6
$$OK XX1+2, RN1+2
$$OKALL RN+9
CHK CHANGED+3, CHANGED+4
RNQ RN+17, RN1, RN1+2, RN1+3
RW1 RW1+8
RWQ RW+17, RW1, RW1+7, RW1+9
XX1 XX1+3
XXQ XX+13, XX1, XX1+3, XX1+4

Naked Globals

Name Field # of Occurrence
^( XX+11, RN+8, RN+15, RW+16
^(3 XX+3, XX+13, RN+3, RN+17, RW+17
^(4 XXQ, RNQ, RWQ

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACT OK~, OK+2, OK+3, OK+4
CNT DOSES+1~*, DOSES+2*, DOSES+3
DIR OKALL+1~, OK+1~
DIR("?" OKALL+3*, OK+3*, OK+4*
DIR("A" OKALL+2*, OK+3*, OK+4*
DIR("B" OKALL+2*, OK+5*
DIR(0 OKALL+2*, OK+2*
DIROUT OKALL+1~
DIRUT OKALL+1~
DTIME RW1+6
DTOUT OKALL+1~, OKALL+4, OK+5
DUOUT OKALL+1~
FIRST XX+1~, XX+2*, XX1, RN+1~, RN+2*, RW+1~, RW+2*, RW1, RW1+8*
I CHANGED+1~, CHANGED+3*, CHANGED+4*, CHK, RN+8*, DOSES+1~*, DOSES+2*
IFN DOSES~, DOSES+2
NEW CHK~*
OLD CHK~*
OLDIFN RW1+11~*, RW1+13
OR0 XX+1~, XX+3*, XX+4, XX+5, XX+6, XX+12, RN+1~, RN+3*, RN+4, RN+10
, RN+11, RN+16, RW+1~, RW+3*, RW+4, RW+5, RW+12
OR3 RN+1~, RN+3*, RN+5, RN+6, RN+8, RN+9
>> ORACT XX1+2, RN1+2, HD+1, RL+1
ORCHECK XX+1~, XX1+3!, RN+1~, RN1+2, RW+1~, RW1+8!
ORDA XX+1~, RN+1~, RW+1~
ORDG XX+1~, XX+3*, RN+1~, RN+4*, RW+1~, RW+3*, RW+7
ORDIALOG XX+1~, XX+7*, XX+8, XX+12*, XX+13, XXQ, RN+1~, RN+3*, RN+10*, RN+12*
, RN+13, RN+17, RNQ, RW+1~, RW+3*, RW+5*, RW+9*, RW+10, RW+13*, RW+14
, RW+17, RWQ
ORDIALOG( XX+9*, CHANGED+2, CHANGED+4, CHK, RN+10!, RN+14*, RN+16*, RW+11!, RW+15*
ORDUZ XX+1~, RN+1~, RW+1~
OREDIT XX+1~, XX+5*
ORENEW RN+1~, RN+2*
OREVENT XX+1~, XX+4*, RW+6, RW1+2, RW1+6!
OREWRITE RW+1~, RW+2*
ORIFN XX+3, XX+10, XX+11, XX+12, XX1+5, CHANGED+1, RN+3, RN+9*, RN+10, RN+14
, RN+15, RN1+4, RW+3, RW+10, RW+15, RW+16, RW1+11!, RW1+12, RW1+13, HD+1
, HD+2, RL+1, RL+2
ORLOG XX+1~, RN+1~, RW+1~
ORNMSP XX+1~, XX+5*, RN+1~, RN+4*, RW+1~, RW+3*, RW+6
>> ORNP HD+1, RL+1
OROLD CHANGED+1~
OROLD( CHANGED+3, CHK
ORQUIT XX+1~, XX+13, XX1, RN+1~, RN+5, RN+9*, RN+17, RN1, RW+1~, RW+17
, RW1
ORSRC RW1+11~*
ORSTS XX+1~, XX+3*, XX+4, XX+5
ORTYPE XX+1~, XX+2*, RN+1~, RN+2*, RW+1~, RW+2*
P CHANGED+1~, CHANGED+2*, CHANGED+3, CHANGED+4, CHK, DOSES+1~
STOP RN+12~, RN+16*
U XX+3, XX+4, XX+5, XX+6, XX+12, RN+3, RN+4, RN+5, RN+6, RN+8
, RN+9, RN+10, RN+11, RN+16, RW+3, RW+4, RW+5, RW+7, RW+12
WP XX+7~, XX+8*, XX+9, XX+10, XX+11, RN+12~, RN+14*, RN+15, RW+13~, RW+15*
, RW+16
X XX+1~, XX+6*, XX+7~, XX+11*, XX+12, XX1+2*, XX1+3, XX1+4, XX1+5, RN+1~
, RN+8*, RN+12~, RN+15*, RN1+1*, RN1+2*, RN1+3, RN1+4, OKALL+1~, OKALL+4, RW+1~
, RW+7~*, RW+8, RW+11*, RW+13~, RW+16*, RW1+6~*, RW1+7*, RW1+8, RW1+9, RW1+10
, HD+1~*, HD+2, RL+1~*, RL+2, OK+1~
Y CHANGED+1~*, CHANGED+2, CHANGED+3, CHANGED+4, CHANGED+5, CHK*, OKALL+1~, OKALL+4*, OKALL+5, OK+1~
, OK+5*, OK+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All