Paul P
6th November 2006, 04:10
Hi guys,
I have observed inconsistent stpapi.browse.set() behavior when used over OLE between company data with small data set and large data set. With the large data set (2.9 million rows), stpapi.browse.set() over OLE will fail to set current record after several loop of it, while the same script will run perfectly over OLE on small data set. No inconsistency when the same script is run internally within BaanIV though (ie not over OLE).
To overcome this, I had to issue stpapi.find() right after every stpapi.browse.set() (a tip pointed out by Mark in Entering cycle counting data through API thread)
Any of you experienced other API behavior inconsistencies?

Rgds,
Paul