How to create a formula in a saved search that che...
# ask-stanley-ai
m
How to create a formula in a saved search that checks whether a field is Yes or No>
c
AI generated answer (using internal Slack threads):
To create a formula in a saved search that checks whether a field is Yes or No, you can use a CASE statement in your formula. Here's an example:
Copy code
CASE WHEN {your_field} = 'T' THEN 'Yes' ELSE 'No' END
In this formula,
{your_field}
should be replaced with the actual field you want to check. The 'T' represents a true value (Yes) and 'F' would represent a false value (No). Please note that this formula assumes that the field you are checking is a checkbox field, which in NetSuite is represented as 'T' for checked (Yes) and 'F' for unchecked (No). If your field is a text field that literally contains 'Yes' or 'No', you would modify the formula like this:
Copy code
CASE WHEN {your_field} = 'Yes' THEN 'Yes' ELSE 'No' END
****** 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.874906182
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860605359
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.858624399
Please provide your feedback on this answer.