No OnSalePanelShown Method in Windows Scripts to SO 8

Hi,

we have upgraded from SO 7.5 SR2 to 8.0 SR6 Windows. It seems the Cleint Scripts to all On***PanelShown Methods are not available in SO 8, for example in OnSalePanelShown I have defined the initial Values of Sales Fields by Open the Sales. It works in SO 7 but not in SO 8.

In Document of Expander SDK to SO 8.0 I don't find these methods, how could we have alternative ways to get initial value by open sales?

 

Thanks!

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

and is there Expander SDK Kits to SO 8.4 R06 available? till now I found Expander Kits to SO 8.0, or it's the same to SO 8.4?

Thanks!

Af: Jianchun You 5. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

see: https://community.superoffice.com/en/developer/forum/rooms/topic/superoffice-product-api-group/crm-windows-application/80-changes-to-the-script-events-system/

/conrad

Af: Conrad Weyns 5. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

Hi Conrad,

 

thanks! The Scripts works now in SO 8.0 with

Sub OnViewShown(hWnd, fullPath)
    If StrComp( fullpath, "SalePanel", vbTextCompare) = 0 Then
        ...
    end if

end Sub

 

One more Question, from https://community.superoffice.com/en/developer/resource/,

Is the Expander Toolkit for 8.0 last Version also for 8.4? Since Some Resource could be hidden to me, it was confirmed by our Support Team in Germany, If I logged in devent, I see last Expander Toolkits only till 7.1, how could I get all new Ressourcen available for me. It's important for my Upgarde to SO 8.4

 

Thanks a lot!

Af: Jianchun You 6. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

No idea, sorry. Not my domain. I believe that Tony is on sick leave.
Any one else?
/c

Af: Conrad Weyns 6. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

Hi conrad,

that'ok, problem fixed.

Hi Tony,

It would be better to check my devnet Account you@melchers.de about this point after you are back.

Thanks a lot!

 

Af: Jianchun You 6. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

Hi Conrad,

the last method in Scripts:

Sub OnViewShown(hWnd, fullPath)
    If StrComp( fullpath, "SalePanel", vbTextCompare) = 0 Then
        ...
    end if

end Sub

works in SO 8.0 SR06, but nothing triggered in SO 8.4 R06, what has changed, is there new Expander Toolkits after 8.0?

Thanks!

Af: Jianchun You 8. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

Turn on preference for Functions/Enable script developer mode.
Restart SoCrm.
You should now see a Script Utils menu.
Select Show viewer.

Select Script Events tab:

Generate events and see all the traffic.
Let me know what you are trying to achieve.
I suspect you should be using OnEditSaleClicked & co.:

43: 11:34:37:729 OnEditSaleClicked (1)
44: 11:34:43:471 OnUsageStatAdded (1) [VT_BSTR] win.CancelClicked.MainWindow.SalePanel.SaleCardMainView
45: 11:34:43:705 OnEditSaleComplete (1)

/conrad

 

Af: Conrad Weyns 8. mar 2019

RE: No OnSalePanelShown Method in Windows Scripts to SO 8

Hi Conrad,

here is Scripts Event if I change to Sales Panel: