Usman Bako
08/16/2024, 1:55 AMCeligo AI
08/16/2024, 1:55 AMAI generated answer (using internal Slack threads):To build a button click in a workflow in NetSuite, you can follow these steps: 1. Create a button in a User Event Script and attach a Client Script to the button. This can be done in the Before Record Load event in the workflow. 2. If you want to trigger a Suitelet script on the click of this button, you would have to do a workflow action script and redirect to the Suitelet. 3. If you want the button to trigger a workflow, you would need a script that uses the
workflow.initiate()
object. You can find more information about this in the NetSuite documentation: https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_4344303916.html
Please note that the button will have to be at the top of the record like the rest. It's not possible to have a workflow "add button" display on a sub tab instead of up along the top bar with the other buttons. However, depending on the action, you can use an inline HTML field to add a button that goes to a URL or other record.
******
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
08/16/2024, 1:55 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847348809
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836421311
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834837615
Celigo AI
08/16/2024, 1:55 AM