How can I get the record type of an item or really...
# suitescript
d
How can I get the record type of an item or really any record using suitescript 2? The lookupfield search requires a record type parameter so that won't work.
b
use item as the type
d
@battk Gotcha. Thank you.
e
Most record types are a small portion of a larger table, and while you can't load a record based on its table, you can typically search on the table itself (e.g.
Inventory Items
are part of the
Item
table,
Customers
are part of the
Entity
table, etc)