darrenhillconsulting
11/27/2024, 3:28 PMCeligo AI
11/27/2024, 3:29 PMAI generated answer (using internal Slack threads):To add a subtab to the General Preferences page and manage custom parameters, you can follow these steps: 1. Navigate to the General Preferences page. You can do this by using the following SuiteScript code:
const generalPreferencesUrl = url.resolveTaskLink('ADMI_GENERAL');
2. To add a subtab, you will need to create a custom sublist. This can be done under Customization > Forms > Sublists. Please note that custom sublists can only be created from saved searches.
3. Once you have created the sublist, you can assign it to the subtab. This will add the subtab to the General Preferences page.
4. To manage custom parameters, you can access them globally via runtime.getCurrentScript().getParameter({name : 'custscript_name'})
regardless of which script you are calling from. This allows you to get the values of the parameters.
5. If there are Company Preference level parameters, they should be visible under a Custom Preference tab on the General Preferences page.
Please note that selecting the sublist in the UI is not possible without a client-side script, which you wouldn't have on the General Preferences page. If NetSuite had done tabs instead on the page, you could use selectedtab
in the URL parameters.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/27/2024, 3:29 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828196764
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818802357
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816785872
Celigo AI
11/27/2024, 3:29 PM