PRCHP183 ;SF/FKV-Print bottom and Delivery Schedule (if any) of SF-18 ;9-13-89/8:31 AM
V ;;5.1;IFCAP;;Oct 20, 2000
;Per VHA Directive 10-93-142, this routine should not be modified.
;
I PRCHDY+5>64 D ENDPG^PRCHP181 S PRCHDY=1
F I=1,2,3 W ?9,"|",?44,"|",?56,"|",?64,"|",?81,"|",!
W $E(PRCHUNDL,1,9),"|",$E(PRCHUNDL,1,34),"|",$E(PRCHUNDL,1,11),"|",$E(PRCHUNDL,1,7),"|",$E(PRCHUNDL,1,16),"|",$E(PRCHUNDL,1,15),! S PRCHDY=PRCHDY+4 I PRCHDY+6>64 D ENDPG^PRCHP181 S PRCHDY=1
W "METRIC PRODUCTS - Products manufactured to metric dimensions will be considered on an equal ",! S PRCHDY=PRCHDY+1 I PRCHDY+3>64 D ENDPG^PRCHP181 S PRCHDY=1
W "basis with those manufactured using inch-pound units, providing they fall within the ",! S PRCHDY=PRCHDY+1 I PRCHDY+3>64 D ENDPG^PRCHP181 S PRCHDY=1
W "tolerances specified using conversion tables contained in the latest revision of Federal ",! S PRCHDY=PRCHDY+1 I PRCHDY+3>64 D ENDPG^PRCHP181 S PRCHDY=1
W "Standard No. 376 and all other requirements of this document are met.",!! S PRCHDY=PRCHDY+2 I PRCHDY+5>64 D ENDPG^PRCHP181 S PRCHDY=1
W "If a product is manufactured to metric dimensions and those dimensions exceed the tolerances ",! S PRCHDY=PRCHDY+1 I PRCHDY+3>64 D ENDPG^PRCHP181 S PRCHDY=1
W "specified in the inch-pound units, a request should be made to the Contracting Officer to ",! S PRCHDY=PRCHDY+1 I PRCHDY+3>64 D ENDPG^PRCHP181 S PRCHDY=1
W "determine if the product is acceptable. The Contracting Officer, in concert with COTR",! S PRCHDY=PRCHDY+1 I PRCHDY+3>64 D ENDPG^PRCHP181 S PRCHDY=1
W "(Contracting Officer's Technical Representative) will accept or reject the product.",!,PRCHUNDL,! S PRCHDY=PRCHDY+2 I PRCHDY+5>64 D ENDPG^PRCHP181 S PRCHDY=1
W "13.DISCOUNT FOR PROMPT",?26,"|10 CALENDAR DAYS",?44,"|20 CALENDAR DAYS",?62,"|30 CALENDAR DAYS",?80,"| CALENDAR DAYS",!
W ?10,"PAYMENT--->",?26,"|",?42,"% |",?60,"% |",?78,"% |",?97,"%",!
W $E(PRCHUNDL,1,26),"|",$E(PRCHUNDL,1,17),"|",$E(PRCHUNDL,1,17),"|",$E(PRCHUNDL,1,17),"|",$E(PRCHUNDL,1,17),!,"NOTE: Last page must also be completed by the quoter.",!,PRCHUNDL,!
S PRCHDY=PRCHDY+5 I PRCHDY+9>64 D ENDPG^PRCHP181 S PRCHDY=1
W "14.NAME AND ADDRESS OF QUOTER (Street, city,",?44,"|15.SIGNATURE OF PERSON AUTHORIZED",?80,"|16.DATE OF QUOTA-",!
W ?3,"county, State and ZIP code)",?44,"| TO SIGN QUOTATION",?80,"| TION",!
W ?44,"|",?80,"|",!,?44,"|",$E(PRCHUNDL,1,35),?80,"|",$E(PRCHUNDL,1,17),!
W ?44,"|17.NAME AND TITLE OF SIGNER (Type",?80,"|18.TELEPHONE NO.",!,?44,"| or print)",?80,"| (with area code)",!
W ?44,"|",?80,"|",!,$E(PRCHUNDL,1,44),"|",$E(PRCHUNDL,1,35),"|",$E(PRCHUNDL,1,17),!
S PRCHDY=PRCHDY+8
G EN^PRCHP182
;
PRTD ;PRINT DELIVERY SCHEDULE INFO FROM 2237
S PRCHSY=PRCHD0,PRCHLN=100 F PRCHX=0:0 S PRCHX=$O(^PRCS(410,PRCHSY,"IT",PRCHX)) Q:'PRCHX I $D(^(PRCHX,0)) S PRCHJ=$P(^(0),U,1) D PRT
K I,J,K,PRCHSY,PRCHX,PRCHLN,^TMP($J,"W")
Q
;
PRT Q:'$O(^PRCS(410,PRCHSY,"IT",PRCHX,2,0)) D ^PRCSUT4 S I=$O(^TMP($J,"W",0)) I 'I K I Q
F J=0:0 S J=$O(^TMP($J,"W",I,J)) Q:'J I $D(^(J,0)) S X=^(0) D:PRCHLN>60 H W:J=1 ?1,PRCHJ W ?5,X,! S PRCHLN=PRCHLN+1
Q
;
H I PRCHLN=100 W " (SEE ATTACHED DELIVERY SCHEDULE)",!
W @IOF,!!!!,?10,"**** TRANSACTION "_$P(^PRCS(410,PRCHSY,0),U,1)_" DELIVERY SCHEDULE ****"
W:PRCHLN'=100 ?55,"(CONTINUED)" W !!
W ?1,"LI# REP# DESCRIPTION",?53,"QTY.ORD",!,?30,"DEL.DATE LOCATION",?70,"DELV.QTY",!!
S PRCHLN=9
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HPRCHP183 3443 printed Dec 13, 2024@02:09:11 Page 2
PRCHP183 ;SF/FKV-Print bottom and Delivery Schedule (if any) of SF-18 ;9-13-89/8:31 AM
V ;;5.1;IFCAP;;Oct 20, 2000
+1 ;Per VHA Directive 10-93-142, this routine should not be modified.
+2 ;
+3 IF PRCHDY+5>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+4 FOR I=1,2,3
WRITE ?9,"|",?44,"|",?56,"|",?64,"|",?81,"|",!
+5 WRITE $EXTRACT(PRCHUNDL,1,9),"|",$EXTRACT(PRCHUNDL,1,34),"|",$EXTRACT(PRCHUNDL,1,11),"|",$EXTRACT(PRCHUNDL,1,7),"|",$EXTRACT(PRCHUNDL,1,16),"|",$EXTRACT(PRCHUNDL,1,15),!
SET PRCHDY=PRCHDY+4
IF PRCHDY+6>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+6 WRITE "METRIC PRODUCTS - Products manufactured to metric dimensions will be considered on an equal ",!
SET PRCHDY=PRCHDY+1
IF PRCHDY+3>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+7 WRITE "basis with those manufactured using inch-pound units, providing they fall within the ",!
SET PRCHDY=PRCHDY+1
IF PRCHDY+3>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+8 WRITE "tolerances specified using conversion tables contained in the latest revision of Federal ",!
SET PRCHDY=PRCHDY+1
IF PRCHDY+3>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+9 WRITE "Standard No. 376 and all other requirements of this document are met.",!!
SET PRCHDY=PRCHDY+2
IF PRCHDY+5>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+10 WRITE "If a product is manufactured to metric dimensions and those dimensions exceed the tolerances ",!
SET PRCHDY=PRCHDY+1
IF PRCHDY+3>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+11 WRITE "specified in the inch-pound units, a request should be made to the Contracting Officer to ",!
SET PRCHDY=PRCHDY+1
IF PRCHDY+3>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+12 WRITE "determine if the product is acceptable. The Contracting Officer, in concert with COTR",!
SET PRCHDY=PRCHDY+1
IF PRCHDY+3>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+13 WRITE "(Contracting Officer's Technical Representative) will accept or reject the product.",!,PRCHUNDL,!
SET PRCHDY=PRCHDY+2
IF PRCHDY+5>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+14 WRITE "13.DISCOUNT FOR PROMPT",?26,"|10 CALENDAR DAYS",?44,"|20 CALENDAR DAYS",?62,"|30 CALENDAR DAYS",?80,"| CALENDAR DAYS",!
+15 WRITE ?10,"PAYMENT--->",?26,"|",?42,"% |",?60,"% |",?78,"% |",?97,"%",!
+16 WRITE $EXTRACT(PRCHUNDL,1,26),"|",$EXTRACT(PRCHUNDL,1,17),"|",$EXTRACT(PRCHUNDL,1,17),"|",$EXTRACT(PRCHUNDL,1,17),"|",$EXTRACT(PRCHUNDL,1,17),!,"NOTE: Last page must also be completed by the quoter.",!,PRCHUNDL,!
+17 SET PRCHDY=PRCHDY+5
IF PRCHDY+9>64
DO ENDPG^PRCHP181
SET PRCHDY=1
+18 WRITE "14.NAME AND ADDRESS OF QUOTER (Street, city,",?44,"|15.SIGNATURE OF PERSON AUTHORIZED",?80,"|16.DATE OF QUOTA-",!
+19 WRITE ?3,"county, State and ZIP code)",?44,"| TO SIGN QUOTATION",?80,"| TION",!
+20 WRITE ?44,"|",?80,"|",!,?44,"|",$EXTRACT(PRCHUNDL,1,35),?80,"|",$EXTRACT(PRCHUNDL,1,17),!
+21 WRITE ?44,"|17.NAME AND TITLE OF SIGNER (Type",?80,"|18.TELEPHONE NO.",!,?44,"| or print)",?80,"| (with area code)",!
+22 WRITE ?44,"|",?80,"|",!,$EXTRACT(PRCHUNDL,1,44),"|",$EXTRACT(PRCHUNDL,1,35),"|",$EXTRACT(PRCHUNDL,1,17),!
+23 SET PRCHDY=PRCHDY+8
+24 GOTO EN^PRCHP182
+25 ;
PRTD ;PRINT DELIVERY SCHEDULE INFO FROM 2237
+1 SET PRCHSY=PRCHD0
SET PRCHLN=100
FOR PRCHX=0:0
SET PRCHX=$ORDER(^PRCS(410,PRCHSY,"IT",PRCHX))
if 'PRCHX
QUIT
IF $DATA(^(PRCHX,0))
SET PRCHJ=$PIECE(^(0),U,1)
DO PRT
+2 KILL I,J,K,PRCHSY,PRCHX,PRCHLN,^TMP($JOB,"W")
+3 QUIT
+4 ;
PRT if '$ORDER(^PRCS(410,PRCHSY,"IT",PRCHX,2,0))
QUIT
DO ^PRCSUT4
SET I=$ORDER(^TMP($JOB,"W",0))
IF 'I
KILL I
QUIT
+1 FOR J=0:0
SET J=$ORDER(^TMP($JOB,"W",I,J))
if 'J
QUIT
IF $DATA(^(J,0))
SET X=^(0)
if PRCHLN>60
DO H
if J=1
WRITE ?1,PRCHJ
WRITE ?5,X,!
SET PRCHLN=PRCHLN+1
+2 QUIT
+3 ;
H IF PRCHLN=100
WRITE " (SEE ATTACHED DELIVERY SCHEDULE)",!
+1 WRITE @IOF,!!!!,?10,"**** TRANSACTION "_$PIECE(^PRCS(410,PRCHSY,0),U,1)_" DELIVERY SCHEDULE ****"
+2 if PRCHLN'=100
WRITE ?55,"(CONTINUED)"
WRITE !!
+3 WRITE ?1,"LI# REP# DESCRIPTION",?53,"QTY.ORD",!,?30,"DEL.DATE LOCATION",?70,"DELV.QTY",!!
+4 SET PRCHLN=9
+5 QUIT