HA
06/30/2025, 3:28 PMCeligo AI
06/30/2025, 3:28 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can change the order of subtabs in NetSuite, including on an assembly build, by using a User Event script's beforeLoad function. You can use the
form.getTab
method to get the tab you want to move, and then use the form.insertTab
method to place it before another tab. Here is a code sample that was provided:
javascript
function beforeLoad(context) {
let form = context.form;
let itemTab = form.getTab({
id: 'items'
});
form.insertTab({
tab: itemTab,
nexttab: 'teamselling'
});
}
In this example, the 'items' tab is moved to appear before the 'teamselling' tab. You would need to replace 'items' and 'teamselling' with the IDs of the tabs you want to rearrange on your assembly build form.
******
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
06/30/2025, 3:28 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803712
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800837219
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799766898
Celigo AI
06/30/2025, 3:28 PM