source: FOIAVistA/tag/r/ENGINEERING-EN/ENPLPD1.m@ 996

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

initial load of FOIAVistA 6/30/08 version

File size: 3.2 KB
Line 
1ENPLPD1 ; GENERATED FROM 'ENPLP009' PRINT TEMPLATE (#162) ; 12/22/97 ; (continued)
2 G BEGIN
3N W !
4T W:$X ! I '$D(DIOT(2)),DN,$D(IOSL),$S('$D(DIWF):1,$P(DIWF,"B",2):$P(DIWF,"B",2),1:1)+$Y'<IOSL,$D(^UTILITY($J,1))#2,^(1)?1U1P1E.E X ^(1)
5 S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
6 Q
7DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
8 I Y W $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" " W:Y#100 $J(Y#100\1,2)_"," W Y\10000+1700 W:Y#1 " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12) Q
9 W Y Q
10M D @DIXX
11 Q
12BEGIN ;
13 S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
14 D N:$X>44 Q:'DN W ?44 S DIP(1)=$S($D(^ENG("PROJ",D0,24)):^(24),1:"") S X=$P(DIP(1),U,5)+0 K DIP K:DN Y W $J(X,8)
15 D N:$X>0 Q:'DN W ?0 W "64. NON-RECURRING ALL OTHER $ : "
16 D N:$X>44 Q:'DN W ?44 S DIP(1)=$S($D(^ENG("PROJ",D0,24)):^(24),1:"") S X=$P(DIP(1),U,6)+0 K DIP K:DN Y W $J(X,8)
17 D N:$X>0 Q:'DN W ?0 W "65. TRAVEL .007 $ : "
18 D N:$X>44 Q:'DN W ?44 S DIP(1)=$S($D(^ENG("PROJ",D0,24)):^(24),1:"") S X=$P(DIP(1),U,7)+0 K DIP K:DN Y W $J(X,8)
19 D N:$X>59 Q:'DN W ?59 W "69. TOTAL PROJECT SCORE: "
20 X ^DD(6925,235,9.8) S X=X+Y W $E(X,1,6) K Y(6925,235)
21 D T Q:'DN D N D N:$X>45 Q:'DN W ?45 W "*********** SIGNATURES ***********"
22 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "70. CHIEF ENGINEERING SVC/DESIGNEE: "
23 X DXS(3,9.3) S X=$S(DIP(2):DIP(102),DIP(103):X) S D0=I(0,0) K DIP K:DN Y W X
24 D N:$X>89 Q:'DN W ?89 W "71. DATE: "
25 X DXS(4,9.2) S DIP(4)=X S X=1,DIP(5)=X S X="",X=$S(DIP(2):DIP(4),DIP(5):X) K DIP K:DN Y W X
26 D N:$X>0 Q:'DN W ?0 W "72. DIRECTOR FACILITY/DESIGNEE: "
27 X DXS(5,9.3) S X=$S(DIP(2):DIP(102),DIP(103):X) S D0=I(0,0) K DIP K:DN Y W X
28 D N:$X>89 Q:'DN W ?89 W "73. DATE: "
29 X DXS(6,9.2) S DIP(4)=X S X=1,DIP(5)=X S X="",X=$S(DIP(2):DIP(4),DIP(5):X) K DIP K:DN Y W X
30 D T Q:'DN D N D N:$X>45 Q:'DN W ?45 W "************************************"
31 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "74. REGION PROJECT VALIDATION: "
32 D N:$X>89 Q:'DN W ?89 W "75. DATE: "
33 F Y=0:0 Q:$Y>(IOSL-5) W !
34 D N:$X>0 Q:'DN W ?0 W "VAF 10-1193 REVISED 5/95 p.2"
35 W ?30 R:$E(IOST,1,2)="C-" X:DTIME W @IOF K DIP K:DN Y
36 F Y=0:0 Q:$Y>-1 W !
37 D N:$X>0 Q:'DN W ?0 W "VHA"
38 D N:$X>53 Q:'DN W ?53 W "PROJECT APPLICATION"
39 D N:$X>107 Q:'DN W ?107 W "PROJECT NUMBER"
40 D N:$X>54 Q:'DN W ?54 W "EXECUTIVE SUMMARY"
41 S X=$G(^ENG("PROJ",D0,0)) D N:$X>111 Q:'DN W ?111,$E($P(X,U,1),1,11)
42 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "DETAILED PROJECT DESCRIPTION:"
43 S I(1)=46,J(1)=6925.0277 F D1=0:0 Q:$O(^ENG("PROJ",D0,46,D1))'>0 S D1=$O(^(D1)) D:$X>31 T Q:'DN D A1
44 G A1R
45A1 ;
46 S X=$G(^ENG("PROJ",D0,46,D1,0)) S DIWL=1,DIWR=99 D ^DIWP
47 Q
48A1R ;
49 D A^DIWW
50 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "DETAILED PROJECT JUSTIFICATION:"
51 S I(1)=47,J(1)=6925.0278 F D1=0:0 Q:$O(^ENG("PROJ",D0,47,D1))'>0 S D1=$O(^(D1)) D:$X>33 T Q:'DN D B1
52 G B1R
53B1 ;
54 S X=$G(^ENG("PROJ",D0,47,D1,0)) S DIWL=1,DIWR=97 D ^DIWP
55 Q
56B1R ;
57 D A^DIWW
58 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "IMPACT JUSTIFICATION:"
59 S DICMX="D ^DIWP" S DIWL=1,DIWR=107 X DXS(7,9.3) S X=$S(DIP(2):DIP(3),DIP(4):X) K DIP K:DN Y
60 D A^DIWW
61 F Y=0:0 Q:$Y>(IOSL-5) W !
62 D N:$X>0 Q:'DN W ?0 W "VAF 10-1193 REVISED 5/95 p.3"
63 K Y K DIWF
64 Q
65HEAD ;
66 W !,"------------------------------------------------------------------------------------------------------------------------------------",!!
Note: See TracBrowser for help on using the repository browser.