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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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