Nour
06/12/2025, 12:52 PMCeligo AI
06/12/2025, 12:52 PMAI generated answer (using internal Slack threads):To write a formula in the saved search results tab to subtract two columns from each other and display the difference, you can use a formula field. The formula field allows you to perform calculations on the fields in your saved search. Here's how you can do it: 1. In your saved search, go to the Results tab. 2. Click on 'New Field' to create a new column. 3. In the 'Summary Type' dropdown, select 'Formula (Numeric)'. 4. In the 'Formula' field, enter your formula. If you want to subtract field 'y' from field 'x', you would enter
{x}-{y}
. Replace 'x' and 'y' with the actual field IDs you want to use.
Please note that this will work for standard fields. If you want to subtract summary fields, NetSuite does not support this directly.
If you are dealing with date fields and you want to get the difference in days, you can use a similar approach but you might need to use the TO_DATE
function to convert the fields to date format first, like so: ABS(TO_DATE({enddate})-TO_DATE({startdate}))
.
******
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
06/12/2025, 12:53 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.858733594
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836830795
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836178124
Celigo AI
06/12/2025, 12:53 PM