why are we getting unexpected error when viewing c...
# ask-stanley-ai
n
why are we getting unexpected error when viewing customer record but not in edit mode?
c
AI generated answer (using internal Slack threads):
Based on the conversations, the unexpected error when viewing a customer record but not in edit mode could be due to several reasons: 1. Scripts or Workflows: There might be a script or workflow running on the customer record that is causing the error. You can try disabling all scripts and workflows on the customer record and then re-enabling them one by one to identify the one causing the issue. 2. User Role or Permissions: The error might be specific to a user role or permissions. If the error is only happening to one user, it might be due to their specific role or permissions. 3. Defaulted Saved Search: If the default list of your customers contains a formula field that NetSuite doesn't know how to process, it won't let you see the results list. Choosing to view a list of records with a defaulted saved search that has errors will fail while loading. 4. Last View Settings: The last view the user chose might have errors and the settings are stuck for that user. You can try changing the view to a working one and then have the affected user open the new view. 5. Suitelet POST Method: If you are using a Suitelet, the POST method might be causing the error. You can try debugging by commenting out most of your post function and then adding back in small chunks at a time until the error comes back. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819944501
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81902194
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814062476
Please provide your feedback on this answer.