Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backend Table

Status
Not open for further replies.

ITSEI

Programmer
Jul 25, 2006
6
US
I would like to be able to track through the backend sql tables transactions. For instance if we receive in a PO, i want to be able to track every instance of changes on the table level. Is there any way to do that?
 
Close your GP client then edit your dex.ini in your GP install folder and change these values:

SQLLogODBCMessages=FALSE
SQLLogAllODBCMessages=FALSE

from FALSE to TRUE.

This will create a Dex.log file that will probably give you what you need.

You can delete this log at any time, this is good if you want to see what a particular transaction will do. Such as: What happens after you hit save on a sales order? Get to a point where you are ready to hit save, goto the install folder and delete the dex.log, then hit save. Now you have a clean log that shows what happens after you hit save.

BobSchleicher
 
create an insert/update/delete trigger on the required tables and populate a user defined table with the data you require.

I do that to catch salesmen changing dates on sales orders without getting it approved.



-----------
and they wonder why they call it Great Pains!

jaz
 
sweet thx Bob, that will deffinatly help out. Not that experianced yet with reading the logs, but this will at least help get me in the right direction.

How do you use SQL Profiler? and where do i get it?
 
If you have SQL Server installed, most likely you have Profiler installed, it comes with SQL Server. There is a section in the SQL Books Online (also usually installed with SQL Server) that goes over how to use Profiler. If you're talking about tracking every change at the table level of SQL, it's probably not a bad idea to take a look at Profiler.
 
cool thx something new to mess with
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top