Changeset 636 for FOIAVistA/tag/r/PAID-PRS/PRSASR.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- 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/20052 ;;4.0;PAID;**2,7,8,22,37,43,82,93 ,112**;Sep 21, 1995;Build 541 PRSASR ;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 3 3 ;;Per VHA Directive 2004-038, this routine should not be modified. 4 4 ; … … 79 79 ; --------------------------------------------------- 80 80 CHK ; Check for needed approvals 81 N PRSENT,PRSWOC82 81 S STAT=$P($G(^PRST(458,PPI,"E",DFN,0)),"^",2) I "PX"[STAT Q 83 82 I USR=DFN Q:'$D(^XUSEC("PRSA SIGN",DUZ)) 84 83 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=ENT84 S HDR=0 D HDR 86 85 ; 87 86 ;Loop to display tour, exceptions(leave, etc..) & errors. … … 111 110 . D WARNSUP^PRSAOTT(PPE,DFN,VAL,WK,.OTERR,.O8,.OA) 112 111 . I OTERR S ^TMP($J,"OT",DFN,WK)=O8_"^"_OA 113 ;114 ;warning message for rs/rn and on type of time115 I $E(PRSENT,5) D116 . 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 . QUIT119 112 ; 120 113 LD ; Check for changes to the Labor Distribution Codes made during the pay … … 170 163 HDR ; Display Header 171 164 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=1165 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 173 166 W !,?6,"Date",?20,"Scheduled Tour",?40,"Tour Exceptions",?63,IORVON,"Tour Errors",IORVOFF 174 167 W !?3 F I=1:1:72 W "-" … … 178 171 N HOLD 179 172 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) 181 174 W !,?6,"Date",?20,"Scheduled Tour",?40,"Tour Exceptions",?63,IORVON,"Tour Errors",IORVOFF 182 175 W !?3 F I=1:1:72 W "-" … … 193 186 Q 194 187 ; 195 ; 188 ;==================================================================== 196 189 ;These extrinsic functions simply remove lengthy code from long, 197 190 ;single line, nested loop.
Note:
See TracChangeset
for help on using the changeset viewer.