Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
"Save x %" on Item Template?
I've set up a custom item field DISC_PCT of PERCENT type with the default value calculated using the following formula (store value unchecked):
ROUND(({pricelevel1}-{pricelevel5})/{pricelevel1},3)
This custom field is called by item template through javascript to display the % discount on any item that is onsale. Silly issue but I can't get the percentage to simply display in integer format. If I use:
ROUND(({pricelevel1}-{pricelevel5})/{pricelevel1},3) - it displays "46.9%"
ROUND(({pricelevel1}-{pricelevel5})/{pricelevel1},2) - displays "47.0%"
ROUND(({pricelevel1}-{pricelevel5})/{pricelevel1},1) - displays "0.0%"
I simply want to drop all decimal places and round or truncate to the whole integer for display purposes. I tried TRUNC but it didn't work either.