Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Get record type of Sales Order entity
Greetings,
I have stumbled upon a problem to load relation of the Sales Order.
I am using SuiteScript 2.0, getting value for field "entity" of Sales Order, it returns some ID, but it appears that entity can be either Customer or Job.
Problem: When I try to load Customer with ID but it is actually a Job I would get an error
Question: How can I get which specific type is set for an entity in particular Sales Order.
Thank you for response
0