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

Package: Engineering

Routine: ENFAEIL


Information

ENFAEIL ;(WIRMFO)/SAB-EDIT CMR AND NATIONAL EIL FILES ;12/17/1998

Source Information

Source file <ENFAEIL.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Engineering 4 ($$CHKFA,CMRSTA)^ENFAUTL  ^ENFAVAL  (ADDFR,CVTDATA)^ENFAXFR  ^ENFAXMT  
VA FileMan 4 ^DIC  ^DIE  ^DIK  ^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
Engineering 3 ENCMR  ENFA EIL  ENXVIPS  

Entry Points

Name Comments DBIA/ICR reference
EIL ; Enter/Edit National EIL file - called by option ENFA EIL
EILASK ;
EILX ;
CMR ; Enter/Edit CMR file - called by option ENCMR
CMRASK ;
CMRX ;
FREIL(ENEIL) ; Batch Send FR Documents for equipment on EIL
; Input
; ENEIL - EIL code
; Returns number of FR Documents sent
; Output
; (optional) ^TMP($J,"BAD",equipment ien,line#)=validation problem
FRCMR(ENCMRI) ; Batch Send FR Documents for equipment on CMR
; This code is used to generate FR Documents without user interaction.
; It is called when a batch of FR Documents are being sent due to
; a change of CMR name or EIL cost center.
; Input
; ENCMRI - ien of CMR
; Returns number of FR Documents sent
; Output
; (optional) ^TMP($J,"BAD",equipment ien,line#)=validation problem
FRERR ; List equipment whose FR failed validation
; Input
; ^TMP($J,"BAD",equipment ien,line#)=validation problem

External References

Name Field # of Occurrence
^DIC EILASK+4, CMRASK+4
^DIE EILASK+9, EILASK+21, CMRASK+10, CMRASK+29, CMRASK+35
^DIK FRCMR+37
^DIR EILASK+17, CMRASK+33
$$CHKFA^ENFAUTL CMRASK+25, FRCMR+16
CMRSTA^ENFAUTL CMRASK+46
^ENFAVAL FRCMR+34
ADDFR^ENFAXFR FRCMR+23
CVTDATA^ENFAXFR FRCMR+32
^ENFAXMT FRCMR+38

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"The National EIL file should only be changed at the direction of"
  • Line Location: EIL+1
Function Call: WRITE
  • Prompt: !,"VACO. If the cost center associated with an EIL code is changed"
  • Line Location: EIL+2
Function Call: WRITE
  • Prompt: !,"then FR Documents will automatically be generated in order to"
  • Line Location: EIL+3
Function Call: WRITE
  • Prompt: !,"update the cost center value in Fixed Assets. A FR Document will"
  • Line Location: EIL+4
Function Call: WRITE
  • Prompt: !,"be sent for each equipment item that belongs to a CMR that starts"
  • Line Location: EIL+5
Function Call: WRITE
  • Prompt: !,"with the EIL code and is currently established in Fixed Assets."
  • Line Location: EIL+6
Function Call: WRITE
  • Prompt: !
  • Line Location: EILASK+1
Function Call: WRITE
  • Prompt: $C(7),!,"Another user is editing this EIL. Please try again later."
  • Line Location: EILASK+7
Function Call: WRITE
  • Prompt: !,"Since the COST CENTER was changed, FR Documents will be sent"
  • Line Location: EILASK+13
Function Call: WRITE
  • Prompt: !,"for appropriate equipment associated with the EIL."
  • Line Location: EILASK+14
Function Call: WRITE
  • Prompt: !,"Restoring the EIL's cost center to it's previous value..."
  • Line Location: EILASK+18
Function Call: WRITE
  • Prompt: !,"Generating FR Documents..."
  • Line Location: EILASK+22
Function Call: WRITE
  • Prompt: X," sent."
  • Line Location: EILASK+25
Function Call: WRITE
  • Prompt: !
  • Line Location: CMRASK+1
Function Call: WRITE
  • Prompt: $C(7),!,"Another user is editing this CMR. Please try again later."
  • Line Location: CMRASK+8
Function Call: WRITE
  • Prompt: !!,"The first five digits of the CMR name were changed. This change"
  • Line Location: CMRASK+13
Function Call: WRITE
  • Prompt: !,"affects all equipment records which point to this CMR."
  • Line Location: CMRASK+14
Function Call: WRITE
  • Prompt: !,"The computer will automatically generate FR Documents for"
  • Line Location: CMRASK+15
Function Call: WRITE
  • Prompt: !,"appropriate capitalized equipment on this CMR to update Fixed"
  • Line Location: CMRASK+16
Function Call: WRITE
  • Prompt: !,"Assets (FAP) with the new department and cost center.",!
  • Line Location: CMRASK+17
Function Call: WRITE
  • Prompt: !,"Since you do not hold the security key for sending documents"
  • Line Location: CMRASK+19
Function Call: WRITE
  • Prompt: !,"to FAP ('ENFACS'), the system can't send FR Documents."
  • Line Location: CMRASK+20
Function Call: WRITE
  • Prompt: !,"Therefore, the CMR name can only be changed if none of the"
  • Line Location: CMRASK+21
Function Call: WRITE
  • Prompt: !,"equipment on the CMR is reported to FAP."
  • Line Location: CMRASK+22
Function Call: WRITE
  • Prompt: !!,"Checking equipment..."
  • Line Location: CMRASK+23
Function Call: WRITE
  • Prompt: "one or more items are reported to FAP.",$C(7)
  • Line Location: CMRASK+27
Function Call: WRITE
  • Prompt: !,"Sorry, I must restore this CMR to it's previous name."
  • Line Location: CMRASK+28
Function Call: WRITE
  • Prompt: "none reported to FAP. Name change accepted."
  • Line Location: CMRASK+30
Function Call: WRITE
  • Prompt: !,"Restoring CMR to previous name..."
  • Line Location: CMRASK+34
Function Call: WRITE
  • Prompt: !,"Generating FR Documents..."
  • Line Location: CMRASK+36
Function Call: WRITE
  • Prompt: X," sent."
  • Line Location: CMRASK+39
Function Call: WRITE
  • Prompt: !!,"Since a new station number was entered, the computer will"
  • Line Location: CMRASK+44
Function Call: WRITE
  • Prompt: !,"attempt to update the station numbers of equipment on this CMR."
  • Line Location: CMRASK+45
Function Call: WRITE
  • Prompt: !!,"FR Documents could not be created for some equipment items."
  • Line Location: FRERR+5
Function Call: WRITE
  • Prompt: !!,?2,"Equipment Entry #",ENDA,"'s FR Document invalid because"
  • Line Location: FRERR+7
Function Call: WRITE
  • Prompt: !,?4,^(ENI)
  • Line Location: FRERR+8
Routine Call
  • DIC
  • Line Location:
    • EILASK+4
    • CMRASK+4
Routine Call
  • DIE
  • Line Location:
    • EILASK+9
    • EILASK+21
    • CMRASK+10
    • CMRASK+29
    • CMRASK+35
Routine Call
  • DIR
  • Line Location:
    • EILASK+17
    • CMRASK+33

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ENG(6914.1 - [#6914.1] Classic Fileman Calls
^ENG(6914.9 - [#6914.9] Classic Fileman Calls
^ENG(6915.6 - [#6915.6] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ENG(6914 - [#6914] CMRASK+25, FRCMR+15, FRCMR+20
^ENG(6914.1 - [#6914.1] CMRASK+6, CMRASK+8, CMRASK+12, CMRASK+42, CMRASK+48, FREIL+12, FREIL+14
^ENG(6914.9 - [#6914.9] EILASK+7, EILASK+11, EILASK+27
^ENG(6915.6 - [#6915.6] FRCMR+26, FRCMR+31*, FRCMR+39
^TMP($J EILASK+23!, EILASK+26!, CMRASK+37!, CMRASK+40!, FRCMR+35, FRERR+3, FRERR+6, FRERR+8
^XUSEC("ENFACS" CMRASK+18

Label References

Name Line Occurrences
$$FRCMR CMRASK+38, FREIL+14
$$FREIL EILASK+24
CMRASK CMRASK+8, CMRASK+50
CMRX CMRASK+4
EILASK EILASK+7, EILASK+29
EILX EILASK+4
FRERR EILASK+26, CMRASK+40

Naked Globals

Name Field # of Occurrence
^( FRERR+8
^(0 CMRASK+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA EILASK+9*, EILASK+19*, EILASK+21!, EILX+1!, CMRASK+10*, CMRASK+29*, CMRASK+35*, CMRASK+46*, CMRX+1!, FRCMR+37*
DIC EILASK+3*, EILASK+9, EILX+1!, CMRASK+3*, CMRASK+10, CMRX+1!
DIC(0 EILASK+3*, CMRASK+3*
DIE EILASK+9*, EILASK+19*, EILASK+21!, EILX+1!, CMRASK+10*, CMRASK+29*, CMRASK+35*, CMRX+1!
DIK FRCMR+37*!
DIR EILASK+17!, CMRASK+33!
DIR("A" EILASK+16*, CMRASK+32*
DIR(0 EILASK+16*, CMRASK+32*
DLAYGO EILASK+2*, EILASK+4!, CMRASK+2*, CMRASK+4!
DR EILASK+9*, EILASK+20*, EILASK+21!, EILX+1!, CMRASK+10*, CMRASK+29*, CMRASK+35*, CMRX+1!
DTOUT EILX+1!, CMRX+1!
DUZ CMRASK+18
ENBAT FRCMR+10~
ENBAT("SILENT" FRCMR+12*
ENC FREIL+6~, FREIL+7*, FREIL+9, FREIL+14*, FREIL+15, FRCMR+10~, FRCMR+12*, FRCMR+38*, FRCMR+40
ENCMR CMRASK+5*, CMRASK+12, CMRX+2!, FREIL+6~, FREIL+11*, FREIL+12*, FREIL+14
ENCMR("DA" CMRASK+5*, CMRASK+6, CMRASK+8, CMRASK+10, CMRASK+12, CMRASK+25, CMRASK+29, CMRASK+35, CMRASK+38, CMRASK+42
CMRASK+46, CMRASK+48, FREIL+13*, FREIL+14*
ENCMR("FAP" CMRASK+24*, CMRASK+25*, CMRASK+26, CMRASK+30
ENCMR("SN" CMRASK+6*, CMRASK+42*, CMRASK+43
ENCMRI FRCMR~, FRCMR+15
ENDA FRERR+4~, FRERR+6*, FRERR+7, FRERR+8
ENDO FRCMR+10~, FRCMR+22*, FRCMR+24, FRCMR+32, FRCMR+33, FRCMR+35*, FRCMR+36, FRCMR+38
ENEIL EILASK+5*, EILASK+24, EILX+2!, FREIL~, FREIL+9, FREIL+11, FREIL+12
ENEIL("CC" EILASK+5*, EILASK+11*, EILASK+12, EILASK+20
ENEIL("DA" EILASK+5*, EILASK+7, EILASK+9, EILASK+11, EILASK+19, EILASK+27
ENEQ CMRX+2!, FRCMR+10~
ENEQ( FRCMR+20*
ENEQ("DA" CMRASK+24*, CMRASK+25*, FRCMR+14*, FRCMR+15*, FRCMR+16, FRCMR+20, FRCMR+35
ENEQ(2 FRCMR+30
ENEQ(9 FRCMR+27, FRCMR+28, FRCMR+29
ENFA FRCMR+10~
ENFA("DA" FRCMR+19*
ENFAP FRCMR+10~
ENFAP("DOC" FRCMR+34*
ENFAP(100 FRCMR+26*, FRCMR+27*, FRCMR+28*, FRCMR+29*, FRCMR+30*, FRCMR+31
ENFR FRCMR+10~
ENFR("DA" FRCMR+22*, FRCMR+26, FRCMR+31, FRCMR+36, FRCMR+37, FRCMR+39
ENI FRERR+4~, FRERR+8*
ENX FRCMR+10~, FRCMR+16*, FRCMR+17, FRCMR+19
>> I FRCMR+20*
U EILASK+5, EILASK+11, CMRASK+5, CMRASK+6, CMRASK+12, CMRASK+42, FRCMR+19, FRCMR+27, FRCMR+28, FRCMR+29
, FRCMR+30
X EILASK+24*, EILASK+25, EILX+1!, CMRASK+38*, CMRASK+39, CMRX+1!
Y EILASK+4, EILASK+5, EILASK+17, EILX+1!, CMRASK+4, CMRASK+5, CMRASK+33, CMRX+1!
Y(0 EILASK+5
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