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 |  Marked Items  | All
Print Page as PDF
Routine: PRSA8BNI

Package: PAID

Routine: PRSA8BNI


Information

PRSA8BNI ;WOIFO/JAH - Tour Hours vs 8B Norm Hrs Report ;7/9/08

Source Information

Source file <PRSA8BNI.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
PAID 3 ^PRSAENT  TOURHRS^PRSARC07  $$ASK^PRSLIB00  
VA FileMan 2 ^DIC  ^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: 2

Package Total Caller Graph
PAID 2 PRSA8BNH  PRSA8BTH  

Entry Points

Name Comments DBIA/ICR reference
GETPP() ;prompt for pay period
NOTOURS() ;return true if user wants to see data from employees with
; no tour of duty set up yet
; otherwise return 0 or -1 for abort
NOTCARD() ;return true if user wants to see data from employees with
; no timecard on file, ie no entry for pp in 458
; otherwise return 0 or -1 for abort
SHONOTES() ;return true if user wants to see footnotes that describe
; the columns in the report at the end of the report
DAILYHRS() ;return true if user wants to see tour hours for each day
; otherwise return 0 or -1 for abort
TRHDR ;
EMPINFO(PRSENAME,PRSSN,HRS) ;
HDR(PG,TSTAMP,END,FORWHO,PPE,PPRANGE,OPT) ;
RET(TSTAMP) ;
GETHOURS(PPI,PRSIEN) ; Return TOUR HOURS AND NORMAL HOURS
REPDONE(OUT,TLECNT,TSTAMP,DAILYHRS,GRANDTOT) ; report done display page
FOOTNOTE(DAILYHRS) ; display notes about the report
ALLFT ;;
DAILYFT ;;

External References

Name Field # of Occurrence
^DIC GETPP+4
^DIR NOTOURS+8, NOTCARD+8, SHONOTES+7, DAILYHRS+7
^PRSAENT GETHOURS+11
TOURHRS^PRSARC07 GETHOURS+13
$$ASK^PRSLIB00 RET+4, REPDONE+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: GETPP+3
Function Call: WRITE
  • Prompt: !!,?7,"Day",?12,"ToD #*",?19,"Tour Week 1",?34,"Hours*",?47,"ToD #*",?54,"Tour Week 2",?69,"Hours*"
  • Line Location: TRHDR+1
Function Call: WRITE
  • Prompt: !,?7,"---",?12,"-----",?19,"-----------",?34,"-----",?47,"-----",?54,"-----------",?69,"-----"
  • Line Location: TRHDR+2
Function Call: WRITE
  • Prompt: !!?2,PRSENAME,?26,PRSSN,?44,$P(HRS,U),?55,$P(HRS,U,2)
  • Line Location: EMPINFO+1
Function Call: WRITE
  • Prompt: ?63,PRSIEN
  • Line Location: EMPINFO+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?(IOM-$L(H1)\2),H1,B,"p",PG,!,?(IOM-$L(H2)\2),H2
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: !!,?2,"EMPLOYEE NAME",?26," SSN",?40,"8B NRM HRS ToD HRS*"
  • Line Location: HDR+10
Function Call: WRITE
  • Prompt: ?63,"IEN 450"
  • Line Location: HDR+11
Function Call: WRITE
  • Prompt: !?2,"======================",?26,"===========",?40,"========== ======="
  • Line Location: HDR+12
Function Call: WRITE
  • Prompt: " ======="
  • Line Location: HDR+13
Function Call: WRITE
  • Prompt: !,"NO T&L UNITS WERE FOUND ASSIGNED TO YOU THAT COULD BE CHECKED."
  • Line Location: REPDONE+2
Function Call: WRITE
  • Prompt: !!,"********REPORT ABORTED*********"
  • Line Location: REPDONE+4
Function Call: WRITE
  • Prompt: !!,"REPORT COMPLETED. TOTAL MISMATCHES FOUND: ",GRANDTOT
  • Line Location: REPDONE+5
Function Call: WRITE
  • Prompt: !,"================================================================="
  • Line Location: FOOTNOTE+1
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOTNOTE+3
Function Call: WRITE
  • Prompt: !,TXT
  • Line Location: FOOTNOTE+4
Function Call: WRITE
  • Prompt: !,TXT
  • Line Location: FOOTNOTE+6
Routine Call
  • DIC
  • Line Location:
    • GETPP+4
Routine Call
  • DIR
  • Line Location:
    • NOTOURS+8
    • NOTCARD+8
    • SHONOTES+7
    • DAILYHRS+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PRST(458 - [#458] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRSPC - [#450] GETHOURS+10
^PRST(457.5 - [#457.5] GETHOURS+7
^PRST(458 - [#458] GETHOURS+5, GETHOURS+8

Label References

Name Line Occurrences
FOOTNOTE REPDONE+6
HDR RET+1, RET+5, REPDONE+2, REPDONE+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
B HDR+3~, HDR+5*, HDR+8
DAILYHRS REPDONE~, REPDONE+6, FOOTNOTE~, FOOTNOTE+5
DFN GETHOURS+1~, GETHOURS+11*
DIC GETPP+1~, GETPP+2*
DIC("A" GETPP+2*
DIC(0 GETPP+2*
DIR NOTOURS+4~, NOTCARD+4~, SHONOTES+3~, DAILYHRS+3~
DIR("A" NOTOURS+7*, NOTCARD+7*, SHONOTES+6*, DAILYHRS+6*
DIR("B" NOTOURS+6*, NOTCARD+6*, SHONOTES+5*, DAILYHRS+5*
DIR(0 NOTOURS+5*, NOTCARD+5*, SHONOTES+4*, DAILYHRS+4*
DIRUT NOTOURS+4~, NOTOURS+9, NOTCARD+4~, NOTCARD+9, SHONOTES+3~, SHONOTES+8, DAILYHRS+3~, DAILYHRS+8
DTOUT GETPP+1~, GETPP+6
DUZ(0 EMPINFO+2, HDR+11, HDR+13
END HDR~, HDR+9
ENT GETHOURS+1~, GETHOURS+7*, GETHOURS+11, GETHOURS+12
ENTPTR GETHOURS+1~, GETHOURS+5*, GETHOURS+6, GETHOURS+7
FORWHO HDR~, HDR+4, RET+1, RET+5, REPDONE+2, REPDONE+3
GRANDTOT REPDONE~, REPDONE+5
H1 HDR+3~, HDR+4*, HDR+5, HDR+8
H2 HDR+3~, HDR+7*, HDR+8
HRS EMPINFO~, EMPINFO+1, GETHOURS+1~, GETHOURS+13
HRS("W1" GETHOURS+14
HRS("W2" GETHOURS+14
I FOOTNOTE+2~, FOOTNOTE+4*, FOOTNOTE+6*
IOF HDR+2
IOM HDR+5, HDR+8
IOSL REPDONE+3
IOST RET+1
MATCH GETHOURS+1~, GETHOURS+3*
NH GETHOURS+1~, GETHOURS+4*, GETHOURS+8*, GETHOURS+9, GETHOURS+10*, GETHOURS+15
OPT HDR~, HDR+6
OPTHDR HDR+3~, HDR+6*, HDR+7
OUT RET+3~, RET+4*, RET+5, RET+6, REPDONE~, REPDONE+3*, REPDONE+4
PG HDR~, HDR+1*, HDR+5, HDR+8, RET+1, RET+5, REPDONE+2, REPDONE+3
PPE HDR~, HDR+7, RET+1, RET+5, REPDONE+2, REPDONE+3
PPI GETPP+1~, GETPP+5*, GETPP+6*, GETPP+7, GETHOURS~, GETHOURS+2, GETHOURS+5, GETHOURS+8, GETHOURS+13
PPRANGE HDR~, HDR+7, RET+1, RET+5, REPDONE+2, REPDONE+3
PRSENAME EMPINFO~, EMPINFO+1
PRSIEN EMPINFO+2, GETHOURS~, GETHOURS+2, GETHOURS+5, GETHOURS+8, GETHOURS+10, GETHOURS+11, GETHOURS+13
PRSSN EMPINFO~, EMPINFO+1
TH GETHOURS+1~, GETHOURS+14*, GETHOURS+15
TLECNT REPDONE~, REPDONE+2
TSTAMP HDR~, HDR+4, RET~, RET+1, RET+5, REPDONE~, REPDONE+2, REPDONE+3
TXT FOOTNOTE+2~, FOOTNOTE+4*, FOOTNOTE+6*
U EMPINFO+1, GETHOURS+5, GETHOURS+7, GETHOURS+10, GETHOURS+15
X GETPP+1~
Y GETPP+1~, GETPP+5, GETPP+6, NOTOURS+4~, NOTOURS+10, NOTCARD+4~, NOTCARD+10, SHONOTES+3~, SHONOTES+9, DAILYHRS+3~
, DAILYHRS+9
>> ZTQUEUED RET+1

Marked Items

Name Field # of Occurrence
$T(ALLFT+I FOOTNOTE+4
$T(DAILYFT+I FOOTNOTE+6
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 |  Marked Items  | All