PRS8EX0 ;HISC/MRL,WOIFO/JAH,SAB-DECOMP,EXCEPTIONS (cont'd) ;1/30/2007
Source file <PRS8EX0.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
ENCAP | ;
; This routine checks if the current day encapsulates other days that ; should be automatically charged to WP or NP by the software. If so, ; appropriate encapsulated days are charged. This routine is only ; called when the employee has a daily tour. ; inputs ; PY - current pay period IEN ; DY - current day number ; TT - type of time posted on current day ; TT(1) - data from ACT^PRS8EX for the type of time in TT ; DFN - employee IEN |
|
WORKDAY(DFN,PY,DY,PRSDIR,SCHPY,SCHDY,SCHEX,CHGDAY) | ; find work day
; inputs ; DFN - employee IEN ; PY - current pay period IEN ; DY - current day number ; PRSDIR - direction (-1 to look back or +1 to look forward) ; outputs ; SCHPY - passed by reference, work day pay period or null ; SCHDY - passed by reference, work day day number or null ; SCHEX - passed by reference, work day exception or null ; CHGDAY() - passed by reference, array of days in current pay period ; that could be charged due to encapsulation and were ; encounted during the search for the work day ; format ENCDAY(day number)=null value |
|
SET(DFN,PY,TT,PC,CHGDAY) | ; automatically charge days
|