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

ACRSPCL.m

Go to the documentation of this file.
ACRSPCL ; GENERATED FROM 'ACR SP CHECKLIST' PRINT TEMPLATE (#3950) ; 09/29/09 ; (FILE 9002187.1, 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(3950,"DXS")
 S I(0)="^ACRSPCL(",J(0)=9002187.1
 D N:$X>24 Q:'DN  W ?24 W "FILE REVIEW CHECKLIST"
 D N:$X>24 Q:'DN  W ?24 W "SMALL PURCHASE"
 D N:$X>24 Q:'DN  W ?24 W "OPEN MARKET"
 D T Q:'DN  D N D N W ?0 W "PURCHASE ORDER NUMBER:"
 W ?24 X DXS(1,9.2) S X=$P(DIP(101),U,2) S D0=I(0,0) K DIP K:DN Y W X
 D N:$X>0 Q:'DN  W ?0 W "REQUISITION NUMBER...:"
 S X=$G(^ACRSPCL(D0,0)) W ?24 S Y=$P(X,U,1) S Y=$S(Y="":Y,$D(^ACRDOC(Y,0))#2:$P(^(0),U),1:Y) W $E(Y,1,17)
 D N:$X>0 Q:'DN  W ?0 W "DATE OF ORDER........:"
 W ?24 X DXS(2,9.2) S X=$P(DIP(101),U,1) S D0=I(0,0) S Y=X K DIP K:DN Y S Y=X D DT
 D N:$X>0 Q:'DN  W ?0 W "DATE OF REVIEW.......:"
 S X=$G(^ACRSPCL(D0,0)) W ?24 S Y=$P(X,U,3) D DT
 D N:$X>0 Q:'DN  W ?0 W "PURCHASING AGENT.....:"
 W ?24 X DXS(3,9.3) S X=$S('$D(^VA(200,+$P(DIP(201),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) K DIP K:DN Y W X
 D N:$X>0 Q:'DN  W ?0 W "CONTRACTING OFFICER..:"
 W ?24 X DXS(4,9.2) S X=$S('$D(^VA(200,+$P(DIP(101),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) K DIP K:DN Y W X
 D N:$X>0 Q:'DN  W ?0 W "PURCHASING SUPERVISOR:"
 W ?24 X DXS(5,9.2) S X=$S('$D(^VA(200,+$P(DIP(101),U,3),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) K DIP K:DN Y W X
 D T Q:'DN  D N D N W ?0 W "1.  REQUISITION RECEIVED, LOGGED, REVIEWED BY SUPERVISOR......:"
 S X=$G(^ACRSPCL(D0,1)) D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,1) W:Y]"" $S($D(DXS(6,Y)):DXS(6,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "2.  STATEMENT OF WORK/SPECIFICATIONS COMPLETE AND ADEQUATE....:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,2) W:Y]"" $S($D(DXS(7,Y)):DXS(7,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "3.  REQUISITION PROPERLY FUNDED...............................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,3) W:Y]"" $S($D(DXS(8,Y)):DXS(8,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "4.  APPROPRIATE USE OF PURCHASE ORDER.........................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,4) W:Y]"" $S($D(DXS(9,Y)):DXS(9,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "5.  RATIFICATION OF UNAUTHORIZED COMMITMENT...................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,5) W:Y]"" $S($D(DXS(10,Y)):DXS(10,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "    RATIFIATION PROPERLY PROCESSED............................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,6) W:Y]"" $S($D(DXS(11,Y)):DXS(11,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "6.  AWARDED TO SMALL BUSINESS.................................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,7) W:Y]"" $S($D(DXS(12,Y)):DXS(12,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "    FILE DOCUMENTED WITH REASON IF NOT AWARDED TO SB..........:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,8) W:Y]"" $S($D(DXS(13,Y)):DXS(13,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "7.  ADP APPROVAL REQUIRED.....................................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,9) W:Y]"" $S($D(DXS(14,Y)):DXS(14,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "    ADP APPROVAL OBTAINED.....................................:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,10) W:Y]"" $S($D(DXS(15,Y)):DXS(15,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "8.  ADEQUATE COMPETITION OBTAINED OR (UNDER $2,500)...........:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,11) W:Y]"" $S($D(DXS(16,Y)):DXS(16,Y),1:Y)
 D PAUSE^ACRFWARN K DIP K:DN Y
 D N:$X>0 Q:'DN  W ?0 W "9.  FILE ANNOTATED TO EXPLAIN ABSENCE OF COMPETITION WHEN.....:"
 S X=$G(^ACRSPCL(D0,1)) D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,12) W:Y]"" $S($D(DXS(17,Y)):DXS(17,Y),1:Y)
 D N:$X>4 Q:'DN  W ?4 W "ONLY ONE SOURCE >$25,000"
 D N:$X>0 Q:'DN  W ?0 W "10. FILE CONTAINS DETERMINATION OF FAIR/REASONABLE PRICE......:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,13) W:Y]"" $S($D(DXS(18,Y)):DXS(18,Y),1:Y)
 D N:$X>4 Q:'DN  W ?4 W "WHEN ONLY ONE RESPONSE RECEIVED FOR PURCHASE >$2,500"
 D N:$X>0 Q:'DN  W ?0 W "11. CBD SYNOPSIS ISSUED FOR PURCHASE EXPECTED TO EXCEED.......:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,14) W:Y]"" $S($D(DXS(19,Y)):DXS(19,Y),1:Y)
 D N:$X>4 Q:'DN  W ?4 W "$10,000 WHERE COMPETITIVE OFFER NOT EXPECTED"
 D N:$X>0 Q:'DN  W ?0 W "12. PURCHASE MADE UNDER BPR/IMPREST FUND/CHARGE CARD/SF 44/ETC:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,15) W:Y]"" $S($D(DXS(20,Y)):DXS(20,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "13 EVIDENCE THAT ORDERS MAY HAVE BEEN SPLIT TO STAY UNDER.....:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,16) W:Y]"" $S($D(DXS(21,Y)):DXS(21,Y),1:Y)
 D N:$X>4 Q:'DN  W ?4 W "SMALL PURCHASE LIMITATION"
 D N:$X>0 Q:'DN  W ?0 W "14. APPROPRIATE TERMS, CONDITIONS AND CLAUSES INCLUDED........:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,17) W:Y]"" $S($D(DXS(22,Y)):DXS(22,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "15. CLAUSE FAR 52.223-6, DRUG-FREE WORKPLACE, INCLUDED IN.....:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,18) W:Y]"" $S($D(DXS(23,Y)):DXS(23,Y),1:Y)
 D N:$X>4 Q:'DN  W ?4 W "PURCHASE ORDER WITH AN INDIVIDUAL [FAR 23.504(b)]"
 D N:$X>0 Q:'DN  W ?0 W "16. AWARD DECISION FULLY DOCUMENTED AND PROPERLY MADE.........:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,19) W:Y]"" $S($D(DXS(24,Y)):DXS(24,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "17. CONTRACTING OFFICER HELD APPROPRIATE WARRANT..............:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,20) W:Y]"" $S($D(DXS(25,Y)):DXS(25,Y),1:Y)
 D N:$X>0 Q:'DN  W ?0 W "18. PURCHASE ORDER PROCESSED WITHIN PRESCRIBED STANDARD TIMES.:"
 D N:$X>69 Q:'DN  W ?69 S Y=$P(X,U,21) W:Y]"" $S($D(DXS(26,Y)):DXS(26,Y),1:Y)
 D PAUSE^ACRFWARN K DIP K:DN Y
 K Y
 Q
 W !,"--------------------------------------------------------------------------------",!!