Monday, January 7, 2019

INSUFFICIENT_PERMISSION for nlapiLookupField for Employee Center Role


To resolve INSUFFICIENT_PERMISSION for nlapiLookupField for Employee Center Role, see steps below:


1. Create a Suitelet that would handle the lookup: 


2. On the Client Side script, change the following codes:

from:

to:


3. Make sure the Suitelet is applied to Execute as Role : Administrator and for all Roles. With the above, user would be able to get the name of the location field or other fields on the location record.

 

No comments:

Post a Comment