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.
nlapiGetFieldText not working on PageInit function??
Hi-
We have a script on on our customer/prospect records that keeps users from moving records to a less advanced stage:
Customer>PROSPECT
CUSTOMER>LEAD
PROSPECT>LEAD
(it really messes up our reporting if a customer record switches back to LEAD or PROSPECT)
Anyway, in our Australia office some users are getting the following error:
oninit (PageInit)
Type Error Object Expected
From the USA I have tried to reproduce the error in every browser and role, but everything seems to work perfectly.
The function is only a few lines and the only variable is 'oentstat' which is set to nlapiGetFieldText('entitystatus')...
0