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.
Retrieving user's company name
I'm a complete newbie when it comes to NetSuite, but I've been working with JavaScript for over 10 years now, but NetSuite has me stumped.
I'm trying to place a button on an existing form that when pressed displays an alert window containing the name of the logged in user's company name. Kind of my version of a "hello world" script test. But I can't seem to find any combination of syntax to get me there.
I have the button in place and my function is correctly invoked when the button is pressed, all I'm missing is the right syntax to retrieve the user's company name.
0