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

Package: Order Entry Results Reporting

Routine: ORSRCHOR


Information

ORSRCHOR ;SLC/TC - Search Utility for Order Check Override Reason Report; 09/28/2009 15:00 ;09/16/10 20:05

Source Information

Source file <ORSRCHOR.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA FileMan 4 ^%DT  ^DIC  $$GET1^DIQ  ^DIR  
Order Entry Results Reporting 2 OCAPI^ORCHECK  $$OCCNT^OROCAPI1  
Kernel 1 ($$FMTE,$$HTE)^XLFDT  

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
Order Entry Results Reporting 1 OROVRRPT  

Entry Points

Name Comments DBIA/ICR reference
ASKUSER(ANS,DIR,ORQUIT) ; Controls prompting of the report utility.
SRCHBYDT(STRDT,ENDDT) ; Search by Date/Time Ordered and sort by Date/Time Ordered, Division, Display Group, or Order Chk.
HEADER ; Prints out the report header
COLHDR

External References

Name Field # of Occurrence
^%DT ASKUSER+11
^DIC ASKUSER+17, ASKUSER+20, ASKUSER+23, ASKUSER+26, ASKUSER+32
$$GET1^DIQ HEADER+10
^DIR ASKUSER+6, ASKUSER+41, ASKUSER+45
OCAPI^ORCHECK SRCHBYDT+12
$$OCCNT^OROCAPI1 SRCHBYDT+13
$$FMTE^XLFDT HEADER+11
$$HTE^XLFDT ASKUSER+10, HEADER+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Searching....."
  • Line Location: ASKUSER+47
Function Call: WRITE
  • Prompt: @IOF,?(IOM-$L(TITLE))/2,TITLE,!?(IOM-$L(SORT))/2,SORT,!?(IOM-$L(SRTORD))/2,SRTORD
  • Line Location: HEADER+9
Function Call: WRITE
  • Prompt: !!!,"Current User: ",$E($$GET1^DIQ(200,+$G(DUZ),.01),1,26),?42,"Current Date: ",$$HTE^XLFDT($H)
  • Line Location: HEADER+10
Function Call: WRITE
  • Prompt: !,"Date Range Searched: ",$$FMTE^XLFDT(TMP("STRDT"),"1D")," - ",$$FMTE^XLFDT(TMP("ENDDT"),"1D"),?54,"WHERE"
  • Line Location: HEADER+11
Function Call: WRITE
  • Prompt: !,"Order Chks are Overridden By: ",TMP("OVRBY"),!,"Title: ",PERTTL,!!
  • Line Location: HEADER+15
Function Call: WRITE
  • Prompt: !,"Order Check: ",TMP("ORCHK"),!!
  • Line Location: HEADER+16
Function Call: WRITE
  • Prompt: !,"Division: ",TMP("ORDIV"),!!
  • Line Location: HEADER+17
Function Call: WRITE
  • Prompt: !,"Display Group: ",TMP("ORDSPGRP"),!!
  • Line Location: HEADER+18
Function Call: WRITE
  • Prompt: !,"Division: ",TMP("ORDIV"),!,"Display Group: ",TMP("ORDSPGRP"),!!
  • Line Location: HEADER+19
Function Call: WRITE
  • Prompt: "RECNO"_TMP("DLMTR")_"Date/Time Ordered"_TMP("DLMTR")_"Division"_TMP("DLMTR")_"Display Group"_TMP("DLMTR")_"Order#"_TMP("DLMTR")_"D/T Overridden"
  • Line Location: HEADER+22
Function Call: WRITE
  • Prompt: "RECNO"_TMP("DLMTR")_"Date/Time Ordered"_TMP("DLMTR")_"Division"_TMP("DLMTR")_"Display Group"_TMP("DLMTR")_"Order#"_TMP("DLMTR")_"Overridden by"_TMP("DLMTR")_"D/T Overridden"
  • Line Location: HEADER+23
Function Call: WRITE
  • Prompt: "RECNO"_TMP("DLMTR")_"Date/Time Ordered"_TMP("DLMTR")_"Display Group"_TMP("DLMTR")_"Order#"_TMP("DLMTR")_"Overridden by"_TMP("DLMTR")_"D/T Overridden"
  • Line Location: HEADER+24
Function Call: WRITE
  • Prompt: "RECNO"_TMP("DLMTR")_"Date/Time Ordered"_TMP("DLMTR")_"Division"_TMP("DLMTR")_"Order#"_TMP("DLMTR")_"Overridden by"_TMP("DLMTR")_"D/T Overridden"
  • Line Location: HEADER+25
Function Call: WRITE
  • Prompt: "RECNO"_TMP("DLMTR")_"Date/Time Ordered"_TMP("DLMTR")_"Order#"_TMP("DLMTR")_"Overridden by"_TMP("DLMTR")_"D/T Overridden"
  • Line Location: HEADER+26
Function Call: WRITE
  • Prompt: "Date/Time Ordered",?21,"Division",?40,"Display Group",?70,"Order#",!,"-----------------",?21,"--------",?40,"-------------",?70,"------"
  • Line Location: COLHDR+1
Function Call: WRITE
  • Prompt: "Date/Time Ordered",?25,"Display Group",?60,"Order#",!,"-----------------",?25,"-------------",?60,"------"
  • Line Location: COLHDR+2
Function Call: WRITE
  • Prompt: "Date/Time Ordered",?25,"Division",?60,"Order#",!,"-----------------",?25,"--------",?60,"------"
  • Line Location: COLHDR+3
Function Call: WRITE
  • Prompt: "Date/Time Ordered",?45,"Order#",!,"-----------------",?45,"------"
  • Line Location: COLHDR+4
Routine Call
  • DIC
  • Line Location:
    • ASKUSER+17
    • ASKUSER+20
    • ASKUSER+23
    • ASKUSER+26
    • ASKUSER+32
Routine Call
  • DIR
  • Line Location:
    • ASKUSER+6
    • ASKUSER+41
    • ASKUSER+45

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(100.8 - [#100.8] Classic Fileman Calls
^ORD(100.98 - [#100.98] Classic Fileman Calls
^VA(200 - [#200] Classic Fileman Calls,  GET1^DIQ
^DG(40.8 - [#40.8] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] SRCHBYDT+19
^DIC(3.1 - [#3.1] HEADER+14
^OR(100 - [#100] SRCHBYDT+4, SRCHBYDT+14, SRCHBYDT+31, SRCHBYDT+34, SRCHBYDT+37
^ORD(100.8 - [#100.8] SRCHBYDT+17
^ORD(100.98 - [#100.98] SRCHBYDT+21
^ORD(101.41 - [#101.41] SRCHBYDT+21, SRCHBYDT+34, SRCHBYDT+37
^SC - [#44] SRCHBYDT+19, SRCHBYDT+31, SRCHBYDT+37
^TMP("OROVRRPT" SRCHBYDT+3!, SRCHBYDT+4, HEADER+20
^TMP($J SRCHBYDT+12!, SRCHBYDT+13, SRCHBYDT+15, SRCHBYDT+16, SRCHBYDT+40!
^VA(200 - [#200] HEADER+13

Label References

Name Line Occurrences
SRCHBYDT ASKUSER+47

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT ASKUSER+8~, ASKUSER+9*
%DT("A" ASKUSER+10*
%DT("B" ASKUSER+10*
AFGLB SRCHBYDT+2~, SRCHBYDT+4*, SRCHBYDT+11
ANS ASKUSER~
ANS("DELIMIT" ASKUSER+42*, HEADER+20, COLHDR
ANS("DELIMITER" ASKUSER+46*, HEADER+21
ANS("EXIT" ASKUSER+2, ASKUSER+3*, ASKUSER+6*, ASKUSER+15*, ASKUSER+17*, ASKUSER+20*, ASKUSER+23*, ASKUSER+26*, ASKUSER+36*, ASKUSER+37
, ASKUSER+41*, ASKUSER+45*
ANS("SORT" ASKUSER+18*, ASKUSER+21*, ASKUSER+24*, ASKUSER+27*, ASKUSER+29*, SRCHBYDT+6, SRCHBYDT+7, SRCHBYDT+8, SRCHBYDT+9, SRCHBYDT+10
, SRCHBYDT+24, SRCHBYDT+27, SRCHBYDT+31, SRCHBYDT+34, SRCHBYDT+37, HEADER+3, HEADER+4, HEADER+5, HEADER+6, HEADER+7
HEADER+12, HEADER+16, HEADER+17, HEADER+18, HEADER+19, HEADER+22, HEADER+23, HEADER+24, HEADER+25, HEADER+26
COLHDR+1, COLHDR+2, COLHDR+3, COLHDR+4
CNT ASKUSER+8~, ASKUSER+9*, ASKUSER+10, ASKUSER+11*, ASKUSER+13, ASKUSER+14, ASKUSER+29~, ASKUSER+30*, ASKUSER+31, ASKUSER+32*
, ASKUSER+34, ASKUSER+35
DIC ASKUSER+17~*, ASKUSER+20~*, ASKUSER+23~*, ASKUSER+26~*, ASKUSER+29~, ASKUSER+31*
DIC("A" ASKUSER+17*
DIC(0 ASKUSER+17*, ASKUSER+20*, ASKUSER+23*, ASKUSER+26*, ASKUSER+29*
DIR ASKUSER~, ASKUSER+5, ASKUSER+7!, ASKUSER+38~, ASKUSER+43~, ASKUSER+46!
DIR("?" ASKUSER+39*, ASKUSER+40*
DIR("A" ASKUSER+5*, ASKUSER+38*, ASKUSER+43*
DIR("B" ASKUSER+5*, ASKUSER+38*, ASKUSER+43*
DIR(0 ASKUSER+5*, ASKUSER+38*, ASKUSER+44*
DIRUT ASKUSER+4~, ASKUSER+6, ASKUSER+38~, ASKUSER+41, ASKUSER+43~, ASKUSER+45
DIVIEN SRCHBYDT+18~, SRCHBYDT+19*
DIVISN SRCHBYDT+18~, SRCHBYDT+19*, SRCHBYDT+20*, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+29, SRCHBYDT+30, SRCHBYDT+35, SRCHBYDT+36
DSPGRIEN SRCHBYDT+18~, SRCHBYDT+21*
DSPGRP SRCHBYDT+18~, SRCHBYDT+21*, SRCHBYDT+22*, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+29, SRCHBYDT+30, SRCHBYDT+32, SRCHBYDT+33
DTOUT ASKUSER+8~, ASKUSER+15, ASKUSER+17~, ASKUSER+20~, ASKUSER+23~, ASKUSER+26~, ASKUSER+29~, ASKUSER+36
DUOUT ASKUSER+8~, ASKUSER+15, ASKUSER+17~, ASKUSER+20~, ASKUSER+23~, ASKUSER+26~, ASKUSER+29~, ASKUSER+36
DUZ HEADER+10
ENDDT SRCHBYDT~, SRCHBYDT+11
>> IO("HFSIO" HEADER+8
>> IO("SPOOL" HEADER+8
IOF HEADER+9
IOM HEADER+8*, HEADER+9
ORCHCK1 SRCHBYDT+28~, SRCHBYDT+29*
ORCHCK2 SRCHBYDT+28~, SRCHBYDT+29*
ORD0 SRCHBYDT+14~*, SRCHBYDT+18
ORD8 SRCHBYDT+14~*, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+29, SRCHBYDT+30, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+38
, SRCHBYDT+39
ORD9 SRCHBYDT+14~, SRCHBYDT+15*, SRCHBYDT+17, SRCHBYDT+24, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+27, SRCHBYDT+29, SRCHBYDT+30, SRCHBYDT+32
, SRCHBYDT+33, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+38, SRCHBYDT+39
ORD91 SRCHBYDT+14~, SRCHBYDT+16*, SRCHBYDT+17, SRCHBYDT+28, SRCHBYDT+29, SRCHBYDT+30
ORDACT SRCHBYDT+2~, SRCHBYDT+5*, SRCHBYDT+11*, SRCHBYDT+13
ORDCHK SRCHBYDT+14~, SRCHBYDT+17*, SRCHBYDT+23, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+38
, SRCHBYDT+39
ORDCHK1 SRCHBYDT+23~*, SRCHBYDT+25, SRCHBYDT+32, SRCHBYDT+35, SRCHBYDT+38
ORDCHK2 SRCHBYDT+23~*, SRCHBYDT+25, SRCHBYDT+32, SRCHBYDT+35, SRCHBYDT+38
ORDLG SRCHBYDT+18~*, SRCHBYDT+21
ORDNO SRCHBYDT+2~, SRCHBYDT+5*, SRCHBYDT+11*, SRCHBYDT+12, SRCHBYDT+13, SRCHBYDT+14, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+29, SRCHBYDT+30
, SRCHBYDT+31, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+34, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+37, SRCHBYDT+38, SRCHBYDT+39
ORQUIT ASKUSER~
ORRSPNSE ASKUSER+7~*, ASKUSER+16, ASKUSER+19, ASKUSER+22, ASKUSER+25, ASKUSER+28
PERTTL HEADER+2~, HEADER+13*, HEADER+14*, HEADER+15
POP ASKUSER+4~, ASKUSER+38~
PTLOC SRCHBYDT+18~*, SRCHBYDT+19
SORT HEADER+2~*, HEADER+9
SRTORD HEADER+2~, HEADER+3*, HEADER+4*, HEADER+5*, HEADER+6*, HEADER+7*, HEADER+9
STRDT SRCHBYDT~, SRCHBYDT+11*, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+29, SRCHBYDT+30, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+35, SRCHBYDT+36
, SRCHBYDT+38, SRCHBYDT+39
TITLE HEADER+2~*, HEADER+9
>> TMP SRCHBYDT+4*, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+29, SRCHBYDT+30, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+38
, SRCHBYDT+39
>> TMP("DLMTR" HEADER+21*, HEADER+22, HEADER+23, HEADER+24, HEADER+25, HEADER+26
>> TMP("ENDDT" ASKUSER+14*, ASKUSER+15, ASKUSER+47, HEADER+11
>> TMP("ORCHK" ASKUSER+21*, HEADER+16
>> TMP("ORCHKIEN" ASKUSER+21*, SRCHBYDT+6*, SRCHBYDT+8*, SRCHBYDT+9*, SRCHBYDT+10*, SRCHBYDT+27
>> TMP("ORDGPIEN" ASKUSER+27*, ASKUSER+35*, ASKUSER+36, SRCHBYDT+6*, SRCHBYDT+7*, SRCHBYDT+8*, SRCHBYDT+34, SRCHBYDT+37
>> TMP("ORDIV" ASKUSER+24*, ASKUSER+34*, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+38, SRCHBYDT+39, HEADER+17, HEADER+19
>> TMP("ORDIVIEN" ASKUSER+24*, ASKUSER+34*, ASKUSER+36, SRCHBYDT+6*, SRCHBYDT+7*, SRCHBYDT+9*, SRCHBYDT+31, SRCHBYDT+37
>> TMP("ORDSPGRP" ASKUSER+27*, ASKUSER+35*, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+38, SRCHBYDT+39, HEADER+18, HEADER+19
>> TMP("OVRBY" ASKUSER+18*, SRCHBYDT+25, SRCHBYDT+26, HEADER+15
>> TMP("OVRBYIEN" ASKUSER+18*, SRCHBYDT+7*, SRCHBYDT+8*, SRCHBYDT+9*, SRCHBYDT+10*, SRCHBYDT+24, HEADER+13
>> TMP("STRDT" ASKUSER+13*, ASKUSER+15, ASKUSER+47, HEADER+11
TTLIEN HEADER+2~, HEADER+13*, HEADER+14
U SRCHBYDT+15, SRCHBYDT+17, SRCHBYDT+18, SRCHBYDT+19, SRCHBYDT+21, SRCHBYDT+24, SRCHBYDT+25, SRCHBYDT+26, SRCHBYDT+27, SRCHBYDT+29
, SRCHBYDT+30, SRCHBYDT+31, SRCHBYDT+32, SRCHBYDT+33, SRCHBYDT+34, SRCHBYDT+35, SRCHBYDT+36, SRCHBYDT+37, SRCHBYDT+38, SRCHBYDT+39
HEADER+13, HEADER+14
X ASKUSER+4~, ASKUSER+38~, ASKUSER+43~
Y ASKUSER+4~, ASKUSER+7, ASKUSER+8~, ASKUSER+11, ASKUSER+13, ASKUSER+14, ASKUSER+17~, ASKUSER+18, ASKUSER+20~, ASKUSER+21
, ASKUSER+23~, ASKUSER+24, ASKUSER+26~, ASKUSER+27, ASKUSER+29~, ASKUSER+32, ASKUSER+34, ASKUSER+35, ASKUSER+38~, ASKUSER+43~
, ASKUSER+46
Y(0 ASKUSER+18, ASKUSER+21, ASKUSER+24, ASKUSER+27, ASKUSER+34, ASKUSER+35, ASKUSER+42
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