PSGWI046 ; ; 04-JAN-1994
;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","AR/WS VERSION",9)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","BACKORDER CONVERSION",5)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","DATE INSTALLED",4)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","MULTI-DIVISION CONVERSION",6)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","RETURN REASON CONVERSION",8)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","SITE NAME",3)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","WARD (for %) CONVERSION",7)
;;=
;;^UTILITY(U,$J,"PKG",115,4,12,222)
;;=y^y^^y^^^n^^y
;;^UTILITY(U,$J,"PKG",115,4,"B",50,11)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.1,1)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.16,3)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.17,4)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.19,5)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.2,2)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.3,6)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",58.5,10)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",59.4,8)
;;=
;;^UTILITY(U,$J,"PKG",115,4,"B",59.7,12)
;;=
;;^UTILITY(U,$J,"PKG",115,5)
;;=BIRMINGHAM
;;^UTILITY(U,$J,"PKG",115,7)
;;=^^I
;;^UTILITY(U,$J,"PKG",115,11)
;;=50^60
;;^UTILITY(U,$J,"PKG",115,22,0)
;;=^9.49I^2.6^13
;;^UTILITY(U,$J,"PKG",115,22,1.1,0)
;;=1.1^2880503^2880321
;;^UTILITY(U,$J,"PKG",115,22,1.12,0)
;;=1.12^2880505
;;^UTILITY(U,$J,"PKG",115,22,2,0)
;;=2^2900329^2900329
;;^UTILITY(U,$J,"PKG",115,22,2.02,0)
;;=2.02^2900209^2891003
;;^UTILITY(U,$J,"PKG",115,22,2.03,0)
;;=2.03^2900228^2900214
;;^UTILITY(U,$J,"PKG",115,22,2.04,0)
;;=2.04^2900320^2900321
;;^UTILITY(U,$J,"PKG",115,22,2.1,0)
;;=2.1^2901019^2901017
;;^UTILITY(U,$J,"PKG",115,22,2.12,0)
;;=2.12^2910221^2910226
;;^UTILITY(U,$J,"PKG",115,22,2.2,0)
;;=2.2^2910326^2910326
;;^UTILITY(U,$J,"PKG",115,22,2.3,0)
;;=2.3^2940104^2930405
;;^UTILITY(U,$J,"PKG",115,22,2.4,0)
;;=2.3T2^2930722
;;^UTILITY(U,$J,"PKG",115,22,2.5,0)
;;=2.3T3^2930817
;;^UTILITY(U,$J,"PKG",115,22,2.6,0)
;;=2.3V1^2930830
;;^UTILITY(U,$J,"PKG",115,22,"B",1.1,1.1)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",1.12,1.12)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2,2)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.02,2.02)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.03,2.03)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.04,2.04)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.1,2.1)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.12,2.12)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.2,2.2)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B",2.3,2.3)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B","2.3T2",2.4)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B","2.3T3",2.5)
;;=
;;^UTILITY(U,$J,"PKG",115,22,"B","2.3V1",2.6)
;;=
;;^UTILITY(U,$J,"PKG",115,"DEV")
;;=KELLY ALLEN/BHAM ISC
;;^UTILITY(U,$J,"PKG",115,"DIE",0)
;;=^9.47^^0
;;^UTILITY(U,$J,"PKG",115,"DIPT",0)
;;=^9.46^^0
;;^UTILITY(U,$J,"PKG",115,"INIT")
;;=PSGWPOST^
;;^UTILITY(U,$J,"PKG",115,"PRE")
;;=PSGWPRE1^
;;^UTILITY(U,$J,"PKG",115,"ST",0)
;;=^9.444D
;;^UTILITY(U,$J,"SBF",50,50)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.1)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.11)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.12)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.13)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.14)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.15)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.26)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.27)
;;=
;;^UTILITY(U,$J,"SBF",58.1,58.28)
;;=
;;^UTILITY(U,$J,"SBF",58.16,58.16)
;;=
;;^UTILITY(U,$J,"SBF",58.16,58.18)
;;=
;;^UTILITY(U,$J,"SBF",58.17,58.17)
;;=
;;^UTILITY(U,$J,"SBF",58.19,58.19)
;;=
;;^UTILITY(U,$J,"SBF",58.19,58.24)
;;=
;;^UTILITY(U,$J,"SBF",58.19,58.25)
;;=
;;^UTILITY(U,$J,"SBF",58.2,58.2)
;;=
;;^UTILITY(U,$J,"SBF",58.2,58.21)
;;=
;;^UTILITY(U,$J,"SBF",58.2,58.22)
;;=
;;^UTILITY(U,$J,"SBF",58.2,58.23)
;;=
;;^UTILITY(U,$J,"SBF",58.2,58.29)
;;=
;;^UTILITY(U,$J,"SBF",58.2,58.291)
;;=
;;^UTILITY(U,$J,"SBF",58.3,58.3)
;;=
;;^UTILITY(U,$J,"SBF",58.3,58.31)
;;=
;;^UTILITY(U,$J,"SBF",58.3,58.32)
;;=
;;^UTILITY(U,$J,"SBF",58.5,58.5)
;;=
;;^UTILITY(U,$J,"SBF",58.5,58.501)
;;=
;;^UTILITY(U,$J,"SBF",58.5,58.51)
;;=
;;^UTILITY(U,$J,"SBF",58.5,58.52)
;;=
;;^UTILITY(U,$J,"SBF",58.5,58.53)
;;=
;;^UTILITY(U,$J,"SBF",59.4,59.4)
;;=
;;^UTILITY(U,$J,"SBF",59.7,59.7)
;;=
PSGWI046 ; ; 04-JAN-1994
+1 ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
+2 FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","AR/WS VERSION",9)
+2 ;;=
+3 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","BACKORDER CONVERSION",5)
+4 ;;=
+5 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","DATE INSTALLED",4)
+6 ;;=
+7 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","MULTI-DIVISION CONVERSION",6)
+8 ;;=
+9 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","RETURN REASON CONVERSION",8)
+10 ;;=
+11 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","SITE NAME",3)
+12 ;;=
+13 ;;^UTILITY(U,$J,"PKG",115,4,12,1,"B","WARD (for %) CONVERSION",7)
+14 ;;=
+15 ;;^UTILITY(U,$J,"PKG",115,4,12,222)
+16 ;;=y^y^^y^^^n^^y
+17 ;;^UTILITY(U,$J,"PKG",115,4,"B",50,11)
+18 ;;=
+19 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.1,1)
+20 ;;=
+21 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.16,3)
+22 ;;=
+23 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.17,4)
+24 ;;=
+25 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.19,5)
+26 ;;=
+27 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.2,2)
+28 ;;=
+29 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.3,6)
+30 ;;=
+31 ;;^UTILITY(U,$J,"PKG",115,4,"B",58.5,10)
+32 ;;=
+33 ;;^UTILITY(U,$J,"PKG",115,4,"B",59.4,8)
+34 ;;=
+35 ;;^UTILITY(U,$J,"PKG",115,4,"B",59.7,12)
+36 ;;=
+37 ;;^UTILITY(U,$J,"PKG",115,5)
+38 ;;=BIRMINGHAM
+39 ;;^UTILITY(U,$J,"PKG",115,7)
+40 ;;=^^I
+41 ;;^UTILITY(U,$J,"PKG",115,11)
+42 ;;=50^60
+43 ;;^UTILITY(U,$J,"PKG",115,22,0)
+44 ;;=^9.49I^2.6^13
+45 ;;^UTILITY(U,$J,"PKG",115,22,1.1,0)
+46 ;;=1.1^2880503^2880321
+47 ;;^UTILITY(U,$J,"PKG",115,22,1.12,0)
+48 ;;=1.12^2880505
+49 ;;^UTILITY(U,$J,"PKG",115,22,2,0)
+50 ;;=2^2900329^2900329
+51 ;;^UTILITY(U,$J,"PKG",115,22,2.02,0)
+52 ;;=2.02^2900209^2891003
+53 ;;^UTILITY(U,$J,"PKG",115,22,2.03,0)
+54 ;;=2.03^2900228^2900214
+55 ;;^UTILITY(U,$J,"PKG",115,22,2.04,0)
+56 ;;=2.04^2900320^2900321
+57 ;;^UTILITY(U,$J,"PKG",115,22,2.1,0)
+58 ;;=2.1^2901019^2901017
+59 ;;^UTILITY(U,$J,"PKG",115,22,2.12,0)
+60 ;;=2.12^2910221^2910226
+61 ;;^UTILITY(U,$J,"PKG",115,22,2.2,0)
+62 ;;=2.2^2910326^2910326
+63 ;;^UTILITY(U,$J,"PKG",115,22,2.3,0)
+64 ;;=2.3^2940104^2930405
+65 ;;^UTILITY(U,$J,"PKG",115,22,2.4,0)
+66 ;;=2.3T2^2930722
+67 ;;^UTILITY(U,$J,"PKG",115,22,2.5,0)
+68 ;;=2.3T3^2930817
+69 ;;^UTILITY(U,$J,"PKG",115,22,2.6,0)
+70 ;;=2.3V1^2930830
+71 ;;^UTILITY(U,$J,"PKG",115,22,"B",1.1,1.1)
+72 ;;=
+73 ;;^UTILITY(U,$J,"PKG",115,22,"B",1.12,1.12)
+74 ;;=
+75 ;;^UTILITY(U,$J,"PKG",115,22,"B",2,2)
+76 ;;=
+77 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.02,2.02)
+78 ;;=
+79 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.03,2.03)
+80 ;;=
+81 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.04,2.04)
+82 ;;=
+83 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.1,2.1)
+84 ;;=
+85 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.12,2.12)
+86 ;;=
+87 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.2,2.2)
+88 ;;=
+89 ;;^UTILITY(U,$J,"PKG",115,22,"B",2.3,2.3)
+90 ;;=
+91 ;;^UTILITY(U,$J,"PKG",115,22,"B","2.3T2",2.4)
+92 ;;=
+93 ;;^UTILITY(U,$J,"PKG",115,22,"B","2.3T3",2.5)
+94 ;;=
+95 ;;^UTILITY(U,$J,"PKG",115,22,"B","2.3V1",2.6)
+96 ;;=
+97 ;;^UTILITY(U,$J,"PKG",115,"DEV")
+98 ;;=KELLY ALLEN/BHAM ISC
+99 ;;^UTILITY(U,$J,"PKG",115,"DIE",0)
+100 ;;=^9.47^^0
+101 ;;^UTILITY(U,$J,"PKG",115,"DIPT",0)
+102 ;;=^9.46^^0
+103 ;;^UTILITY(U,$J,"PKG",115,"INIT")
+104 ;;=PSGWPOST^
+105 ;;^UTILITY(U,$J,"PKG",115,"PRE")
+106 ;;=PSGWPRE1^
+107 ;;^UTILITY(U,$J,"PKG",115,"ST",0)
+108 ;;=^9.444D
+109 ;;^UTILITY(U,$J,"SBF",50,50)
+110 ;;=
+111 ;;^UTILITY(U,$J,"SBF",58.1,58.1)
+112 ;;=
+113 ;;^UTILITY(U,$J,"SBF",58.1,58.11)
+114 ;;=
+115 ;;^UTILITY(U,$J,"SBF",58.1,58.12)
+116 ;;=
+117 ;;^UTILITY(U,$J,"SBF",58.1,58.13)
+118 ;;=
+119 ;;^UTILITY(U,$J,"SBF",58.1,58.14)
+120 ;;=
+121 ;;^UTILITY(U,$J,"SBF",58.1,58.15)
+122 ;;=
+123 ;;^UTILITY(U,$J,"SBF",58.1,58.26)
+124 ;;=
+125 ;;^UTILITY(U,$J,"SBF",58.1,58.27)
+126 ;;=
+127 ;;^UTILITY(U,$J,"SBF",58.1,58.28)
+128 ;;=
+129 ;;^UTILITY(U,$J,"SBF",58.16,58.16)
+130 ;;=
+131 ;;^UTILITY(U,$J,"SBF",58.16,58.18)
+132 ;;=
+133 ;;^UTILITY(U,$J,"SBF",58.17,58.17)
+134 ;;=
+135 ;;^UTILITY(U,$J,"SBF",58.19,58.19)
+136 ;;=
+137 ;;^UTILITY(U,$J,"SBF",58.19,58.24)
+138 ;;=
+139 ;;^UTILITY(U,$J,"SBF",58.19,58.25)
+140 ;;=
+141 ;;^UTILITY(U,$J,"SBF",58.2,58.2)
+142 ;;=
+143 ;;^UTILITY(U,$J,"SBF",58.2,58.21)
+144 ;;=
+145 ;;^UTILITY(U,$J,"SBF",58.2,58.22)
+146 ;;=
+147 ;;^UTILITY(U,$J,"SBF",58.2,58.23)
+148 ;;=
+149 ;;^UTILITY(U,$J,"SBF",58.2,58.29)
+150 ;;=
+151 ;;^UTILITY(U,$J,"SBF",58.2,58.291)
+152 ;;=
+153 ;;^UTILITY(U,$J,"SBF",58.3,58.3)
+154 ;;=
+155 ;;^UTILITY(U,$J,"SBF",58.3,58.31)
+156 ;;=
+157 ;;^UTILITY(U,$J,"SBF",58.3,58.32)
+158 ;;=
+159 ;;^UTILITY(U,$J,"SBF",58.5,58.5)
+160 ;;=
+161 ;;^UTILITY(U,$J,"SBF",58.5,58.501)
+162 ;;=
+163 ;;^UTILITY(U,$J,"SBF",58.5,58.51)
+164 ;;=
+165 ;;^UTILITY(U,$J,"SBF",58.5,58.52)
+166 ;;=
+167 ;;^UTILITY(U,$J,"SBF",58.5,58.53)
+168 ;;=
+169 ;;^UTILITY(U,$J,"SBF",59.4,59.4)
+170 ;;=
+171 ;;^UTILITY(U,$J,"SBF",59.7,59.7)
+172 ;;=