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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORAERPT

Package: Order Entry Results Reporting

Routine: ORAERPT


Information

ORAERPT ; SPFO/AJB - Alert Enhancements Reports ;Dec 18, 2019@08:09:39

Source Information

Source file <ORAERPT.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Kernel 5 (CLEAN,PREP)^XGF  ($$DT,$$FMADD,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  $$CJ^XLFSTR  EN^XQORM  EN^XUTMDEVQ  
VA FileMan 5 ^%DT  FILE^DICN  UPDATE^DIE  ^DIK  ^DIR  
Order Entry Results Reporting 3 $$ASK^ORAERPT  REPORT^ORALEAPI  $$READ^ORPARMG1  
List Manager 1 $$SETSTR^VALM1  

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 ORAERPT  ORAERPT1  ORB3 ALERT TRACKING REPORT 2  

Entry Points

Name Comments DBIA/ICR reference
EN ; main entry point
EN1 ; entry point for re-entering a date range
SETUP ; create entries in PROTOCOL file
; adds menus and actions based on data for filter selection
GIEN(NAME) ; get an IEN from #101
SUMMARY(MDIV) ;
DPSUMM(TXT,DIV) ; setup summary data to display
TOP10(MDIV) ;
CRTOP10 ; create the default top 10 list, highest values by type are default selections for the filtered search
DPTOP10(TXT,DIV) ; setup the top 10 list to display
ASKRNG ; ask user for the date range
CLEAN ; S DATA=$NA(^TMP($J,"ORAERPT",$H)),TMP=$NA(^TMP($J,"ORAETMP",$H))
ASK(Y,PARAM,DEFAULT,MENU,PROMPT,HELP) ;
DISPLAY(OUTPUT) ;
HDR1 ;
HDR2 ;

External References

Name Field # of Occurrence
^%DT ASKRNG+6, ASKRNG+8
FILE^DICN GIEN+2
UPDATE^DIE SETUP+10, SETUP+18, SETUP+21, SETUP+30, SETUP+33
^DIK CLEAN+4
^DIR EN1+63
$$ASK^ORAERPT SUMMARY+6, TOP10+6
REPORT^ORALEAPI EN1+4
$$READ^ORPARMG1 SUMMARY+3, TOP10+3
$$SETSTR^VALM1 DPSUMM+8, DPSUMM+12, DPSUMM+13, TOP10+11, DPTOP10+6, DPTOP10+7, DPTOP10+12, DPTOP10+14, DPTOP10+15
CLEAN^XGF EN1+68
PREP^XGF EN+2
$$DT^XLFDT ASKRNG+5
$$FMADD^XLFDT ASKRNG+5
$$FMDIFF^XLFDT EN1+35
$$FMTE^XLFDT DPSUMM+4, ASKRNG+5, ASKRNG+7
$$NOW^XLFDT EN1+3, EN1+35
$$CJ^XLFSTR DPSUMM+3, DPSUMM+4, DPTOP10+3
EN^XQORM ASK+5
EN^XUTMDEVQ SUMMARY+2, SUMMARY+7, SUMMARY+12, TOP10+2, TOP10+7, TOP10+19

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: IOCUON
  • Line Location: EN+2
Function Call: WRITE
  • Prompt: !
  • Line Location: EN1+1
Function Call: WRITE
  • Prompt: @IOF,!,"Gathering notification data..."
  • Line Location: EN1+2
Function Call: WRITE
  • Prompt: IOCUON
  • Line Location: EN1+42
Function Call: WRITE
  • Prompt: !!,"No results found. Please enter another date range.",!
  • Line Location: EN1+44
Function Call: WRITE
  • Prompt: !!," Elapsed Time:",?(38+$L(TOTNTF)-$S(+TIME("Elapsed"):$L(+TIME("Elapsed")),1:2)),TIME("Elapsed")
  • Line Location: EN1+49
Function Call: WRITE
  • Prompt: !," Length of Date Range: ",?(38+$L(TOTNTF)-$L(+DIFF)),DIFF
  • Line Location: EN1+50
Function Call: WRITE
  • Prompt: !," Notifications Searched: ",TOTNTF
  • Line Location: EN1+51
Function Call: WRITE
  • Prompt: !," Notifications Searched/Second: ",?(38+$L(TOTNTF)-$L($FN(TOTNTF/TIME("Total"),"",0))),$FN(TOTNTF/TIME("Total"),"",0)
  • Line Location: EN1+52
Function Call: WRITE
  • Prompt: !," OE/RR & TIU Notifications Found: ",?(38+$L(TOTNTF)-$L(@TMP@(1,"TOTAL"))),@TMP@(1,"TOTAL")
  • Line Location: EN1+53
Function Call: WRITE
  • Prompt: !," Average Notifications/Day: ",?(38+$L(TOTNTF)-$L(AVG("ORTIU"))),AVG("ORTIU"),!
  • Line Location: EN1+55
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMMARY+2
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMMARY+12
Function Call: WRITE
  • Prompt: !
  • Line Location: TOP10+2
Function Call: WRITE
  • Prompt: !
  • Line Location: TOP10+19
Function Call: WRITE
  • Prompt: "Enter the desired date range for the notification search.",!!
  • Line Location: ASKRNG+1
Function Call: WRITE
  • Prompt: "Search times typically vary from 30-90 seconds for each day searched.",!
  • Line Location: ASKRNG+2
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKRNG+4
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKRNG+8
Function Call: WRITE
  • Prompt: OUTPUT(Y),!
  • Line Location: DISPLAY+4
Function Call: WRITE
  • Prompt: !
  • Line Location: DISPLAY+6
Function Call: READ
  • Formatting: !
  • Prompt: "Press <ENTER> to continue or '^' to exit "
  • Variable: X
  • Timeout: DTIME
  • Line Location: HDR1+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR2+2
Function Call: WRITE
  • Prompt: HDR(X),!
  • Line Location: HDR2+3
Function Call: WRITE
  • Prompt: IOUOFF
  • Line Location: HDR2+4
Routine Call
  • DIE
  • Line Location:
    • SETUP+10
    • SETUP+18
    • SETUP+21
    • SETUP+30
    • SETUP+33
Routine Call
  • DIR
  • Line Location:
    • EN1+63

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101 - [#101] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ORD(101 - [#101] SUMMARY+10, TOP10+10, CLEAN+2, ASK+2
^TMP($J EN+4

Label References

Name Line Occurrences
$$GIEN SETUP+6, SETUP+13, SETUP+25
@( EN1+66
ASKRNG EN1+1
CLEAN EN1+68
CRTOP10 EN1+58
DPSUMM SUMMARY+2, SUMMARY+7, SUMMARY+11
DPTOP10 TOP10+2, TOP10+7, TOP10+17
EN1 EN1+43
HDR1 DISPLAY+4
HDR2 DISPLAY+2
SETUP SUMMARY+4, TOP10+4
SUMMARY SUMMARY+3
TOP10 TOP10+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT ASKRNG+5~*, ASKRNG+6!, ASKRNG+7*
%DT("A" ASKRNG+5*, ASKRNG+7*
%DT("B" ASKRNG+5*, ASKRNG+7*
%DT(0 ASKRNG+5*, ASKRNG+7*
ACTION SETUP+3~
ACTION( SETUP+13*, SETUP+14, SETUP+15, SETUP+16, SETUP+17, SETUP+20
CNT SETUP+23~*, SETUP+24*, SETUP+27, SETUP+32, SUMMARY+1~, DPSUMM+1~, DPSUMM+2*, DPSUMM+3*, DPSUMM+4*, DPSUMM+8*
, DPSUMM+9*, DPSUMM+12*, DPSUMM+13, DPSUMM+14*, DPSUMM+15*, TOP10+1~, TOP10+12~, TOP10+14*, TOP10+15*, TOP10+18*
CRTOP10+1~, CRTOP10+5*, CRTOP10+6*, DPTOP10+1~, DPTOP10+2*, DPTOP10+3*, DPTOP10+5*, DPTOP10+6*, DPTOP10+7, DPTOP10+8*
, DPTOP10+9*, DPTOP10+11, DPTOP10+12, DPTOP10+14, DPTOP10+15, DPTOP10+17*
DA GIEN+1~, CLEAN+1~, CLEAN+4*
DATA EN+1~, EN+4*, EN1+4, EN1+5, EN1+7, EN1+8, EN1+9, EN1+10, EN1+11, EN1+12
EN1+13, EN1+68
DEFAULT SUMMARY+4~, SUMMARY+5*, SUMMARY+6, TOP10+4~, TOP10+5*, TOP10+6, ASK~, ASK+4
DIC GIEN+1~, GIEN+2*
DIC(0 GIEN+2*
DIK CLEAN+1~, CLEAN+4*
DIR EN1+57~, ASKRNG+5~
DIR("A" EN1+61*
DIR("B" EN1+61*
DIR(0 EN1+60*
DIRUT EN1+57~, EN1+59, EN1+63
DIV EN1+12~*, EN1+15, EN1+22, EN1+25, EN1+26, EN1+27, EN1+28, EN1+29, EN1+30, EN1+31
, SUMMARY+10~*, SUMMARY+11, DPSUMM~, DPSUMM+3, DPSUMM+5, DPSUMM+15, TOP10+10~*, TOP10+12, TOP10+13, TOP10+17
, DPTOP10~, DPTOP10+3, DPTOP10+17
DLAYGO GIEN+1~, GIEN+2*
DO GIEN+1~
DT ASKRNG+5, ASKRNG+7
DTE EN1+10~*, EN1+19, EN1+27
DTIME DISPLAY+7, HDR1+2
DTOUT EN1+57~, EN1+59, EN1+63*
DTRG EN+1~
DTRG("Start" EN1+1, EN1+4, DPSUMM+4, ASKRNG+3*, ASKRNG+4, ASKRNG+6*, ASKRNG+7
DTRG("Stop" EN1+1, EN1+4, EN1+41*, DPSUMM+4, ASKRNG+3*, ASKRNG+4, ASKRNG+8*
DUOUT EN1+57~, EN1+59, EN1+63
DUZ SETUP+9, SETUP+16, SETUP+29
END DISPLAY+1~*, DISPLAY+3, DISPLAY+4, DISPLAY+5, HDR1+2*, HDR1+3
ENTRY SETUP+25~*, SETUP+26, SETUP+27, SETUP+28, SETUP+29, SETUP+31
ERR SETUP+7~
FDA SETUP+7~
FDA( SETUP+17*, SETUP+20*, SETUP+31*, SETUP+32*
FDA(101 SETUP+8*, SETUP+9*, SETUP+14*, SETUP+15*, SETUP+16*, SETUP+26*, SETUP+27*, SETUP+28*, SETUP+29*
>> HDR HDR2+3
>> HDR( HDR2+3
HELP ASK~, ASK+4
I DPSUMM+10~*, DPSUMM+11*, DPSUMM+12, DPSUMM+13, ASK+1~
IEN SETUP+23~, CLEAN+1~, CLEAN+2*, CLEAN+4
>> IOCUON EN+2, EN1+42
IOF EN1+2, EN1+62, HDR2+2
IOM DPSUMM+3, DPSUMM+4, DPSUMM+9, DPSUMM+13, DPTOP10+3, DPTOP10+8, DPTOP10+15
IOSL DISPLAY+4, DISPLAY+6
IOST DISPLAY+2, DISPLAY+6, DISPLAY+7, HDR1+1, HDR2+1
>> IOUOFF HDR2+4
ITM SETUP+23~*, SETUP+25, SETUP+26, TOP10+12~*, TOP10+13, CRTOP10+1~, CRTOP10+3*, CRTOP10+4
LOC EN1+13~*, EN1+15, EN1+23, EN1+31, DPSUMM+1~, DPSUMM+5*, DPSUMM+10, DPSUMM+12, DPSUMM+13, DPSUMM+15
MDIV SUMMARY~, SUMMARY+2, SUMMARY+6*, SUMMARY+7, SUMMARY+9*, SUMMARY+10, TOP10~, TOP10+2, TOP10+6*, TOP10+7
, TOP10+9*, TOP10+10
MDIV( SUMMARY+9, SUMMARY+10, TOP10+9, TOP10+10
MDIV(1 SUMMARY+7, TOP10+7
MENU EN+1~, SETUP+3~, ASK~, ASK+2
MENU( SETUP+6*, SETUP+8, SETUP+9, SETUP+31, SETUP+32
MENU("FILTER" SETUP+20
NAME GIEN~, GIEN+2, CLEAN+1~, CLEAN+2*, CLEAN+3
NTF EN1+11~*, EN1+15, EN1+21, EN1+29
OUTPUT DISPLAY~
OUTPUT( DISPLAY+3, DISPLAY+4
PARAM ASK~, ASK+4
PROMPT ASK~, ASK+4
SAVE SUMMARY+1~, SUMMARY+2, SUMMARY+7, SUMMARY+12, TOP10+1~, TOP10+2, TOP10+7, TOP10+19
SAVE("TXT" SUMMARY+2*, TOP10+2*, TOP10+19*
SETUP EN+1~, SETUP+2, SETUP+34*
SRV EN1+9~*, EN1+15, EN1+20, EN1+28
TIME EN+1~
TIME("Elapsed" EN1+36*, EN1+37*, EN1+38*, EN1+39*
TIME("Minutes" EN1+36*, EN1+37
TIME("Seconds" EN1+36*, EN1+38
TIME("Start" EN1+3*, EN1+35
TIME("Stop" EN1+35*
TIME("Total" EN1+35*, EN1+36, EN1+39*
TMP EN+1~, EN+4*, EN1+15, EN1+17, EN1+18, EN1+19, EN1+20, EN1+21, EN1+22, EN1+23
EN1+33, EN1+43, EN1+68, SETUP+23, DPSUMM+5, CRTOP10+3, CRTOP10+4, DPTOP10+17
TMP1 EN+1~, EN+4*, EN1+25, EN1+26, EN1+27, EN1+28, EN1+29, EN1+30, EN1+31, EN1+68
, DPSUMM+5, TOP10+12, TOP10+13, DPTOP10+17
TOP10 EN+1~, TOP10+11~
TOP10( TOP10+11*, TOP10+15*, CRTOP10+2*, CRTOP10+6*, DPTOP10+10, DPTOP10+13
TOP10("DIV" SUMMARY+5, TOP10+5
TOP10("TMP" TOP10+13*, TOP10+14, TOP10+16!, CRTOP10+4*, CRTOP10+5, CRTOP10+7!
TOTNTF EN+1~, EN1+4*, EN1+62*
TTL EN1+8~*, EN1+15, EN1+18, EN1+26
TXT SUMMARY+1~, SUMMARY+2, SUMMARY+7, SUMMARY+11, DPSUMM~, DPSUMM+9*, TOP10+1~, TOP10+2, TOP10+7, TOP10+17
, DPTOP10~, DPTOP10+7*, DPTOP10+10*, DPTOP10+11, DPTOP10+12*, DPTOP10+13*, DPTOP10+14, DPTOP10+15
TXT( DPSUMM+3*, DPSUMM+4*, DPSUMM+8*, DPSUMM+9*, DPSUMM+12*, DPSUMM+13*, DPSUMM+14*, DPSUMM+15*, TOP10+18*, DPTOP10+3*
, DPTOP10+5*, DPTOP10+6*, DPTOP10+7*, DPTOP10+8*, DPTOP10+11*, DPTOP10+12*, DPTOP10+14*, DPTOP10+15*, DPTOP10+17*
TXT("" DPSUMM+2, TOP10+18, DPTOP10+2
TYP SETUP+3~, SETUP+4*, SETUP+6, SETUP+8, SETUP+9, SETUP+12, SETUP+13, SETUP+14, SETUP+15, SETUP+16
SETUP+17, SETUP+20, SETUP+23, SETUP+25, SETUP+31, SETUP+32, TOP10+12~*, TOP10+13, CRTOP10+1~, CRTOP10+3*
CRTOP10+4
U EN1+7, EN1+8, EN1+9, EN1+10, EN1+11, EN1+12, EN1+13, SUMMARY+5, SUMMARY+7, SUMMARY+10
, TOP10+5, TOP10+7, TOP10+10, TOP10+15, CRTOP10+6, DPTOP10+11, DPTOP10+12, DPTOP10+14, DPTOP10+15, HDR1+2
USR EN1+7~*, EN1+15, EN1+17, EN1+25, TOP10+14*, TOP10+15, CRTOP10+1~, CRTOP10+5*, CRTOP10+6
X EN+1~, EN1+5*, EN1+7, EN1+8, EN1+9, EN1+10, EN1+11, EN1+12, EN1+13, EN1+57~
, GIEN+1~, GIEN+2*, SUMMARY+1~, DPSUMM+1~, DPSUMM+6*, DPSUMM+7, DPSUMM+10, DPSUMM+12, DPSUMM+13, TOP10+1~
, TOP10+11~*, TOP10+14*, TOP10+15, CRTOP10+1~, CRTOP10+2*, CRTOP10+5*, CRTOP10+6, DPTOP10+1~, DPTOP10+5*, DPTOP10+6
, DPTOP10+7, DPTOP10+10, DPTOP10+13, ASKRNG+5~, CLEAN+1~, ASK+1~, DISPLAY+7*, HDR1+2*, HDR2+3*
XQORM ASK+1~, ASK+2*, ASK+3
XQORM("?" ASK+4*
XQORM("A" ASK+4*
XQORM("B" ASK+4*
XQORM(0 ASK+4*
Y EN+1~, EN1+57~, GIEN+1~, GIEN+3, SUMMARY+1~, DPSUMM+1~, DPSUMM+7*, DPSUMM+8, DPSUMM+10*, DPSUMM+12
, DPSUMM+13, TOP10+1~, TOP10+11~*, TOP10+14*, TOP10+15, CRTOP10+1~, CRTOP10+2*, CRTOP10+5*, CRTOP10+6, DPTOP10+1~
, DPTOP10+5*, DPTOP10+6, DPTOP10+10, DPTOP10+13, ASKRNG+5~, ASKRNG+6, ASKRNG+8, CLEAN+1~, ASK~, ASK+6
, DISPLAY+1~*, DISPLAY+3*, DISPLAY+4
Y(0 EN1+63, EN1+64*, EN1+65*, EN1+66
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All