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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Custom field to add date range
Hello,
I'm trying to get some custom code that will add a date range to a custom field on a form.
Because the service we are invoicing for is renewed annually, and we are memorizing the invoices, the renewal range must be dynamic. In other words, we will send an invoice on Dec 1, 2007 for service between Jan 1, 2008 and Dec 31, 2008. But next year, that range needs to be updated automatically to 2009.
So, in short what I need is for the invoice form to take the transaction date, add 1 month, and then add 12 months and end up with a text box that reads something like this:
0