ANS-1873 · SUITESCRIPT DEVELOPMENT

Can a NetSuite Menu Link Directly Trigger a Scheduled Script?

To trigger a NetSuite scheduled script from a menu link, an intermediary Suitelet must be utilized.

Short answer

No, a NetSuite menu link cannot directly trigger a scheduled script. The established method involves calling a Suitelet from the menu link, which then initiates the scheduled script. This approach serves as the necessary intermediary to bridge the functionality between menu navigation and scheduled script execution.

Scenario

Users often seek to integrate custom functionality directly into NetSuite's navigation by linking menu items to specific actions. A common requirement is to trigger a scheduled script, which performs background tasks, directly from a custom menu link. This scenario explores whether such a direct integration is feasible within the NetSuite platform.

Solution

Directly triggering a scheduled script from a NetSuite menu link is not possible. The only known solution is to configure the menu link to call a Suitelet. This Suitelet is then responsible for initiating the scheduled script.

Expert NetSuite Support

Need help with this NetSuite issue?

SuiteScript Development consulting and configuration support

Talk to a consultant