baaniac
22nd July 2004, 10:18
Hi,

We are developing an AFS for a session, in which we have to synchronize a child session with a multi-occurence parent session. For this, we are using the following command -

ret = stpapi.synchronize.dialog("<session_code>", "modify", err.mesg)

When we compile the UI Script, we get the following error -
Unresolved Reference to stpapi.synchronize.dialog.

We already have #pragma used dll ottstpapihand" in the code and the other API functions get compiled without any problem.

In the document also "U8233A US" - Developer's Guide for Application Function Server released in Mar 2004, the syntax and the examples mentioned are exactly the same as in the code.

Any idea, what could be the problem ? Do we have to include some different dll for stpapi.synchronize.dilalog()

Following are details of our environment -

ERP - BaanERP 5.0b
Porting Set - 6.2a.03.01
Service Pack - 11

Thanks

mark_h
22nd July 2004, 15:21
As far as I know no special includes are needed. It sounds like you need a tools or API update from Baan.

Mark

Baan OpenWorld
22nd July 2004, 16:31
Mark is right, your ttstpapihand object is out dated. use the command

bic_info6.2 -e -u ottstpapihand | more

see if you see the method "stpapi.synchronize.dialog", if not, you'll need an update of the standard program from the Baan Support site

regards
Marco