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
Cannot set Customer Type on page load
Hi all,
I have a user event script that redirects back to a record in edit mode for a prospect record after clicking on Save. For some strange reason it keeps defaulting the company type to 'Company' on page load. Here's the script:
nlapiSetRedirectURL('RECORD', 'prospect', theid, true);
My prospects are all individuals and each time this happens their first name and last name becomes blanked out. Is this a bug?
I try ot set the type back to individual by using the line:
record.setFieldValue('isperson', 'T');
but no joy.
I try to set the type back to Individual through the use of client side scripting but I'm getting a Javascript error. The code for this is:
0