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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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