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.
Set Field Value based on other fields using formula
CONTEXT: For each of the customer at our company, we want to populate a "revenue target" field which depends on other fields the end-user is inputting (e.g. if the customer is a national chain, which services we are providing to them).
For the more simple calculations, I have been using a workflow and set field value action (before record submit) and using CASE WHEN statements as a formula. For example,
Revenue Target=CASE WHEN {custrecord52} = 'National Chain' THEN 7500
WHEN {custrecord52} = 'Regional Chain' THEN 5750
WHEN {custrecord52} = 'Independent' THEN 4000
ELSE 0
END
QUESTIONS: I have three main questions.
- How can I do something similar for client triggers like before user submit (which according to this documentation requires a JavaScript formula: