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.
nlapiLookupFiled NOT working for certain employee fields
I am wanting to use employee initials and job title in a client side script to update a custom record
phone = nlapiLookupField('employee',emp,'phone');
email = nlapiLookupField('employee',emp,'email');
alert('Phone '+phone+' Email '+email);
init = nlapiLookupField('employee',emp,'initials');
alert('Init'+init);
job = nlapiLookupField('employee',emp,'title');
The code above returns email and phone BUT not title (which is JOB Title Filed) nor initials (Initials field) - I have used the context sensitive help to get the field names 'title' and 'job'
Any thoughts?
0