Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PRCHDSP3

PRCHDSP3.m

Go to the documentation of this file.
PRCHDSP3 ;WISC/AKS,BOISE/TKW,ID/RSD-DISPLAY AMENDMENT ;8/23/94  11:16 AM
V ;;5.1;IFCAP;;Oct 20, 2000
 ;Per VHA Directive 10-93-142, this routine should not be modified.
 ;THIS WILL DISPLAY UNOBLIGATED AMENDMENTS FROM FILES 443.6 AND 441.7 ONLY
ACC D PAUSE Q:X["^"  D HDR
 W "12.ACCOUNTING AND APPROPRIATION DATA (If required)" S X=$P(PRCH0,U,3) W ?50,"TOTAL AMOUNT: $",$J($P(PRCHP0,U,15),10,2)
 W !?5,$S('X:"",X<0:"Decrease ",1:"Increase "),$P(PRCHP0,U,4),"-",$P($P(PRCHP0,U,3)," ",1),"-",$P(PRCHP0,U,5),$S($P(PRCHP0,U,6)>0:"-"_$P(PRCHP0,U,6),1:""),$S($P(PRCHP0,U,8)>0:"-"_$P(PRCHP0,U,8),1:"")
 I X W "  $",$S(X<0:-X,1:X)
 S X=$P(PRCH1,U,6) I X]"" S DA=D0,P=+$P(PRCH1,U,5),X=$$DECODE^PRCHES6(D0,D1) W ?51,"/ES/"_X
 W !,PRCHUL ;,!?16,"13.THIS ITEM APPLIES ONLY TO MODIFICATIONS OF CONTRACTS/ORDERS.",!?19,"IT MODIFIES THE CONTRACT/ORDER NO. AS DESCRIBED IN ITEM 14.",!,PRCHUL,!
 ;S Y=$S($D(^PRCD(442.2,+$P(PRCH0,U,4),0)):^(0),1:""),PRCHX=$P(Y,U,1),DIWL=1,DIWR=92,DIWF=""
 ;F PRCHI=0:0 S PRCHI=$O(^PRCD(442.2,PRCHI)) Q:'PRCHI  S Y=^(PRCHI,0),PRCHTYP=$P(Y,U,1) I PRCHTYP="A"!(PRCHTYP="B")!(PRCHTYP="C")!(PRCHTYP="D") D A
 ;S X="_",Y="_" S:$P(PRCH0,U,5)="Y" X="X" S:$P(PRCH0,U,5)'="Y" Y="X"
 ;W "   IMPORTANT: Contractor __"_Y_"__ is not,  __"_X_"__ is required to sign this document and return",!?14
 ;S Y=$S($P(PRCH0,U,6):$P(PRCH0,U,6),1:"_") W "__"_Y_"__ copies to the issuing office.",!,PRCHUL
 W !!,"14.DESCRIPTION OF AMENDMENT/MODIFICATION (Organized by UCF section headings,",!?42,"including solicitation/contract",!?42,"subject matter where feasible.)",! S PRCHDY=PRCHDY+5
ITEM F I=0:0 S I=$O(^TMP($J,"AMD",1,I)) Q:'I  D:PRCHDY>22 H W ?3,^(I,0),! S PRCHDY=PRCHDY+1
 D:PRCHDY>22 HDR ;W !,"Except as provided herein, all terms and conditions of the document referenced in Item 9A or 10A,",!,"as heretofore changed, remains unchanged and in full force and effect.",!,PRCHUL,! S PRCHDY=PRCHDY+4
 D:PRCHDY>22 HDR W !,PRCHUL,!,"15A.NAME AND TITLE OF SIGNER(Type or print)",?43,"|16A.NAME AND TITLE OF CONTRACTING",!?43,"|    OFFICER (Type or print)",!
 S X=$P(PRCH1,U,2) I X]"" S DA=D0,P=+PRCH1
 W ?43,"| ",$$DECODE^PRCHES6(D0,D1),"  Contracting Officer",!,$E(PRCHUL,1,43),"|",$E(PRCHUL,1,35),!
 ;W "15B.CONTRACTOR/OFFEROR",?34,"|15C.DATE",?47,"|16B.UNITED STATES OF AMERICA",?82,"|16C.DATE",!,?34,"|    SIGNED",?47,"|",?82,"|    SIGNED",!
 ;W ?2,$E(PRCHUL,1,28),?34,"|",?47,"| BY ",$E(PRCHUL,1,29),?82,"|",!
 ;W ?1,"(Signature of person authorized",?34,"|",?47,"|(Signature of Contracting Officer)",?82,"|",!
 ;W ?2,"to sign)",?34,"|",?47,"|",?82,"|",!,$E(PRCHUL,1,34),"|",$E(PRCHUL,1,12),"|",$E(PRCHUL,1,34),"|",$E(PRCHUL,1,14),!
 ;W "Exception to SF-30",?75,"SF-30 ADP (Rev 10-83)",!,"Approved by OIRM ____",!
EXIT K ^TMP($J) D:$D(ZTSK) KILL^%ZTLOAD K ZTSK Q
 ;
A K ^UTILITY($J,"W") S X=$P(Y,U,2) D DIWP^PRCUTL($G(DA)) S X="" S:PRCHX=PRCHTYP X=$P(PRCH0,U,7) D:X]"" DIWP^PRCUTL($G(DA))
 W:PRCHX=PRCHTYP ?1,"X" S J=0 F I=0:0 S I=$O(^UTILITY($J,"W",1,I)) Q:'I  S J=J+1 W ?3,"|" W:J=1 PRCHTYP,"." W ?6,^(I,0),!
 W "___|",$E(PRCHUL,1,75),! Q
H D PAUSE Q:X["^"  D HDR W ! S PRCHDY=PRCHDY+1 Q
HDR W @IOF,$S($D(PRCHREPR):$E(PRCHUL,1,35)_" **REPRINT** "_$E(PRCHUL,49,80),1:PRCHUL)
 W !?2,"AMENDMENT OF SOLICITATION/MODIFICATION OF CONTRACT",?54,"|          PAGE",!
 W $E(PRCHUL,1,54),"|"
 S X=(8-$L(PRCHPG))/2,Y=$P(X,"."),Z=$P(X,".",2) W $E(PRCHUL,1,Y) W:Z "_________" W PRCHPG,$E(PRCHUL,1,Y),"________" W ! ;S X=7-$L(PRCHPGT) W PRCHPGT W:X>0 $E(PRCHUL,1,X) W !
 S PRCHPG=PRCHPG+1,PRCHDY=4
 Q
EN2 ;ADJUSTMENT VOUCHER
 D EN2H F I=0:0 S I=$O(^TMP($J,"AMD",1,I)) Q:'I  D:PRCHDY>50 EN2H W ?3,^(I,0),! S PRCHDY=PRCHDY+1
 F I=PRCHDY:1:50 W !
 W !,PRCHUL,!,"Approve subject to final action on R/S on items indicated.",?65,"|   DATE    |    P.O. NO.",!,$E(PRCHUL,1,65),"|",?77,"|",!
 W "SIGNATURE OF CONTRACTING OFFICER",?65,"|",?77,"|",!,?65,"|",?77,"|",! S X=$P(PRCH1,U,2) S DA=D0,P=+PRCH1,X=$$DECODE^PRCHES6(D0,D1) W "/ES/"_X_"     " S Y=$P(PRCH1,U,3) D DT^PRCHDSP2
 W ?65,"| " S Y=$P(PRCH0,U,2) D DT^PRCHDSP2 W ?77,"|",!,$E(PRCHUL,1,65),"|",$E(PRCHUL,1,11),"|",$E(PRCHUL,1,19),! G EXIT
EN2H W @IOF,?5,"SUBJECT: ADJUSTMENT VOUCHER" W:$D(PRCHREPR) "   **REPRINT**" W !!!! S PRCHDY=0
 Q
PAUSE W "  ^ TO QUIT" R X:DTIME S:$T=0 X="^"
 Q