source: FOIAVistA/trunk/r/INTERIM_MANAGEMENT_SUPPORT-ECT/ECTPIND1.m@ 1757

Last change on this file since 1757 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.7 KB
Line 
1ECTPIND1 ;B'ham ISC/PTD-Individual PAID Inquiry - CONTINUED ;01/29/91 08:00
2V ;;1.05;INTERIM MANAGEMENT SUPPORT;**8,10**;
3EN1 S (TAL,TSL,TLWOP,TAA,TCE,TCU,TOT)=0,PGCT=1,QFLG="",$P(LN,"-",81)="",YP=(BYRPP-1) D HDR
4YP F J=0:0 S YP=$O(^TMP($J,YP)) Q:'YP S LOC=^TMP($J,YP) D WRTLN G:QFLG EXIT
5WRTOT W !?14 F J=1:1:66 W "-"
6 W !?4,"TOTAL",?14,$J(TAL,6,2),?24,$J(TSL,6,2),?34,$J(TLWOP,6,2),?44,$J(TAA,6,2),?54,$J(TCE,6,2),?64,$J(TCU,6,2),?74,$J(TOT,6,2),!!
7 ;
8 I $E(IOST)'="C" W @IOF
9EXIT K %,%H,%I,%DT,%Y,%ZIS,AA,AA1,AA2,AL,AL1,AL2,BPP,BYR,BYRPP,C,CTE,CTE1,CTE2,CTU,CTU1,CTU2,DIC,DIR,DTOUT,EMPDA,EMPSN,EPP,EYR,EYRPP,FLG,FST,G,J,K,LN,LOC,LOC0,LOC1,LWOP,LWOP1,LWOP2,MS,MYP,NM,OT,OT1,OT2,PGCT,POP,QFLG,SL,SL1,SL2,SN,X,Y,YP
10 K PC,FR,WH,TAA,TAL,TCE,TCU,TLWOP,TOT,TSL,ZTDESC,ZTRTN,ZTSAVE,ZTSK,^TMP($J) D ^%ZISC I IO="" S IOP="HOME" D ^%ZIS
11 Q
12 ;
13HDR ;PRINT REPORT MAIN HEADER
14 W @IOF,!?16,"INDIVIDUAL PAID DATA FOR "_NM,!?32,"SSN: "_$E(EMPSN,1,3)_"-"_$E(EMPSN,4,5)_"-"_$E(EMPSN,6,9),!?16,"FROM PAY PERIOD: "_BPP_" - '"_$E(BYR,2,3)_" TO PAY PERIOD: "_EPP_" - '"_$E(EYR,2,3)
15 D NOW^%DTC S Y=$E(%,1,12) X ^DD("DD") W !!?45,Y,?70,"PAGE ",PGCT S PGCT=PGCT+1 W !!?57,"CT",?67,"CT",?75,"OVER",!,"PAY PERIOD",?17,"AL",?27,"SL",?36,"LWOP",?47,"AA",?55,"EARNED",?66,"USED",?75,"TIME",!,LN
16 Q
17 ;
18WRTLN D:$Y+5>IOSL PRTCHK Q:QFLG W !?1,$E(YP,4,5)_" - '"_$E(YP,2,3),?15,$J($P(LOC,"^"),5,2),?25,$J($P(LOC,"^",2),5,2),?35,$J($P(LOC,"^",3),5,2),?45,$J($P(LOC,"^",4),5,2),?55,$J($P(LOC,"^",5),5,2)
19 W ?65,$J($P(LOC,"^",6),5,2),?75,$J($P(LOC,"^",7),5,2)
20 S TAL=TAL+$P(LOC,"^"),TSL=TSL+$P(LOC,"^",2),TLWOP=TLWOP+$P(LOC,"^",3),TAA=TAA+$P(LOC,"^",4),TCE=TCE+$P(LOC,"^",5),TCU=TCU+$P(LOC,"^",6),TOT=TOT+$P(LOC,"^",7)
21 Q
22 ;
23PRTCHK I $E(IOST)="C" S DIR(0)="E" D ^DIR I Y=0 S QFLG=1 Q
24 D HDR
25 Q
26 ;
Note: See TracBrowser for help on using the repository browser.