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!
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
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