How can i get permission or access?
I'm trying to build search in NETSUITE SSP Application and I get the following error:
ERROR TITLE:"YOU_CANNOT_PERFORM_THIS_SEARCH_BECAUSE_YOU_DO_NOT_HAVE_PERMISSION_TO_ACCESS_EMPLOYEE_DATA"
- I have tried:
nlapiloadrecord() - Then I tried saved search method to get employee record
Search function
function getContact(sEmail) {
var aFilter = new Array();
aFilter.push(new nlobjSearchFilter('email', null, 'is', sEmail));
var aResult = nlapiSearchRecord('employee', null, aFilter, null);
}
What role are you using while executing the above script?
If you only want to view(perform search) on employee record, you can contact your admin and ask them to give access on Employee record for the said role of type View.
You can check this out for further reading on Roles and how to create/edit/update one in NetSuite.