Then you have to use the itemTypeLookup instead of...
# suitescript
i
Then you have to use the itemTypeLookup instead of 'item'