depp_baan
29th January 2002, 18:26
To everybody who can give a comment:
We want to create and update items. We think that we have to synchronize dialogs between multi/single occurrence sessions.
Is there a stpapi function in BaanERP that can make this ? We have heard about the function stpapi.synchronize.dialog. But our BaanERP 5.0c, service pack 5, does not contain this function in the dll file ottstpapihand.
Thanks for your help.
depp_baan
Haggis
29th January 2002, 19:00
You can specify synchronized windows when creating the sessions. Just set the child session not as a main session and on the parent session set it as a Synchronized session and then tell it which session (the child session you created) to synchronise with.
Hope this helps?
Youp2001
30th January 2002, 10:09
The function stpapi.synchronize.dialog exists, however it is only available in quite recent versions of ttstpapihand.
According to Baan this function should be used, and our experience is that not using this will result in big trouble.
If you get the latest version of the standard program from the Baan support site, you will also get all related components (one of these is ttstpapihand) and this will contain the stpapi.synchronize.dialog. On the Baan support site you can also find the latest document on using the api-functions. This contains examples of how to handle the synchronization of multi- and single occurrence sessions.
Regards
depp_baan
30th January 2002, 11:44
Youp2001,
Thank you for your answer.
Could you please tell me what "the latest version of the standard program" is. Do you mean service pack 6 ?
depp_baan
30th January 2002, 11:54
Youp2001,
could you please also tell me where to find on the Baan support site the latest document on using the api-functions and the name of the file.
Thank you.
Youp2001
30th January 2002, 13:38
If you install solution 121657 you will have (one of) the latest version. This solution is from January 17, 2002 so it is quite new.
Updates of standard program (and related components) are published quite often on the Baan support site.
I'm not sure how I found the document on the applicaton function server which contains the description on how to use the ttstp.api functions, but as I have the document I attached it.
Success
depp_baan
5th February 2002, 11:37
Youp2001,
we tried to install solution 121657 on top of SP5 but have not been lucky. After the installation of the solution 121657 we had to restore our system, because a lot of sessions have been corrupted (we lost a some buttons (OK, Continue, Close, ...) in a lot of screens and therefore the system could no longer be used).
Do you know another solution that contains the stpapi.synchronize.dialog and can be installed on SP5?
Or should we first update to SP6 and then install a solution ?
Thank you for your help.
Youp2001
5th February 2002, 14:05
There are several solutions that should contain this function. Whether they can be installed on servicepack 5 I don't know.
I checked our 5c system and it does not contain recent tools-solutions. We had problems synchronizing sessions in 5b (sp10)and for this we have installed solution 119947 as latest solution.
I will try to test things on our 5c (sp6) system shortly and let you know if I find anything.
depp_baan
5th February 2002, 14:30
That means the next step will be to install SP6. Thank you again.