ITEM is not a valid option in the record.Type enum...
# suitescript
z
ITEM is not a valid option in the record.Type enumeration. You need to specify the item type (eg: INVENTORY_ITEM)