Hi,
Try this:
Select
(Case when t0.itemtype = 'F' then 'FA Item'
when t0.itemType = 'I' and T0.[InvntItem]='Y' then 'Stock Item'
when t0.itemtype = 'I' and T0.[InvntItem]= 'N' then 'Non Stock Item' end)
from OITM t0 where t0.itemcode = $[$38.1.0]
Thanks & Regards,
Nagarajan