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

Package: Engineering

Routine: ENFABAL


Information

ENFABAL ;WIRMFO/SAB-MAINTAIN FILE 6915.9 FAP BALANCES ;4/23/96

Source Information

Source file <ENFABAL.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Engineering 3 ADJBAL^ENFABAL  (FVST,SUM)^ENFABAL1  (,TVSF)^ENFABAL2  
VA FileMan 3 MSG^DIALOG  UPDATE^DIE  ^DIR  
Kernel 1 $$FMTE^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: 11

Package Total Caller Graph
Engineering 11 ENFA RECALC BALANCES  ENFAACQ  ENFABAL  ENFABETR  ENFACHG  ENFACTX  ENFADEL  ENFAR5B  
ENFARB  ENFAXFR  ENXOIPS  

Entry Points

Name Comments DBIA/ICR reference
ADJBAL(STN,FUND,SGL,MTH,NET) ; Adjust Balance Amount in File #6915.9
; called from FAP Documents and Recalculation option
; Input
; STN - station number (3-5 char)
; FUND - fund pointer (to NX FUND)
; SGL - standard general ledger pointer (to NX SGL)
; MTH - month (FileMan date)
; NET - net $ change (can include two decimals)
GETBAL(IEN1,IEN2,IEN3,MTH) ; Get Balance Amount from File #6915.9
; called from ADJBAL and routine ENFAR5*
; Input
; IEN1 - ien of station
; IEN2 - ien of fund multiple
; IEN3 - ien of sgl multiple
; MTH - month (FileMan date)
; Output
; BAL - balance amount
RECALC ; Recalculate Net Activity for Month (optionally update file 6915.9)
; called from option ENFA RECALC BALANCES
; ask for period (month/year)
EXIT ;

External References

Name Field # of Occurrence
MSG^DIALOG ADJBAL+18
UPDATE^DIE ADJBAL+18
^DIR RECALC+11, RECALC+21, RECALC+42
ADJBAL^ENFABAL RECALC+52
FVST^ENFABAL1 RECALC+34
SUM^ENFABAL1 RECALC+32
^ENFABAL2 RECALC+39
TVSF^ENFABAL2 RECALC+35
$$FMTE^XLFDT RECALC+7, RECALC+15

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"You have chosen to recalculate the $ from FAP transactions during"
  • Line Location: RECALC+14
Function Call: WRITE
  • Prompt: !,"the month of ",$$FMTE^XLFDT(ENDTR),"."
  • Line Location: RECALC+15
Function Call: WRITE
  • Prompt: $C(7),!!,"WARNING - Current month was selected. FAP Document Files will be"
  • Line Location: RECALC+17
Function Call: WRITE
  • Prompt: !,"locked to ensure that no FAP transactions (FA, FB, FC, FD, and FR)"
  • Line Location: RECALC+18
Function Call: WRITE
  • Prompt: !,"can be processed during the recalculation."
  • Line Location: RECALC+19
Function Call: WRITE
  • Prompt: !
  • Line Location: RECALC+20
Function Call: WRITE
  • Prompt: !,$C(7),"Can't Proceed. Try Later"
  • Line Location: RECALC+22
Function Call: WRITE
  • Prompt: !,"FA Document Log in use."
  • Line Location: RECALC+24
Function Call: WRITE
  • Prompt: !,"FB Document Log in use."
  • Line Location: RECALC+25
Function Call: WRITE
  • Prompt: !,"FC Document Log in use."
  • Line Location: RECALC+26
Function Call: WRITE
  • Prompt: !,"FD Document Log in use."
  • Line Location: RECALC+27
Function Call: WRITE
  • Prompt: !,"FR Document Log in use."
  • Line Location: RECALC+28
Function Call: WRITE
  • Prompt: !!,"Calculating net activity from transactions..."
  • Line Location: RECALC+32
Function Call: WRITE
  • Prompt: !,"Comparing FAP BALANCES file with transactions..."
  • Line Location: RECALC+34
Function Call: WRITE
  • Prompt: !,"Comparing transactions with FAP BALANCES file..."
  • Line Location: RECALC+35
Function Call: WRITE
  • Prompt: !!,"No problems were found."
  • Line Location: RECALC+37
Function Call: WRITE
  • Prompt: $C(7),!!,"Problems were found..."
  • Line Location: RECALC+39
Function Call: WRITE
  • Prompt: !
  • Line Location: RECALC+41
Routine Call
  • DIALOG
  • Line Location:
    • ADJBAL+18
Routine Call
  • DIE
  • Line Location:
    • ADJBAL+18
Routine Call
  • DIR
  • Line Location:
    • RECALC+11
    • RECALC+21
    • RECALC+42

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ENG(6914.3 - [#6914.3] RECALC+49
^ENG(6914.6 - [#6914.6] RECALC+46
^ENG(6915.2 - [#6915.2] RECALC+24, EXIT+2
^ENG(6915.3 - [#6915.3] RECALC+25, EXIT+3
^ENG(6915.4 - [#6915.4] RECALC+26, EXIT+4
^ENG(6915.5 - [#6915.5] RECALC+27, EXIT+5
^ENG(6915.6 - [#6915.6] RECALC+28, EXIT+6
^ENG(6915.9 - [#6915.9] ADJBAL+20, ADJBAL+25*, ADJBAL+26, ADJBAL+29, ADJBAL+30, ADJBAL+31, ADJBAL+32, ADJBAL+34*, ADJBAL+35, GETBAL+10
, GETBAL+11, GETBAL+13, GETBAL+15, GETBAL+16
^TMP($J RECALC+30!, RECALC+37, RECALC+44, RECALC+45, RECALC+48, RECALC+50, EXIT+7!

Label References

Name Line Occurrences
$$GETBAL ADJBAL+22
EXIT RECALC+11, RECALC+21, RECALC+22, RECALC+37, RECALC+42

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BAL ADJBAL+8~, ADJBAL+22*, ADJBAL+24, ADJBAL+32*, ADJBAL+33, GETBAL+9~, GETBAL+11*, GETBAL+12, GETBAL+16*, GETBAL+17
DIR RECALC+11!, RECALC+21!, RECALC+42!, EXIT+9!
DIR("?" RECALC+9*, RECALC+10*
DIR("A" RECALC+4*, RECALC+20*, RECALC+41*
DIR("B" RECALC+7*
DIR(0 RECALC+3*, RECALC+20*, RECALC+41*
DIROUT EXIT+9!
DIRUT RECALC+11, RECALC+21, RECALC+42, EXIT+9!
DT RECALC+5, RECALC+16, RECALC+22, EXIT+1
DTOUT EXIT+9!
DUOUT EXIT+9!
ENADJ RECALC+51*, RECALC+52, EXIT+8!
ENDTR RECALC+12*, RECALC+15, RECALC+16, RECALC+22, RECALC+52, EXIT+1, EXIT+8!
ENFDA ADJBAL+8~
ENFDA( ADJBAL+14*, ADJBAL+15*, ADJBAL+16*, ADJBAL+17*
ENFUND RECALC+45*, RECALC+46, RECALC+48, RECALC+50, EXIT+8!
ENFUNDI RECALC+46*, RECALC+52, EXIT+8!
ENI ADJBAL+8~
ENI(1 ADJBAL+20, ADJBAL+22, ADJBAL+25, ADJBAL+26, ADJBAL+29, ADJBAL+30, ADJBAL+31, ADJBAL+32, ADJBAL+34, ADJBAL+35
, GETBAL+10, GETBAL+13, GETBAL+15, GETBAL+16
ENI(2 ADJBAL+20, ADJBAL+22, ADJBAL+25, ADJBAL+26, ADJBAL+29, ADJBAL+30, ADJBAL+31, ADJBAL+32, ADJBAL+34, ADJBAL+35
, GETBAL+10, GETBAL+13, GETBAL+15, GETBAL+16
ENI(3 ADJBAL+20, ADJBAL+22, ADJBAL+25, ADJBAL+26, ADJBAL+29, ADJBAL+30, ADJBAL+31, ADJBAL+32, ADJBAL+34, ADJBAL+35
, GETBAL+10, GETBAL+13, GETBAL+15, GETBAL+16
ENI(4 ADJBAL+20, ADJBAL+25, ADJBAL+26
ENLOCK RECALC+22, RECALC+23*, RECALC+24*, RECALC+25*, RECALC+26*, RECALC+27*, RECALC+28*, EXIT+8!
ENSGL RECALC+47*, RECALC+48*, RECALC+49, RECALC+50, EXIT+8!
ENSGLI RECALC+49*, RECALC+52, EXIT+8!
ENSN RECALC+44*, RECALC+45, RECALC+48, RECALC+50, RECALC+52, EXIT+8!
FUND ADJBAL~, ADJBAL+9, ADJBAL+15
IEN1 GETBAL~, GETBAL+11
IEN2 GETBAL~, GETBAL+11
IEN3 GETBAL~, GETBAL+11
IEN4 GETBAL+9~, GETBAL+10*, GETBAL+11
LMTH ADJBAL+8~, ADJBAL+28*, ADJBAL+29*, ADJBAL+30
LMTHI ADJBAL+8~, ADJBAL+30*, ADJBAL+31, ADJBAL+32, ADJBAL+34, ADJBAL+35
MTH ADJBAL~, ADJBAL+9, ADJBAL+10, ADJBAL+12*, ADJBAL+17, ADJBAL+22, ADJBAL+28, GETBAL~, GETBAL+10, GETBAL+13
NBAL ADJBAL+8~, ADJBAL+24*, ADJBAL+25, ADJBAL+33*, ADJBAL+34
NET ADJBAL~, ADJBAL+9, ADJBAL+11, ADJBAL+24, ADJBAL+33
PMTH ADJBAL+8~, GETBAL+9~, GETBAL+13*, GETBAL+14, GETBAL+15
PMTHI ADJBAL+8~, GETBAL+9~, GETBAL+15*, GETBAL+16
SGL ADJBAL~, ADJBAL+9, ADJBAL+16
STN ADJBAL~, ADJBAL+9, ADJBAL+14
U ADJBAL+25, ADJBAL+32, ADJBAL+34, GETBAL+11, GETBAL+16, RECALC+51
X RECALC+6*, RECALC+7, RECALC+8!, EXIT+9!
X("M" RECALC+5*, RECALC+6
X("Y" RECALC+5*, RECALC+6
Y RECALC+12, RECALC+21, RECALC+42, RECALC+50*, RECALC+51, EXIT+9!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All