Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Mass update with Date Field Formula
I'm trying to update a custom Date field in a Transaction record via a Mass Update formula.
This update looks at the creation time of the transaction, and creates a billing date based upon the time the order was placed.
CASE WHEN (to_char({datecreated},'HH24') < ’12') THEN (to_char({datecreated}+5, 'DD-Mon-YYYY’)) WHEN (to_char({datecreated},'HH24') > '11') AND (to_char({datecreated},'HH24') < '18') THEN (to_char({datecreated}+7, 'DD-Mon-YYYY’)) WHEN (to_char({datecreated},'HH24') > ’18') THEN (to_char({datecreated}+7, 'DD-Mon-YYYY’)) END
In this example, if the order was placed before noon, the billing date is 5 days away, if it's between noon and 6pm or after 6pm the billing date is 7 days away.