Skip to Content
0
Aug 15, 2017 at 02:38 AM

screen personas VA01 hide sales tab

309 Views

Hi,

In VA01, I have merged required fields onto item overview tab and have hidden all other tabs including the sales tab. I understand that because the sales tab is the default tab, it is being displayed even though I have hidden it.

After entering mandatory fields (ship to etc), when I click enter, the sales tab disappears.

My requirement is to view only item overview tab

To hide sales tab, I have created a script as below and assigned it to screen event 'onload'.

However this has not worked. Could you please advise if my script is incorrect, or if I need to do something else.

if (session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW").selectedTab.id === "wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\\01") {
session.findById("wnd[0]/usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\\02").select();
}

Thanks in advance for your help,

Robyn