ATL23
12/17/2024, 2:41 PMCeligo AI
12/17/2024, 2:41 PMAI generated answer (using internal Slack threads):Based on the conversations provided, it seems like you are trying to filter data based on the starting digits or specific values of a numeric field. In NetSuite, you can use the
SUBSTR
function in a formula to achieve this.
Here is a sample formula that you can modify to suit your needs:
sql
CASE
WHEN SUBSTR({internalid}, 1, 3) IN ('500', '501')
OR SUBSTR({internalid}, 1, 4) IN ('5020', '5021', '5022')
OR {internalid} IN ('50230', '50250', '51600')
THEN 'Match'
ELSE 'No Match'
END
This formula checks if the internalid
starts with '500', '501', '5020', '5021', '5022' or is exactly '50230', '50250', '51600'. If it matches any of these conditions, it returns 'Match', otherwise it returns 'No Match'.
Please replace {internalid}
with your actual field name.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
12/17/2024, 2:42 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.782206297
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.775900126
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.774020553
Celigo AI
12/17/2024, 2:42 PM