Can you describe the working of procedure GLBCTL.RecordGenerate built into the core business logic?
Some of our older services integrated into accpac inserts directly into the tables. To avoid PK conflicts, the services started at high BatchID values. This is crap. Although we can't do much about the way the integration was done, we can change the source of the generator of BatchID. It would be much better if we at least attempt to follow the PK generator employed by the business logic.
Not an option. We don't have the source code for these services, but they've been running a long time without causing some sort of corruption. We're trying to avoid problems by PK unique violation through the use of triggers.
As I said... no choice in this matter. The COM API or SDATA API would have been the right choice.
For any other DB admins out there struggling with this answer: GLOPT is not a table. Some view (not a DB view) provided by a DLL function call. On our implementation of accpac, the table containing NextBTCHNo was GL01
Thanks to tuba2007 for pointing us in the right direction.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.