Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
SQL formula needed for a MRR saved search
I am attempting to create an MRR saved search that will break out the monthly recurring revenue for an opportunity based on term. I have it mostly built but I am having difficulty getting anything with a term of less than 12 months to start, end, and divide into the proper months at the proper monthly rate. Here is an example:
Customer purchases an item for a total of $6000 that will have revenue recognized over 6 months starting in June and ending November 30th. I want monthly columns for all of 2014 (Jan, Feb, Mar...etc...) that will show $1000 in June, $1000 in July $1000 in August and so on through November. If I have a customer purchase an item with a 3 month term for $4000 I want it to break the $4000 over three months and to show that revenue in the appropriate month.