would it be possible to reverse-search an employee's Employee Record using their defined name *that doesn't involve using Saved Search? Context is I have a custom record anyone can create with the Owner field on it, and I'd like to retrieve the owner's Employee record, despite the name not really coming with any link nor ID.
editing for clarity.
b
battk
02/15/2022, 5:16 AM
honestly you should make the owner field a select field so that you can get the internal id from it
u
7px
02/15/2022, 5:28 AM
I was using the default Owner field Netsuite provides when you create a custom record type, but that's a good idea. Thanks.
b
battk
02/15/2022, 5:59 AM
that field is already a select field
battk
02/15/2022, 5:59 AM
how are you getting its value
u
7px
02/15/2022, 6:00 AM
record.getValue? Should I be opting for a different approach?
b
battk
02/15/2022, 6:02 AM
that should give you the internal id
🙏 1
u
7px
02/15/2022, 6:06 AM
I went and reviewed my code, and it appears I was using getText on that part. Oversight on my end, but thanks again for clarifying that.