```Search error occurred: Field 'custbody_sbw_sale...
# ask-stanley-ai
r
Copy code
Search error occurred: Field 'custbody_sbw_salesrep_name' for record 'transaction' was not found. Reason: NOT_EXPOSED - Not available for channel SEARCH
c
AI generated answer (using internal Slack threads):
The error message you're encountering, "Search error occurred: Field 'custbody_sbw_salesrep_name' for record 'transaction' was not found. Reason: NOT_EXPOSED - Not available for channel SEARCH", indicates that the field 'custbody_sbw_salesrep_name' is not available for search in the context of a 'transaction' record. This could be due to a few reasons: 1. The field 'custbody_sbw_salesrep_name' might not be a valid search column for the 'transaction' record type. Not all fields on a record are available as search columns. You can check the valid search columns for a record type in the NetSuite Records Browser. 2. The field 'custbody_sbw_salesrep_name' might not exist on the 'transaction' record type. It's possible that the field is associated with a different record type, or it might be a custom field that hasn't been added to the 'transaction' record type. 3. The field 'custbody_sbw_salesrep_name' might not be exposed to the channel you're using for your search. Some fields might be restricted and not available for certain channels. To resolve this issue, you could try the following: - Verify that 'custbody_sbw_salesrep_name' is a valid field on the 'transaction' record type. You can do this by checking the record type in the NetSuite Records Browser or by examining the record type in your NetSuite account. - If 'custbody_sbw_salesrep_name' is a custom field, ensure that it's been added to the 'transaction' record type and that it's been set up to be searchable. - If you're using SuiteScript, ensure that you're using the correct syntax and API version. Different versions of SuiteScript might have different syntax or might support different fields. ****** 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.826733172
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82543993
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825220942
Please provide your feedback on this answer.