PRSATP8 ;HISC/MGD-Timekeeper Post Absence ;01/27/06
Source file <PRSATP8.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
FNDHOL(PPIP,DFN,WDAY,HOL,QUIT) | ;
; Procedure to determine if there was a holiday in a PP ; Will also check to see if there was any On-Call posted ; as an exception that abuts the scheduled tour and if ; the first/last 15 minutes of the On-call was worked ; ; Input: ; PPIP - IEN of Pay Period to be checked ; DFN - IEN of employee to be checked ; WDAY - Day to start looping backwards from ; HOL - null ; QUIT - null ; ; Output: ; HOL - IF not found = "" ; IF found = PPIP^WDAY^SOH ; PPIP - IEN of pay period containing the holiday ; WDAY - the day number on which the holiday occurs ; SOH - The status of the timecard containing the holiday ; QUIT - Will be set to 1 if the holiday encapsulation ; rules are broken ; |
|
INCTM(PRST,PRSARR) | ; Includes Time Extrinsic Function
; determines if a time is included within any time segments in array ; input ; PRST - number that represents a time segment (1-192) ; PRSARR - array, passed by reference with following format ; PRSARR(start)=start^stop^type of time ; returns 1 if PRST included within a time segment or 0 if not |