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.
Adding a field to a specific form
Hello. I am new to Netsuite and Suitescript, so I apologize if this is a basic question.
I am needing to add a new field at runtime to a Case form. From the documentation, in order to do this, I have to use the beforeLoad function. And to use the beforeLoad function, I have to deploy the script and set the "Applies To" to Case in this instance.
I have done that, and the script seems to work. The only problem I am having is that I only want this field added for one particular form. We have multiple Case forms, and I don't want this field on all of the Case forms. Only one of the Case forms. So what I thought I could do is just check the form ID, and only add the new field if the form ID matched the form ID I am looking for.