Permission Issue for Lookup in SFM
An error is displayed when the user accesses a lookup field on the SFM. The error message is as follows:
An unexpected internal error occurred. Please report this to your ServiceMax administrator.::Bad Request=>[{"message":"\nSELECT Id, LastModifiedDate FROM SVMXC__ServiceMax_Processes__c WHERE\n ^\nERROR at Row:1:Column:34\nsObject type 'SVMXC__ServiceMax_Processes__c' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.","errorCode":"INVALID_TYPE"}].
Resolution: The error is related to a permission issue for lookup fields. The View All permissions are needed on ServiceMax Standard objects: ServiceMax List, ServiceMax Processes, and ServiceMax Tags for the affected profile.
To grant View All permission:
1. Log in as a system administrator.
2. Go to Salesforce Setup.
3. Search for Profiles in the Quick Find box.
4. Click the specific user profile.
5. Scroll down and see the Custom Object Permissions section.
6. Provide the View All permissions on the ServiceMax Standard objects: ServiceMax List, ServiceMax Processes, and ServiceMax Tags.