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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
SuiteScript: How to access Related Records from a Transaction
I'm working on a set of SuiteScripts that are intended to synchronize a pair of custom fields between two different record types. I have most of the logic complete, but I've been stuck at a brick wall for almost two days.
Specifically, I'm trying to access the Related Records on an Opportunity (from the beforeLoad() entry point of a User Event on the Opportunity), which I understand is just a Transaction. The Related Records I'm trying to reach are Cases. Of course, in my testing, I have an Opportunity which was created from a Case, and I can see the Case in the Related Records sublist on the Opportunity (and vice versa).
0