Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Formula for Days Remaining
I'm trying to get a formula to calculate the days remaining for some subscription items that we sell. I have one to calculate the end date (3, 6 or 9 months), but knowing the end date, how do I get the number of days remaining?
Here's my formula for the end date -
CASE WHEN {item}='Service : 70005-20' THEN ADD_MONTHS({startdate},3) WHEN {item}='Service : 70005-21' THEN ADD_MONTHS({startdate},6) ELSE ADD_MONTHS({startdate},9) END
Can anyone show me how to then calculate the days between today and the end date calculated above? It would seem a simple calculation to subtract {today}, but nothing that I have tried works.
0