LAUNCH
Footballguy
How can I get matlxfer.xtype to equal 'Z97' if matlxfer.xtype = 'INVSUB' and matlxfer.xfer_vndlot > '199' and 551 if it's less.
Code:
SELECT matlxfer.fm_cost_ctr , matlxfer.to_cost_ctr , CASE matlxfer.xfer_vndlot WHEN '200' THEN '1200' WHEN '201' THEN '1201' WHEN '202' THEN '1202' WHEN '203' THEN '1203' WHEN '204' THEN '1204' WHEN '205' THEN '1205' WHEN '206' THEN '1206' WHEN '207' THEN '1207' ELSE matlxfer.xfer_vndlot END AS xfer_vndlot , CASE matlxfer.xtype WHEN 'ADDINV' THEN '552' WHEN 'INVSUB' THEN '551'
Code:
xfer_vndlot ADJUSTMENT108 551109 551110 5511200 5511201 5511202 5511203 5511204 5511205 5511206 5511207 551