Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/PAID-PRS/PRSASR.m

    r628 r636  
    1 PRSASR ;HISC/MGD,WOIFO/JAH/PLT - Supervisor Certification ;02/05/2005
    2  ;;4.0;PAID;**2,7,8,22,37,43,82,93,112**;Sep 21, 1995;Build 54
     1PRSASR ;HISC/MGD,WOIFO/JAH - Supervisor Certification ;02/05/2005
     2 ;;4.0;PAID;**2,7,8,22,37,43,82,93**;Sep 21, 1995;Build 7
    33 ;;Per VHA Directive 2004-038, this routine should not be modified.
    44 ;
     
    7979 ;     ---------------------------------------------------
    8080CHK ; Check for needed approvals
    81  N PRSENT,PRSWOC
    8281 S STAT=$P($G(^PRST(458,PPI,"E",DFN,0)),"^",2) I "PX"[STAT Q
    8382 I USR=DFN Q:'$D(^XUSEC("PRSA SIGN",DUZ))
    8483 E  I CKS S SSN=$P($G(^PRSPC(DFN,0)),"^",9) I SSN S EDUZ=+$O(^VA(200,"SSN",SSN,0)) I $D(^PRST(455.5,"AS",EDUZ,TLI)) Q:$P($G(^PRST(455.5,TLI,"S",EDUZ,0)),"^",2)'=TLE
    85  S HDR=0 D HDR,^PRSAENT S PRSENT=ENT
     84 S HDR=0 D HDR
    8685 ;
    8786 ;Loop to display tour, exceptions(leave, etc..) & errors.
     
    111110 .  D WARNSUP^PRSAOTT(PPE,DFN,VAL,WK,.OTERR,.O8,.OA)
    112111 .  I OTERR S ^TMP($J,"OT",DFN,WK)=O8_"^"_OA
    113  ;
    114  ;warning message for rs/rn and on type of time
    115  I $E(PRSENT,5) D
    116  . I @($TR($$CD8B^PRSU1B2(VAL,"RS^3^RN^3",1),U,"+")_"-("_$TR($$RSHR^PRSU1B2(DFN,PPI),U,"+")_")") W !,?3,"WARNING: The total scheduled recess hours for this pay period does not match the total RS/RN posted."
    117  . I $G(PRSWOC)]"" W !,?3,"Warning: The entire tour for day# ",PRSWOC," is posted RECESS. The On-Call will be paid unless posted UNAVAILABLE."
    118  . QUIT
    119112 ;
    120113LD ; Check for changes to the Labor Distribution Codes made during the pay
     
    170163HDR ; Display Header
    171164 I HDR S QT=$$ASK^PRSLIB00() Q:QT
    172  S X=$G(^PRSPC(DFN,0)) W !,@IOF,?3,$P(X,"^",1) S X=$P(X,"^",9) I X W ?68,$E(X),"XX-XX-",$E(X,6,9) S HDR=1
     165 S X=$G(^PRSPC(DFN,0)) W !,@IOF,?3,$P(X,"^",1) S X=$P(X,"^",9) I X W ?68,$E(X,1,3),"-",$E(X,4,5),"-",$E(X,6,9) S HDR=1
    173166 W !,?6,"Date",?20,"Scheduled Tour",?40,"Tour Exceptions",?63,IORVON,"Tour Errors",IORVOFF
    174167 W !?3 F I=1:1:72 W "-"
     
    178171 N HOLD
    179172 S HOLD=$$ASK^PRSLIB00(1)
    180  S X=$G(^PRSPC(DFN,0)) W !,@IOF,?3,$P(X,"^",1) S X=$P(X,"^",9) I X W ?68,$E(X),"XX-XX-",$E(X,6,9)
     173 S X=$G(^PRSPC(DFN,0)) W !,@IOF,?3,$P(X,"^",1) S X=$P(X,"^",9) I X W ?68,$E(X,1,3),"-",$E(X,4,5),"-",$E(X,6,9)
    181174 W !,?6,"Date",?20,"Scheduled Tour",?40,"Tour Exceptions",?63,IORVON,"Tour Errors",IORVOFF
    182175 W !?3 F I=1:1:72 W "-"
     
    193186 Q
    194187 ;
    195  ;
     188 ;====================================================================
    196189 ;These extrinsic functions simply remove lengthy code from long,
    197190 ;single line, nested loop.
Note: See TracChangeset for help on using the changeset viewer.