ACRPQT ; GENERATED FROM 'ACR REQUEST FOR QUOTATION' PRINT TEMPLATE (#3964) ; 09/29/09 ; (FILE 9002196, MARGIN=80)
G BEGIN
N W !
T 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)
S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
Q
DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
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
W Y Q
M D @DIXX
Q
BEGIN ;
S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
I $D(DXS)<9 M DXS=^DIPT(3964,"DXS")
S I(0)="^ACRDOC(",J(0)=9002196
W ?0 D ^ACRFSSPO K DIP K:DN Y
W ?11 I $E($G(IOST),1,2)="C-" W @IOF K DIP K:DN Y
W ?22 I $E($G(IOST),1,2)="P-",$Y>1 W @IOF K DIP K:DN Y
W ?33 X DXS(1,9) K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 I $E($G(IOST),1,2)="C-" W "ARMS REF: ",$P($G(^ACRDOC(D0,0)),U,6),"/",D0 K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "REQUEST FOR QUOTATIONS | Notice of Small Bus Set-Aside on reverse"
I 1 S DC=$S($D(DC)#2:DC+1,1:1) K DIP K:DN Y
D N:$X>66 Q:'DN W ?66 W "|PAGE OF PAGES"
D N:$X>0 Q:'DN W ?0 W "(This is not an ORDER) | | | is | | is not applicable"
D N:$X>66 Q:'DN W ?66 W "|"
W ?69 S X=$S($D(DC)#2:DC,1:"") K DIP K:DN Y W X
D N:$X>73 Q:'DN W ?73 W "|"
W:$D(ACRPOPG) ?77,ACRPOPG K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "1. REQUEST NO."
D N:$X>15 Q:'DN W ?15 W "|2. DATE ISSUED"
D N:$X>32 Q:'DN W ?32 W "|3. REQUISITION NO."
D N:$X>54 Q:'DN W ?54 W "|4. CERT NAT DEF | RATING"
D N:$X>15 Q:'DN W ?15 W "|"
S X=$G(^ACRDOC(D0,"PO")) D N:$X>19 Q:'DN W ?19 S Y=$P(X,U,1) D DT
D N:$X>32 Q:'DN W ?32 W "|"
S X=$G(^ACRDOC(D0,0)) D N:$X>36 Q:'DN W ?36,$E($P(X,U,1),1,17)
D N:$X>54 Q:'DN W ?54 W "|"
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "5. ISSUED BY:"
D N:$X>54 Q:'DN W ?54 W "|6. DELIVER BY (DATE)"
D N:$X>3 Q:'DN W ?3 W "USPHS INDIAN HEALTH SERVICE"
D N:$X>54 Q:'DN W ?54 W "|"
S X=$G(^ACRDOC(D0,"PO")) D N:$X>58 Q:'DN W ?58 S Y=$P(X,U,12) D DT
S X=$G(^ACRDOC(D0,"POIO")) D N:$X>3 Q:'DN W ?3 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^AUTTPRG(Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
D N:$X>54 Q:'DN W ?54 W "|"
D N:$X>3 Q:'DN W ?3 X DXS(2,9.2) S X=$P(DIP(101),U,1) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>54 Q:'DN W ?54 W "|"
D N:$X>3 Q:'DN W ?3 X DXS(3,9.2) S X=$P(DIP(101),U,2) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>54 Q:'DN W ?54 W "|"
D N:$X>3 Q:'DN W ?3 X DXS(4,9.2) S X=$P(DIP(101),U,3) S D0=I(0,0) K DIP K:DN Y W X
W ", "
X DXS(5,9.3) S X=$P(DIP(201),U,2) S D0=I(0,0) K DIP K:DN Y W X
W " "
X DXS(6,9.2) S X=$P(DIP(101),U,5) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>54 Q:'DN W ?54 W "|"
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "5B.FOR INFORMATION CALL:"
D N:$X>34 Q:'DN W ?34 W "FAX-"
X DXS(7,9.2) S X=$P(DIP(101),U,8) S D0=I(0,0) K DIP K:DN Y W $E(X,1,15)
D N:$X>54 Q:'DN W ?54 W "|7. DELIVERY"
S X=$G(^ACRDOC(D0,"PA")) D N:$X>3 Q:'DN W ?3 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^ACRPA(Y,0))#2:$P(^(0),U),1:Y) S Y=$S(Y="":Y,$D(^VA(200,Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
D N:$X>34 Q:'DN W ?34 W "FON-"
X DXS(8,9.2) S X=$P(DIP(101),U,6) S D0=I(0,0) K DIP K:DN Y W $E(X,1,15)
D N:$X>54 Q:'DN W ?54 W "|"
S X=$G(^ACRDOC(D0,"PO")) D N:$X>58 Q:'DN W ?58 S Y=$P(X,U,9) W:Y]"" $S($D(DXS(17,Y)):DXS(17,Y),1:Y)
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "8. TO:"
W ?8 W:$E($G(ACREIN))=1 ?$X+2,ACREIN K DIP K:DN Y
D N:$X>44 Q:'DN W ?44 W "| 9. DESTINATION"
S X=$G(^ACRDOC(D0,"PO")) D N:$X>3 Q:'DN W ?3 S Y=$P(X,U,5) S Y=$S(Y="":Y,$D(^AUTTVNDR(Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,30)
D N:$X>44 Q:'DN W ?44 W "|"
D N:$X>3 Q:'DN W ?3 X DXS(9,9.2) S X=$P(DIP(101),U,1) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>44 Q:'DN W ?44 W "|"
D N:$X>3 Q:'DN W ?3 X DXS(10,9.2) S X=$P(DIP(101),U,10) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>44 Q:'DN W ?44 W "|"
D N:$X>3 Q:'DN W ?3 X DXS(11,9.2) S X=$P(DIP(101),U,2) S D0=I(0,0) K DIP K:DN Y W X
W ", "
X DXS(12,9) K DIP K:DN Y W X
W " "
X DXS(13,9.2) S X=$P(DIP(101),U,4) S D0=I(0,0) K DIP K:DN Y W X
D N:$X>44 Q:'DN W ?44 W "|"
D N:$X>3 Q:'DN W ?3 W "PHONE-"
X DXS(14,9.2) S X=$P(DIP(101),U,9) S D0=I(0,0) K DIP K:DN Y W $E(X,1,15)
W ?11 W "FAX-"
X DXS(15,9.2) S X=$P(DIP(101),U,14) S D0=I(0,0) K DIP K:DN Y W $E(X,1,15)
D N:$X>44 Q:'DN W ?44 W "|"
D PAUSE^ACRFWARN K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "10.Please furnish quotations to the"
D N:$X>39 Q:'DN W ?39 W "|11. Business classification"
D N:$X>3 Q:'DN W ?3 W "Issuing Office on or before"
D N:$X>39 Q:'DN W ?39 W "|"
S X=$G(^ACRDOC(D0,"PO")) D N:$X>3 Q:'DN W ?3 S Y=$P(X,U,12) D DT
D N:$X>39 Q:'DN W ?39 W "|"
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 I $D(ACRPOL),ACRPOL>5 W "12.SCHEDULE (SEE SCHEDULE OF ITEM(S) 1" K DIP K:DN Y
I $D(ACRPOL),ACRPOL>5 W:ACRJ>1 " THROUGH ",ACRJ K DIP K:DN Y
I $D(ACRPOL),ACRPOL>5 W " ON CONTINUATION SHEET)" K DIP K:DN Y
W ?11 I $D(ACRPOL),ACRPOL<6 D PAUSE^ACRFWARN K DIP K:DN Y
D N:$X>19 Q:'DN W ?19 I $D(ACRPOL),ACRPOL<6 W "12.SCHEDULE OF SUPPLIES/SERVICES" K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 X DXS(16,9) K DIP K:DN Y
I $D(ACRPOL),ACRPOL<6 S ACRDOCDA=D0,ACRDOC=$P(^ACRDOC(D0,0),U,2) D DISPLAY^ACRFSS12 K DIP K:DN Y
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
I $D(ACRPOL),ACRPOL<6 D PAUSE^ACRFWARN K DIP K:DN Y
D N:$X>15 Q:'DN W ?15 W "|10 CALENDAR DAY|20 CALENDAR DAY|30 CALENDAR DAY| CALENDAR DAY"
D N:$X>0 Q:'DN W ?0 W "13.PROMPT PAY"
D N:$X>15 Q:'DN W ?15 W "|"
D N:$X>31 Q:'DN W ?31 W "|"
D N:$X>47 Q:'DN W ?47 W "|"
D N:$X>63 Q:'DN W ?63 W "|"
D N:$X>3 Q:'DN W ?3 W "DISCOUNT"
D N:$X>15 Q:'DN W ?15 W "|"
D N:$X>29 Q:'DN W ?29 W "% |"
D N:$X>45 Q:'DN W ?45 W "% |"
D N:$X>61 Q:'DN W ?61 W "% |"
D N:$X>78 Q:'DN W ?78 W "%"
D N:$X>0 Q:'DN W ?0 W "--------------------------------------------------------------------------------"
D N:$X>0 Q:'DN W ?0 W "14.NAME & ADDRESS OF QUOTER"
D N:$X>34 Q:'DN W ?34 W "|15. SIGNATURE OF PERSON AUTHOR-"
D N:$X>66 Q:'DN W ?66 W "|16. DATE OF"
D N:$X>34 Q:'DN W ?34 W "| IZED TO SIGN QUOTATION"
D N:$X>66 Q:'DN W ?66 W "| QUOTATION"
D N:$X>34 Q:'DN W ?34 W "|"
D N:$X>66 Q:'DN W ?66 W "|"
D N:$X>34 Q:'DN W ?34 W "|"
D N:$X>66 Q:'DN W ?66 W "|"
D N:$X>34 Q:'DN W ?34 W "|-------------------------------|-------------"
D N:$X>34 Q:'DN W ?34 W "|17. NAME & TITLE OF SIGNER"
D N:$X>66 Q:'DN W ?66 W "|18. PHONE NO."
D N:$X>34 Q:'DN W ?34 W "|"
D N:$X>66 Q:'DN W ?66 W "|"
D N:$X>34 Q:'DN W ?34 W "|"
D N:$X>66 Q:'DN W ?66 W "|"
G ^ACRPQT1
ACRPQT ; GENERATED FROM 'ACR REQUEST FOR QUOTATION' PRINT TEMPLATE (#3964) ; 09/29/09 ; (FILE 9002196, MARGIN=80)
+1 GOTO BEGIN
N WRITE !
T IF $X
WRITE !
IF '$DATA(DIOT(2))
IF DN
IF $DATA(IOSL)
IF $SELECT('$DATA(DIWF):1,$PIECE(DIWF,"B",2):$PIECE(DIWF,"B",2),1:1)+$Y'<IOSL
IF $DATA(^UTILITY($JOB,1))#2
IF ^(1)?1U1P1E.E
XECUTE ^(1)
+1 SET DISTP=DISTP+1
SET DILCT=DILCT+1
IF '(DISTP#100)
DO CSTP^DIO2
+2 QUIT
DT IF $GET(DUZ("LANG"))>1
IF Y
WRITE $$OUT^DIALOGU(Y,"DD")
QUIT
+1 IF Y
WRITE $PIECE("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$EXTRACT(Y,4,5))_" "
IF Y#100
WRITE $JUSTIFY(Y#100\1,2)_","
WRITE Y\10000+1700
IF Y#1
WRITE " "_$EXTRACT(Y_0,9,10)_":"_$EXTRACT(Y_"000",11,12)
QUIT
+2 WRITE Y
QUIT
M DO @DIXX
+1 QUIT
BEGIN ;
+1 IF '$DATA(DN)
SET DN=1
SET DISTP=$GET(DISTP)
SET DILCT=$GET(DILCT)
+2 IF $DATA(DXS)<9
MERGE DXS=^DIPT(3964,"DXS")
+3 SET I(0)="^ACRDOC("
SET J(0)=9002196
+4 WRITE ?0
DO ^ACRFSSPO
KILL DIP
IF DN
KILL Y
+5 WRITE ?11
IF $EXTRACT($GET(IOST),1,2)="C-"
WRITE @IOF
KILL DIP
IF DN
KILL Y
+6 WRITE ?22
IF $EXTRACT($GET(IOST),1,2)="P-"
IF $Y>1
WRITE @IOF
KILL DIP
IF DN
KILL Y
+7 WRITE ?33
XECUTE DXS(1,9)
KILL DIP
IF DN
KILL Y
+8 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+9 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
IF $EXTRACT($GET(IOST),1,2)="C-"
WRITE "ARMS REF: ",$PIECE($GET(^ACRDOC(D0,0)),U,6),"/",D0
KILL DIP
IF DN
KILL Y
+10 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "REQUEST FOR QUOTATIONS | Notice of Small Bus Set-Aside on reverse"
+11 IF 1
SET DC=$SELECT($DATA(DC)#2:DC+1,1:1)
KILL DIP
IF DN
KILL Y
+12 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|PAGE OF PAGES"
+13 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "(This is not an ORDER) | | | is | | is not applicable"
+14 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|"
+15 WRITE ?69
SET X=$SELECT($DATA(DC)#2:DC,1:"")
KILL DIP
IF DN
KILL Y
WRITE X
+16 IF $X>73
DO N
IF 'DN
QUIT
WRITE ?73
WRITE "|"
+17 IF $DATA(ACRPOPG)
WRITE ?77,ACRPOPG
KILL DIP
IF DN
KILL Y
+18 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+19 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "1. REQUEST NO."
+20 IF $X>15
DO N
IF 'DN
QUIT
WRITE ?15
WRITE "|2. DATE ISSUED"
+21 IF $X>32
DO N
IF 'DN
QUIT
WRITE ?32
WRITE "|3. REQUISITION NO."
+22 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|4. CERT NAT DEF | RATING"
+23 IF $X>15
DO N
IF 'DN
QUIT
WRITE ?15
WRITE "|"
+24 SET X=$GET(^ACRDOC(D0,"PO"))
IF $X>19
DO N
IF 'DN
QUIT
WRITE ?19
SET Y=$PIECE(X,U,1)
DO DT
+25 IF $X>32
DO N
IF 'DN
QUIT
WRITE ?32
WRITE "|"
+26 SET X=$GET(^ACRDOC(D0,0))
IF $X>36
DO N
IF 'DN
QUIT
WRITE ?36,$EXTRACT($PIECE(X,U,1),1,17)
+27 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+28 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+29 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "5. ISSUED BY:"
+30 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|6. DELIVER BY (DATE)"
+31 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
WRITE "USPHS INDIAN HEALTH SERVICE"
+32 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+33 SET X=$GET(^ACRDOC(D0,"PO"))
IF $X>58
DO N
IF 'DN
QUIT
WRITE ?58
SET Y=$PIECE(X,U,12)
DO DT
+34 SET X=$GET(^ACRDOC(D0,"POIO"))
IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
SET Y=$PIECE(X,U,1)
SET Y=$SELECT(Y="":Y,$DATA(^AUTTPRG(Y,0))#2:$PIECE(^(0),U),1:Y)
WRITE $EXTRACT(Y,1,30)
+35 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+36 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
XECUTE DXS(2,9.2)
SET X=$PIECE(DIP(101),U,1)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+37 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+38 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
XECUTE DXS(3,9.2)
SET X=$PIECE(DIP(101),U,2)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+39 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+40 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
XECUTE DXS(4,9.2)
SET X=$PIECE(DIP(101),U,3)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+41 WRITE ", "
+42 XECUTE DXS(5,9.3)
SET X=$PIECE(DIP(201),U,2)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+43 WRITE " "
+44 XECUTE DXS(6,9.2)
SET X=$PIECE(DIP(101),U,5)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+45 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+46 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+47 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "5B.FOR INFORMATION CALL:"
+48 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "FAX-"
+49 XECUTE DXS(7,9.2)
SET X=$PIECE(DIP(101),U,8)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE $EXTRACT(X,1,15)
+50 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|7. DELIVERY"
+51 SET X=$GET(^ACRDOC(D0,"PA"))
IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
SET Y=$PIECE(X,U,1)
SET Y=$SELECT(Y="":Y,$DATA(^ACRPA(Y,0))#2:$PIECE(^(0),U),1:Y)
SET Y=$SELECT(Y="":Y,$DATA(^VA(200,Y,0))#2:$PIECE(^(0),U),1:Y)
WRITE $EXTRACT(Y,1,30)
+52 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "FON-"
+53 XECUTE DXS(8,9.2)
SET X=$PIECE(DIP(101),U,6)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE $EXTRACT(X,1,15)
+54 IF $X>54
DO N
IF 'DN
QUIT
WRITE ?54
WRITE "|"
+55 SET X=$GET(^ACRDOC(D0,"PO"))
IF $X>58
DO N
IF 'DN
QUIT
WRITE ?58
SET Y=$PIECE(X,U,9)
IF Y]""
WRITE $SELECT($DATA(DXS(17,Y)):DXS(17,Y),1:Y)
+56 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+57 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "8. TO:"
+58 WRITE ?8
IF $EXTRACT($GET(ACREIN))=1
WRITE ?$X+2,ACREIN
KILL DIP
IF DN
KILL Y
+59 IF $X>44
DO N
IF 'DN
QUIT
WRITE ?44
WRITE "| 9. DESTINATION"
+60 SET X=$GET(^ACRDOC(D0,"PO"))
IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
SET Y=$PIECE(X,U,5)
SET Y=$SELECT(Y="":Y,$DATA(^AUTTVNDR(Y,0))#2:$PIECE(^(0),U),1:Y)
WRITE $EXTRACT(Y,1,30)
+61 IF $X>44
DO N
IF 'DN
QUIT
WRITE ?44
WRITE "|"
+62 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
XECUTE DXS(9,9.2)
SET X=$PIECE(DIP(101),U,1)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+63 IF $X>44
DO N
IF 'DN
QUIT
WRITE ?44
WRITE "|"
+64 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
XECUTE DXS(10,9.2)
SET X=$PIECE(DIP(101),U,10)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+65 IF $X>44
DO N
IF 'DN
QUIT
WRITE ?44
WRITE "|"
+66 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
XECUTE DXS(11,9.2)
SET X=$PIECE(DIP(101),U,2)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+67 WRITE ", "
+68 XECUTE DXS(12,9)
KILL DIP
IF DN
KILL Y
WRITE X
+69 WRITE " "
+70 XECUTE DXS(13,9.2)
SET X=$PIECE(DIP(101),U,4)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE X
+71 IF $X>44
DO N
IF 'DN
QUIT
WRITE ?44
WRITE "|"
+72 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
WRITE "PHONE-"
+73 XECUTE DXS(14,9.2)
SET X=$PIECE(DIP(101),U,9)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE $EXTRACT(X,1,15)
+74 WRITE ?11
WRITE "FAX-"
+75 XECUTE DXS(15,9.2)
SET X=$PIECE(DIP(101),U,14)
SET D0=I(0,0)
KILL DIP
IF DN
KILL Y
WRITE $EXTRACT(X,1,15)
+76 IF $X>44
DO N
IF 'DN
QUIT
WRITE ?44
WRITE "|"
+77 DO PAUSE^ACRFWARN
KILL DIP
IF DN
KILL Y
+78 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+79 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "10.Please furnish quotations to the"
+80 IF $X>39
DO N
IF 'DN
QUIT
WRITE ?39
WRITE "|11. Business classification"
+81 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
WRITE "Issuing Office on or before"
+82 IF $X>39
DO N
IF 'DN
QUIT
WRITE ?39
WRITE "|"
+83 SET X=$GET(^ACRDOC(D0,"PO"))
IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
SET Y=$PIECE(X,U,12)
DO DT
+84 IF $X>39
DO N
IF 'DN
QUIT
WRITE ?39
WRITE "|"
+85 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+86 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
IF $DATA(ACRPOL)
IF ACRPOL>5
WRITE "12.SCHEDULE (SEE SCHEDULE OF ITEM(S) 1"
KILL DIP
IF DN
KILL Y
+87 IF $DATA(ACRPOL)
IF ACRPOL>5
IF ACRJ>1
WRITE " THROUGH ",ACRJ
KILL DIP
IF DN
KILL Y
+88 IF $DATA(ACRPOL)
IF ACRPOL>5
WRITE " ON CONTINUATION SHEET)"
KILL DIP
IF DN
KILL Y
+89 WRITE ?11
IF $DATA(ACRPOL)
IF ACRPOL<6
DO PAUSE^ACRFWARN
KILL DIP
IF DN
KILL Y
+90 IF $X>19
DO N
IF 'DN
QUIT
WRITE ?19
IF $DATA(ACRPOL)
IF ACRPOL<6
WRITE "12.SCHEDULE OF SUPPLIES/SERVICES"
KILL DIP
IF DN
KILL Y
+91 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
XECUTE DXS(16,9)
KILL DIP
IF DN
KILL Y
+92 IF $DATA(ACRPOL)
IF ACRPOL<6
SET ACRDOCDA=D0
SET ACRDOC=$PIECE(^ACRDOC(D0,0),U,2)
DO DISPLAY^ACRFSS12
KILL DIP
IF DN
KILL Y
+93 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+94 IF $DATA(ACRPOL)
IF ACRPOL<6
DO PAUSE^ACRFWARN
KILL DIP
IF DN
KILL Y
+95 IF $X>15
DO N
IF 'DN
QUIT
WRITE ?15
WRITE "|10 CALENDAR DAY|20 CALENDAR DAY|30 CALENDAR DAY| CALENDAR DAY"
+96 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "13.PROMPT PAY"
+97 IF $X>15
DO N
IF 'DN
QUIT
WRITE ?15
WRITE "|"
+98 IF $X>31
DO N
IF 'DN
QUIT
WRITE ?31
WRITE "|"
+99 IF $X>47
DO N
IF 'DN
QUIT
WRITE ?47
WRITE "|"
+100 IF $X>63
DO N
IF 'DN
QUIT
WRITE ?63
WRITE "|"
+101 IF $X>3
DO N
IF 'DN
QUIT
WRITE ?3
WRITE "DISCOUNT"
+102 IF $X>15
DO N
IF 'DN
QUIT
WRITE ?15
WRITE "|"
+103 IF $X>29
DO N
IF 'DN
QUIT
WRITE ?29
WRITE "% |"
+104 IF $X>45
DO N
IF 'DN
QUIT
WRITE ?45
WRITE "% |"
+105 IF $X>61
DO N
IF 'DN
QUIT
WRITE ?61
WRITE "% |"
+106 IF $X>78
DO N
IF 'DN
QUIT
WRITE ?78
WRITE "%"
+107 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "--------------------------------------------------------------------------------"
+108 IF $X>0
DO N
IF 'DN
QUIT
WRITE ?0
WRITE "14.NAME & ADDRESS OF QUOTER"
+109 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|15. SIGNATURE OF PERSON AUTHOR-"
+110 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|16. DATE OF"
+111 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "| IZED TO SIGN QUOTATION"
+112 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "| QUOTATION"
+113 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|"
+114 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|"
+115 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|"
+116 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|"
+117 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|-------------------------------|-------------"
+118 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|17. NAME & TITLE OF SIGNER"
+119 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|18. PHONE NO."
+120 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|"
+121 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|"
+122 IF $X>34
DO N
IF 'DN
QUIT
WRITE ?34
WRITE "|"
+123 IF $X>66
DO N
IF 'DN
QUIT
WRITE ?66
WRITE "|"
+124 GOTO ^ACRPQT1