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
Luiz Morais
04/17/2020, 12:37 PM
You need to search as "item" then you can get the right recordtype
m
Menno Janssen
04/17/2020, 12:38 PM
search, as in run a search with the search module?
l
Luiz Morais
04/17/2020, 12:39 PM
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