I hope an easy one. I have a list of items where I...
# suitescript
s
I hope an easy one. I have a list of items where I need to update a field. The items can be Inventory Item, Non Inventory Item, Assembly... As I said, I don't have the type. Is there's a way to find the type ?
m
Copy code
var type = search.lookupFields({
    type: 'item',
    id: 3063,
    columns: 'type'
})['type'];