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.
Returning Null Value
Hello, I am working on a simple script and I am getting tripped up at the start. I'm just trying to confirm that I am getting the correct value from a custom field on my form but my alert keeps returning null. I can return any other field just fine. The field I am trying to present is a custom transaction body field of list type and is a list of transactions. I have selected a value and saved the form but it doesn't seem to recognize it. Does anyone know what I am missing:
Here is the code:
var oppID = nlapiGetRecordId();
0