Hi, i (maybe) have a stupid question. when doing a...
# suitescript
m
Hi, i (maybe) have a stupid question. when doing a record.load(item) i need to provide the record.type. but for items this can be several types such as inventory items or service items. how would i get the correct context for this?
l
You need to search as "item" then you can get the right recordtype
m
search, as in run a search with the search module?
l
That's right... because on search there is a generic record type "item" that search in all item types so you can get the right one
m
Thanks. seems like my solution!