I got really confused just now. If I have a custom...
# suitescript
m
I got really confused just now. If I have a custom record with say, 10 entries. Does each entry have it's own internalid ? If so, I'm trying to create a search on my script trying to get the internalid field but I get a SSS_INVALID_SRCH_COL error. I'm confused now.
s
yes each record has its own internalid, sounds like you are probably doing so small syntax error
m
This custom record has a field labeled as ID but its id is 'name'
If I use the Netsuite Field Explorer chrome extension I see there's a field with the name of 'id' not 'internalid'. I've tried using both on my search to no avail.
Oh, forgot to say the field label as ID but with id 'name', displays an actual string set by a script on record creation, not the actual numeric internalid assigned by NS
b
the internal id and the id fields are different things
for searches, Result.id is usually a pretty easy way to get the internal id
m
As a follow-up, it turned out I was trying to get the "internalid " column not the "internalid"