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.
Have questions or experiences to share? Post your Release 2026.1 questions and join discussions in the Release 2026.1 category.
Intelligent Payment Automation, powered by BILL (formerly Bill.com), lets you automate payments, manage vendor details, and bank account information within NetSuite.
The SuiteApp is available to organizations based in the U.S. with a valid U.S. address, or to global customers (except Canada, China, and Japan) with U.S. business subsidiaries. It only supports payments to vendors operating in the United States.
For more information, visit this thread.
SQL Formula
Can anyone tell me where I have gone wrong with this expression?
(((DECODE(TO_CHAR({custrecord_mth_date},'MMYYYY'), TO_CHAR(ADD_MONTHS({today},-2),'MMYYYY'),({custrecord_mth_tot_ramp_hrs}),0))
-(DECODE(TO_CHAR({custrecord_mth_date},'MMYYYY'), TO_CHAR(ADD_MONTHS({today},-14),'MMYYYY'),({custrecord_mth_tot_ramp_hrs}),0)))/NULLIF(DECODE(TO_CHAR({custrecord_mth_date},'MMYYYY'), TO_CHAR(ADD_MONTHS({today},-14),'MMYYYY'),({custrecord_mth_tot_ramp_hrs}),0),0))
When I run it as a Formula (numeric), I'm getting -1 on all records.
Following is actual data and what I am trying to accomplish:
(460.27 - 330.46) / 330.46 = 39.3%
When I run the two pieces of the formula separate (460.27 - 330.46) and retrieving the 330.46, the results are fine. When I add the division between the 2 sets of data is when I'm getting inaccurate results.