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.
How to set NVL date field on workflow action formula
Hi all
I have 3 date fields and want to find the one with the earliest date.
Sometimes some of the fields are empty so I need to use the NVL tag.
When I use the below formula it always returns 01/01/2099 even when the dates are for example 23/11/2022.
Does anyone know why this is?
Code below, thank you.
Least(NVL(to_char({custitem_rlrs},'dd/mm/yyyy'),'01/01/2099'),NVL(to_char({custitem_blrs},'dd/mm/yyyy'),'01/01/2099'),NVL(to_char({custitem_tlrs},'dd/mm/yyyy'),'01/01/2099'))
kind regards
Oliver
0