Discussions
Hiding a Tab thru SuiteScript
Is it possible to hide a tab that does not show in the Subtabs subtab when customizing an Entry form? I did try the ff.
- Retrieve the internal ID of the tab (using form.getAllTabs since it is not included in Help and Schema Browser)
- Tried both form.getTab() and nlapiGetField(). getTab has no setDisplayType while nlapiGetField returns a null
The requirement is to hide the Minimum Order Amount tab in Promotion Code Entry form. Note that when you customize the standard form, there’s no Minimum Order Amount under Subtabs subtab so manual change is not possible.
These are the codes tested but all failed.