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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Scripting to check if a date is in a closed period?
Hi,
We use sales orders as a rolling order for a monthly service. We have a single sales order that is raised when the service starts (rather than having a memorised monthly SO).
When the client cancels the service our process is that the single sales order is edited and an end date is put into the SO.
I want to be able to validate this date to make sure the end date can't be in a closed period.
I presume I need to script this but I can't find any reference to how I can check whether a date is in a closed period.
0