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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ORCMEDT5

Package: Order Entry Results Reporting

Routine: ORCMEDT5


Information

ORCMEDT5 ;SLC/MKB-Misc menu utilities ;03:29 PM 12 Feb 1999

Source Information

Source file <ORCMEDT5.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 6 ^DIC  ^DIE  ^DIK  EN1^DIP  EN^DIQ  ^DIR  
Kernel 1 $$REPEAT^XLFSTR  
List Manager 1 FULL^VALM1  
Order Entry Results Reporting 1 ($$EXT,$$NMSP)^ORCD  
Toolkit 1 EDITPAR^XPAREDIT  

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

Package Total Caller Graph
Order Entry Results Reporting 7 ORCM ASSIGN MENU  ORCM DISABLE  ORCM LIST ORDER MENUS  ORCM SEARCH/REPLACE  ORCMEDT0  ORCMEDT4  RESPONSES  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
SEARCH ; -- Search/replace menu items
SR1(ORX) ; -- list parents, get replacement
LOOP(ORNMBR)
TYPE(X) ; -- Returns name of dialog type
DIC() ; -- ^DIC on Order Dialog file
SELECT(ORY,MAX,Y) ; -- Select which Dlgs to replace items
OK() ; -- Are you ready?
REPLWITH(ORIT) ; -- Remove item, or select replacement
R1
VALID(ITM,DAD,ERR) ; -- Ck if ITM may be placed on DAD
VQ
RECURSV(ITEM,MENU,MSG) ; -- Return 1 or 0, if recursive reference to ITEM
CHKPAR(MENU) ; follow tree to check parents
INUSE(MENU) ; -- Returns 1 or 0, if MENU is in use by parameter
ASSIGN ; -- Assign menu to user(s)
INQ ; -- Inquire to Order Dialog file
OUTPUT(ORY) ; -- Output Xform for Value field of Response multiple
AOPAR ; -- List of add order menus assigned to users
DISABLE ; -- Disable order dialogs
DQ

External References

Name Field # of Occurrence
^DIC DIC+4, R1+2, INQ+3, DISABLE+4
^DIE LOOP+8
^DIK LOOP+7
EN1^DIP AOPAR+7
EN^DIQ INQ+3
^DIR SELECT+4, OK+3, R1DISABLE+9
$$EXT^ORCD OUTPUT+3
$$NMSP^ORCD VALID+2
FULL^VALM1 ASSIGN+1
$$REPEAT^XLFSTR SR1+3, SR1+8
EDITPAR^XPAREDIT ASSIGN+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: SEARCH+2
Function Call: WRITE
  • Prompt: !,$P(ORX,U,2)_" has no menu items."
  • Line Location: SR1+2
Function Call: WRITE
  • Prompt: @IOF,"Menu items of "_$P(ORX,U,2),!?4,"Name",?69,"Type",!,$$REPEAT^XLFSTR("-",79)
  • Line Location: SR1+3
Function Call: WRITE
  • Prompt: !,ORDAD,?4,$P(^ORD(101.41,I,0),U),?69,$$TYPE($P(^(0),U,4))
  • Line Location: SR1+7
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",79)
  • Line Location: SR1+8
Function Call: WRITE
  • Prompt: !!,$S(ORY="@":"Removing",1:"Replacing "_$P(ORX,U,2)_" with "_$P(ORY,U,2))_" in:"
  • Line Location: SR1+11
Function Call: WRITE
  • Prompt: !?3,ORNM_" ..."
  • Line Location: LOOP+3
Function Call: WRITE
  • Prompt: "not "_$S(ORY="@":"removed.",1:"changed."),!?3,">> "_$G(ORERR)
  • Line Location: LOOP+5
Function Call: WRITE
  • Prompt: !?25,"=>"_ORERR(I)
  • Line Location: LOOP+6
Function Call: WRITE
  • Prompt: "done."
  • Line Location: LOOP+7
Function Call: WRITE
  • Prompt: $S($P(^ORD(101.41,DA(1),10,DA,0),U,2)=+ORY:"done.",1:"error - not replaced.")
  • Line Location: LOOP+8
Function Call: WRITE
  • Prompt: !
  • Line Location: OK+3
Function Call: WRITE
  • Prompt: !
  • Line Location: INQ+3
Function Call: WRITE
  • Prompt: !
  • Line Location: INQ+3
Function Call: WRITE
  • Prompt: !!,"Enter a message to disable the dialog(s), or @ to enable again."
  • Line Location: DISABLE+6
Function Call: WRITE
  • Prompt: !,"Nothing "_$S(ORDIS="@":"en",1:"dis")_"abled."
  • Line Location: DISABLE+10
Function Call: WRITE
  • Prompt: "."
  • Line Location: DISABLE+11
Function Call: WRITE
  • Prompt: !,"done."
  • Line Location: DISABLE+12
Routine Call
  • DIC
  • Line Location:
    • DIC+4
    • R1+2
    • INQ+3
    • DISABLE+4
Routine Call
  • DIE
  • Line Location:
    • LOOP+8
Routine Call
  • DIR
  • Line Location:
    • SELECT+4
    • OK+3
    • R1
    • DISABLE+9

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ORD(101.41 - [#101.41] SR1+2, SR1+4, SR1+5, SR1+7, LOOP+3, LOOP+8, VALID+2, VALID+4, RECURSV+3, CHKPAR+3
, CHKPAR+5, CHKPAR+6, OUTPUT+2, OUTPUT+3, DISABLE+11*
^TMP("ORDISABLE" DISABLE+1!, DISABLE+4*, DISABLE+5, DISABLE+11, DQ!
^XTV(8989.5 - [#8989.5] INUSE+3
^XTV(8989.51 - [#8989.51] INUSE+2

Label References

Name Line Occurrences
$$DIC SEARCH+2
$$OK SR1+11, DISABLE+10
$$REPLWITH SR1+9
$$TYPE SR1+7, VALID+5, VALID+6, VALID+7
$$VALID LOOP+4
CHKPAR RECURSV+4, CHKPAR+8
DQ DISABLE+9, DISABLE+10
LOOP SR1+13
R1 R1+2
RECURSV VALID+8
SELECT SR1+10
SR1 SEARCH+2
VQ VALID+2, VALID+3, VALID+5, VALID+6, VALID+7, VALID+8

Naked Globals

Name Field # of Occurrence
^( INUSE+3
^(0 SR1+7, VALID+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BY AOPAR+1~, AOPAR+4*
CNT SR1+1~, SR1+12*, SR1+13, RECURSV+1~*, CHKPAR+6*
>> D0 OUTPUT+2
>> D1 OUTPUT+2
DA SR1+1~, LOOP+2*, LOOP+8, INQ+1~, INQ+3*
DA(1 LOOP+2*, LOOP+3, LOOP+8
DAD VALID~, VALID+2, VALID+8
DHD AOPAR+1~, AOPAR+5*
DIC DIC+1~, DIC+2*, REPLWITH+1~, R1+2*, INQ+1~, INQ+2*, AOPAR+1~, AOPAR+2*, DISABLE+1~, DISABLE+2*
DIC("?" DIC+3*, DISABLE+2*
DIC("A" DIC+2*, DISABLE+2*, DISABLE+4*
DIC("W" DISABLE+3*
DIC(0 DIC+2*, R1+2*, INQ+2*, DISABLE+2*
DIE SR1+1~, LOOP+2*, LOOP+7
DIK SR1+1~, LOOP+7*
DIQ INQ+1~
DIR SELECT+1~, OK+1~, REPLWITH+1~, DISABLE+1~
DIR("?" REPLWITH+3*, DISABLE+8*
DIR("A" SELECT+2*, OK+2*, REPLWITH+2*, DISABLE+7*
DIR("B" SELECT+2*, OK+2*
DIR(0 SELECT+2*, OK+2*, REPLWITH+2*, DISABLE+7*
DR SR1+1~, LOOP+8*, INQ+1~
>> DTOUT SELECT+4, R1+1, DISABLE+9
DTYPE VALID+1~, VALID+2*, VALID+5, VALID+6, VALID+7
>> DUOUT DISABLE+9
ENT INUSE+1~, INUSE+3*
ERR VALID~, VALID+2*, VALID+5*, VALID+6*, VALID+7*, VALID+8
FLDS AOPAR+1~, AOPAR+6*
FR AOPAR+1~, AOPAR+3*
I SR1+1~, SR1+4*, SR1+5, SR1+6, SR1+7, LOOP+6*, CHKPAR+1~, CHKPAR+6*
IOF SR1+3
ITEM RECURSV~, RECURSV+3, CHKPAR+4, CHKPAR+5
ITM VALID~, VALID+3, VALID+4, VALID+8
ITYPE VALID+1~, VALID+4*, VALID+5, VALID+6, VALID+7
J SR1+1~, SR1+5*, SR1+6
MAX SELECT~, SELECT+2
MENU RECURSV~, RECURSV+3, RECURSV+4, CHKPAR~, CHKPAR+2, CHKPAR+3, INUSE~, INUSE+3
MSG RECURSV~, RECURSV+2!, RECURSV+3*, CHKPAR+3, CHKPAR+5*
MSG( CHKPAR+6*
NUM SR1+1~, LOOP+1*, LOOP+2
ORDAD SR1+1~, SR1+4*, SR1+6*, SR1+7, SR1+10, LOOP+3*, LOOP+4
ORDAD( SR1+6*, LOOP+2
ORDIALOG OUTPUT+1~
ORDIALOG( OUTPUT+3*
ORDIS DISABLE+1~, DISABLE+9*, DISABLE+10, DISABLE+11
ORDLG SEARCH+1~, SEARCH+2*
>> ORERR LOOP+4, LOOP+5
>> ORERR( LOOP+6
ORI SR1+1~, LOOP+1*, DISABLE+1~, DISABLE+11*
ORIT REPLWITH~, REPLWITH+2
ORNM SR1+1~, LOOP+3*
ORNMBR SR1+1~, SR1+10, LOOP~, LOOP+1
ORNMBR( SR1+12, SR1+13
ORP OUTPUT+1~, OUTPUT+2*, OUTPUT+3
ORX SR1~, SR1+2, SR1+3, SR1+4, SR1+5, SR1+9, SR1+11
ORY SR1+1~, SR1+9*, SR1+10, SR1+11, LOOP+4, LOOP+5, LOOP+7, LOOP+8, SELECT~, SELECT+2
, OUTPUT~, OUTPUT+1, OUTPUT+3
ORZ OUTPUT+1~*, OUTPUT+3*, OUTPUT+4
PARAM INUSE+1~, INUSE+2*, INUSE+3
PMENU CHKPAR+1~, CHKPAR+2*, CHKPAR+3*, CHKPAR+4, CHKPAR+7, CHKPAR+8
STACK RECURSV+1~*, CHKPAR+2*, CHKPAR+6, CHKPAR+9*
STACK( CHKPAR+2*, CHKPAR+6, CHKPAR+9!
STACK("B" CHKPAR+2*, CHKPAR+7
TO AOPAR+1~, AOPAR+3*
U SR1+2, SR1+3, SR1+6, SR1+7, SR1+11, LOOP+2, LOOP+3, LOOP+8, REPLWITH+2, VALID+2
, VALID+4, RECURSV+3, CHKPAR+5, CHKPAR+6, OUTPUT+2, OUTPUT+3, DISABLE+11
>> VALMBCK ASSIGN+3*
X TYPE~, TYPE+1, DIC+1~, SELECT+1~, SELECT+4, OK+1~, REPLWITH+1~, R1R1+1, INQ+1~
DISABLE+1~, DISABLE+9
Y TYPE+1~*, TYPE+2, DIC+1~, DIC+5, SELECT~, SELECT+4*, OK+1~, OK+4, REPLWITH+1~, R1+2
R1+3, VALID+1~*, VALID+3*, VALID+8*, VALID+9*, VQ, INUSE+1~, INUSE+2*, INUSE+3*, INUSE+4
INQ+1~, INQ+3, DISABLE+1~, DISABLE+4
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 |  Naked Globals |  Local Variables  | All