on ‎2011 Aug 29 11:13 AM
Hello,
Is there somewhere a document that describes the best method to execute a sql trace for Sap Business One? For example, we want to see which tables and columns in Sap Business One administration (sql database) are changed after saving an invoice.
Request clarification before answering.
Hi,
You just need to run SQL Server Profiler to trace SQL. It is a very simple application to use.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Gordon
the problem is that I can't find it out which settings in the trace are relevant. Now I start the trace (saved as document), quickly go to SAP and add the invoice, than I go back to the trace and stop the trace. After that, I see a lot of information but the tables like oinv, inv1 etc.
Hi,
In the Profiler after adding an Invoice, the changes and checks performed for each table involved with the task performed is displayed.
Example in your case when adding an Invoice, the checks will be performed on the tables related to the G\L accounts, BP Code, freight table, tax table, alert, posting period etc etc and then all the numbering table, Item table, accounts, Bp Code when the same is added in the system.
This is the reason why you get a comprehensive list of enteries when you stop the profiler.
The data which you require, you can search from the complete list. Any specific requirement, you can let know.
Kind Regards,
Jitin
SAP Business One Forum Team
| User | Count |
|---|---|
| 43 | |
| 32 | |
| 17 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.