PRSPEAU ;WOIFO/SAB - EXTENDED ABSENCE UTILITIES ;10/19/2004
Source file <PRSPEAU.m>
| action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| CONFLICT(PRSIEN,NFDT,NTDT,XEAIEN) | ; check for conflict with existing EAs
; input ; PRSIEN - employee ien (file 450) ; NFDT - new from date in fileman format ; NTDT - (optional) new to date in fileman format ; XEAIEN - (optional) existing extended absense ien, passed if dates ; for an existing record are being checked so that entry does ; not conflict with itself. ; returns string with value = ; list of Extended Absence iens (delimited by ^) that conflict OR ; null when no conflict found |
|
| RCON(LIST,WRITE,PRSARRN) | ; Report Conflicts
; input ; LIST - string of conflicting Ext Absence IENs delimited by ^ ; WRITE - (optional) true (=1) if text should be written (default) ; false (=0) if array should be returned instead ; PRSARRN - (optional) array name, default value is "PRSARR" ; output ; If WRITE is True, the input array name (or "PRSARR" if not ; specified) will be killed. ; If WRITE is False, the input array name will contain the text |
|
| CHKRG(PRSIEN) | ; Check for RG Posted to Today's ESR
; Input ; PRSIEN - Employee IEN (file 450) ; Returns ; boolean value, true (=1) if RG already posted on ESR for Today |
|
| DISEA(EAIEN,IC) | ; Display EA
; input ; EAIEN - Extended Absence IEN (file 458.4) ; IC - (optional) item count, number to be included in display ; result ; Writes information to current device (2-4 lines) |
|
| BLDLST(PRSIEN,MINTDT,OKSTAT) | ; Build List of Extended Absence Entries
; input ; PRSIEN - Employee IEN (file 450) ; MINTDT - Minumum To Date (FileMan Internal) ; OKSTAT - String of acceptable EA status values to place in list ; delimited by ^ (e.g. "A" or "^A^" or "A^X"...) ; ARRN - (optional) name of an array that will contain the list ; default value is "EALIST" ; output ; local array EALIST with format ; EALIST(0)=count of items in list ; EALIST(1)=1st extended absence IEN in list ; EALIST(n)=nth extended absence IEN in list |
|
| DISLST() | ; Display List of Extended Absences
; input ; local array EALIST with format ; EALIST(0)=count of items in list ; EALIST(1)=1st extended absence IEN in list ; EALIST(n)=nth extended absence IEN in list ; returns 1 if user entered an up-arrow or time-out |
| Name | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Function Call: WRITE |
|
| Routine Call |
|
| Routine Call |
|
| FileNo | Call Tags |
|---|---|
| ^PRST(458.4 - [#458.4] | GET1^DIQ, GETS^DIQ |
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^PRST(458 - [#458] | CHKRG+15 |
| ^PRST(458.4 - [#458.4] | CONFLICT+25, CONFLICT+28, CONFLICT+30, BLDLST+29, BLDLST+31, BLDLST+32 |
| Name | Line Occurrences |
|---|---|
| DISEA | DISLST+17 |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| CNT | BLDLST+25~, BLDLST+36*, BLDLST+38*, BLDLST+39, BLDLST+40 |
| D1 | CHKRG+6~, CHKRG+11* |
| DAY | CHKRG+6~, CHKRG+14, CHKRG+15 |
| DIR | DISLST+8~, DISLST+15! |
| DIR(0 | DISLST+15* |
| DIROUT | DISLST+8~ |
| DIRUT | DISLST+8~ |
| DT | CHKRG+11 |
| DTOUT | DISLST+8~ |
| DUOUT | DISLST+8~ |
| EAIEN | CONFLICT+18~, CONFLICT+27*, CONFLICT+28*, CONFLICT+29, CONFLICT+30, CONFLICT+36, RCON+13~, RCON+22*, RCON+24, DISEA~ , DISEA+6, DISEA+10, BLDLST+25~, BLDLST+30*, BLDLST+31*, BLDLST+32, BLDLST+33, DISLST+16*, DISLST+17 |
| EALIST | BLDLST+15! |
| EALIST( | BLDLST+39*, DISLST+14, DISLST+16 |
| EALIST("T" | BLDLST+33*, BLDLST+37, BLDLST+42! |
| EALIST(0 | BLDLST+40*, DISLST+12 |
| EAY0 | CONFLICT+18~, CONFLICT+30*, CONFLICT+31, CONFLICT+32, CONFLICT+33 |
| IC | DISEA~, DISEA+7*, DISEA+17 |
| IOF | DISLST+15 |
| IOSL | DISLST+15 |
| LIST | RCON~, RCON+11, RCON+22 |
| LN | RCON+13~, RCON+21*, RCON+23*, RCON+24, RCON+30*, RCON+31 |
| MINTDT | BLDLST~, BLDLST+18, BLDLST+28 |
| NFDT | CONFLICT~, CONFLICT+20, CONFLICT+25 |
| NTDT | CONFLICT~, CONFLICT+20*, CONFLICT+32 |
| OKSTAT | BLDLST~, BLDLST+19, BLDLST+21*, BLDLST+22*, BLDLST+32 |
| PC | RCON+13~, RCON+22* |
| PP4Y | CHKRG+6~ |
| PPE | CHKRG+6~ |
| PPI | CHKRG+6~, CHKRG+13, CHKRG+15 |
| PRSARRN | RCON~, RCON+15*, RCON+18, RCON+19, RCON+20, RCON+24, RCON+30, RCON+31, RCON+32 |
| PRSE | DISEA+9~, DISEA+15, DISEA+24 |
| PRSI | DISLST+8~, DISLST+14*, DISLST+16, DISLST+17 |
| PRSIEN | CONFLICT~, CONFLICT+25, CONFLICT+28, CHKRG~, CHKRG+10, CHKRG+15, BLDLST~, BLDLST+17, BLDLST+29, BLDLST+31 |
| PRSIENS | DISEA+9~, DISEA+10*, DISEA+12, DISEA+18, DISEA+19, DISEA+20, DISEA+21, DISEA+22 |
| PRSRET | CONFLICT+18~, CONFLICT+19*, CONFLICT+36*, CONFLICT+38, CHKRG+6~, CHKRG+8*, CHKRG+15*, CHKRG+17, DISLST+8~, DISLST+10* , DISLST+14, DISLST+15*, DISLST+19 |
| PRSV | DISEA+9~ |
| PRSV( | DISEA+18, DISEA+19, DISEA+20, DISEA+21, DISEA+22 |
| PRSX | BLDLST+25~, BLDLST+36*, BLDLST+37*, BLDLST+39 |
| PRSY | CONFLICT+18~ |
| TDT | CONFLICT+18~, CONFLICT+24*, CONFLICT+25*, CONFLICT+28, BLDLST+25~, BLDLST+28*, BLDLST+29*, BLDLST+31, BLDLST+33 |
| U | CONFLICT+31, CONFLICT+32, CONFLICT+33, CONFLICT+36, RCON+22, BLDLST+32, BLDLST+39 |
| WRITE | RCON~, RCON+16*, RCON+27 |
| X | DISLST+8~ |
| XEAIEN | CONFLICT~, CONFLICT+29 |
| Y | DISLST+8~, DISLST+15 |