SELECT DISTINCT a.business_unit , a.prdn_area_code , a.inv_item_id , d.language_cd , d.descr FROM PS_SF_PRDN_AREA_IT a , ps_sf_prdnid_headr b , ps_master_itm_lang d , ps_set_cntrl_rec c WHERE a.ma_prdn_id_flg = 'Y' AND d.setid = c.setid AND c.recname = 'MASTER_ITEM_TBL' AND c.setcntrlvalue = a.business_unit AND d.inv_item_id = a.inv_item_id AND a.business_unit = b.business_unit AND a.prdn_area_code = b.prdn_area_code AND a.inv_item_id = b.inv_item_id AND b.PROD_STATUS < '90' AND b.prod_status > '20'
|