source: WorldVistAEHR/trunk/r/ENGINEERING-EN/ENPLPA.m@ 1373

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

initial load of WorldVistAEHR

File size: 4.2 KB
RevLine 
[613]1ENPLPA ; GENERATED FROM 'ENPLP008' PRINT TEMPLATE (#161) ; 06/11/96 ; (FILE 6925, MARGIN=132)
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 I $D(DXS)<9 F X=0:0 S X=$O(^DIPT(161,"DXS",X)) Q:'X S Y=$O(^(X,"")) F X=X:0 Q:Y="" S DXS(X,Y)=^(Y),Y=$O(^(Y))
15 F Y=0:0 Q:$Y>-1 W !
16 D N:$X>0 Q:'DN W ?0 W "VHA"
17 D N:$X>53 Q:'DN W ?53 W "PROJECT APPLICATION"
18 D N:$X>107 Q:'DN W ?107 W "PROJECT NUMBER"
19 D N:$X>54 Q:'DN W ?54 W "EXECUTIVE SUMMARY"
20 S X=$G(^ENG("PROJ",D0,0)) D N:$X>111 Q:'DN W ?111,$E($P(X,U,1),1,11)
21 D T Q:'DN D N D N:$X>45 Q:'DN W ?45 W "*********** COST DATA ***********"
22 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "40. CONSTRUCTION METHOD PLANNED: "
23 S X=$G(^ENG("PROJ",D0,15)) S Y=$P(X,U,7) W:Y]"" $S($D(DXS(8,Y)):DXS(8,Y),1:Y)
24 D N:$X>49 Q:'DN W ?49 W "41. AE $ REQUIRED IN FY: "
25 S X=$G(^ENG("PROJ",D0,5)) W ?0,$E($P(X,U,7),1,4)
26 D N:$X>89 Q:'DN W ?89 W "42. CONST $ REQUIRED IN FY: "
27 S X=$G(^ENG("PROJ",D0,0)) W ?0,$E($P(X,U,7),1,4)
28 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "43. NRM COSTS: "
29 W "YES"
30 D N:$X>59 Q:'DN W ?59 W "44. MAJOR/MINOR/MINOR MISC. COSTS: "
31 W "NO"
32 D N:$X>0 Q:'DN W ?0 W "45. TOTAL M&R COSTS: "
33 S X=$G(^ENG("PROJ",D0,19)) D N:$X>44 Q:'DN W ?44 S Y=$P(X,U,1) W:Y]"" $J(Y,11,0)
34 D N:$X>0 Q:'DN W ?0 W "46. TOTAL BSEA COSTS: "
35 D N:$X>44 Q:'DN W ?44 S Y=$P(X,U,2) W:Y]"" $J(Y,11,0)
36 D N:$X>0 Q:'DN W ?0 W "47. TOTAL BSER COSTS: "
37 D N:$X>44 Q:'DN W ?44 S Y=$P(X,U,3) W:Y]"" $J(Y,11,0)
38 D N:$X>0 Q:'DN W ?0 W "48. TOTAL MI COSTS: "
39 D N:$X>44 Q:'DN W ?44 S Y=$P(X,U,4) W:Y]"" $J(Y,11,0)
40 D N:$X>0 Q:'DN W ?0 W "49. TOTAL CONST. COST (LOW BID): "
41 D N:$X>44 Q:'DN W ?44 S Y(6925,217,1)=$S($D(^ENG("PROJ",D0,19)):^(19),1:"") S X=$P(Y(6925,217,1),U,1)+$P(Y(6925,217,1),U,2)+$P(Y(6925,217,1),U,3)+$P(Y(6925,217,1),U,4) W:X'?."*" $J(X,11,0) K Y(6925,217)
42 D N:$X>59 Q:'DN W ?59 W "54. TOTAL CONST. COST (LOW BID): "
43 D N:$X>0 Q:'DN W ?0 W "50. CONST CONTCY % AND $: "
44 S X=$G(^ENG("PROJ",D0,19)) D N:$X>34 Q:'DN W ?34 S Y=$P(X,U,5) W:Y]"" $J(Y,5,1)
45 D N:$X>40 Q:'DN W ?40 W "%"
46 D N:$X>44 Q:'DN W ?44 X ^DD(6925,218.1,9.4) S X=$S(Y(6925,218.1,2):Y(6925,218.1,5),Y(6925,218.1,6):X)/100+999.999\1000*1000 S X=$J(X,0,0) W:X'?."*" $J(X,11,0) K Y(6925,218.1)
47 D N:$X>59 Q:'DN W ?59 W "55. CONST CONTCY % AND $: "
48 D N:$X>100 Q:'DN W ?100 W "%"
49 D N:$X>0 Q:'DN W ?0 W "51. IMPACT COSTS: "
50 S X=$G(^ENG("PROJ",D0,19)) D N:$X>44 Q:'DN W ?44 S Y=$P(X,U,7) W:Y]"" $J(Y,11,0)
51 D N:$X>59 Q:'DN W ?59 W "56. IMPACT COSTS: "
52 D N:$X>0 Q:'DN W ?0 W "52. TECHNICAL SERVICES % AND $"
53 D N:$X>34 Q:'DN W ?34 X ^DD(6925,220,10) S X=X*100 W:X'?."*" $J(X,5,1) K Y(6925,220)
54 D N:$X>40 Q:'DN W ?40 W "%"
55 S X=$G(^ENG("PROJ",D0,19)) D N:$X>44 Q:'DN W ?44 S Y=$P(X,U,6) W:Y]"" $J(Y,11,0)
56 D N:$X>59 Q:'DN W ?59 W "57. TECHNICAL SERVICES % AND $"
57 D N:$X>100 Q:'DN W ?100 W "%"
58 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "53. TOTAL PROJECT COSTS: "
59 D N:$X>44 Q:'DN W ?44 X ^DD(6925,222,9.3) S Y(6925,222,5)=X S X=$P(Y(6925,222,6),U,8),X=$S(Y(6925,222,2):Y(6925,222,4),Y(6925,222,5):X)+Y(6925,222,7)+$P(Y(6925,222,6),U,7)+$P(Y(6925,222,6),U,6) S X=$J(X,0,0) W:X'?."*" $J(X,11,0) K Y(6925,222)
60 D N:$X>59 Q:'DN W ?59 W "58. TOTAL PROJECT COSTS: "
61 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "*********** ACTIVATION DATA ***********"
62 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "59. ACTIVATION $ REQUIRED IN FY: "
63 S X=$G(^ENG("PROJ",D0,24)) W ?0,$E($P(X,U,1),1,4)
64 D N:$X>59 Q:'DN W ?59 W "66. EQUIP OVER $250K : "
65 X DXS(1,9) K DIP K:DN Y W $J(X,13)
66 D N:$X>63 Q:'DN W ?63 W "EQPMT (OVER $250K)"
67 D N:$X>0 Q:'DN W ?0 W "60. ADDITIONAL FTEE: "
68 S DIP(1)=$S($D(^ENG("PROJ",D0,24)):^(24),1:"") S X=$P(DIP(1),U,3)+0 K DIP K:DN Y W $E(X,1,4)
69 D N:$X>59 Q:'DN W ?59 W "67. VAMC SCORE: "
70 X DXS(2,9.2) S DIP(4)=X S X=DIP(5),X=$S(DIP(2):DIP(3),DIP(4):X) K DIP K:DN Y W X
71 D N:$X>0 Q:'DN W ?0 W "61. RECURRING PS $ : "
72 G ^ENPLPA1
Note: See TracBrowser for help on using the repository browser.