Identify Tables Impacted During Business Operations in D365 & Axapta

Hello All,

Welcome to my latest blog post where I will be sharing my insights on identifying tables impacted during business operations. Oftentimes, interviewers ask for a list of tables or classes involved in specific business operations, such as PO confirmation, receiving, or invoicing. Or there is the requirement to perform impact analyses on adding custom columns to standard tables. Although there might not be any straightforward approach to identifying the above points this blog will help you to an extent.

This exercise comprises two stages. In the first stage, we trace the process from the front end, and in the second stage, we analyze the trace to identify the tables impacted. 

To avoid unnecessary overheads in the trace, please note the following:

1.      Take the trace in the Dev machine where you are the only user logged in.

2.      Ensure there are no integrations or API calls being executed on the machine.

3.      Stop all batch jobs responsible for updating data.

4.      Close all additional windows and only work on one.

To start the trace, click the question mark on the right-hand side of the screen and select Trace. 

Provide the Trace name and enable "Include SQL Parameter values." Then, click the Start Trace button.


Once the business activity is completed, click the Stop trace button and click Download trace to download the trace file (*.etl). This concludes stage one.

In the second stage, load the trace file into your Trace Pacer tool, which can be downloaded from the Microsoft website if not already available. Select your User session in User grouping and go to the SQL tab.

In the Name Filter textbox, search for "Insert*." This will provide you with a list of tables where data was inserted during the business scenario. In the Code section, you will find the executed SQL query.


Repeat the above step with "Update*" and "Delete*" to get the tables where data was updated and deleted, respectively.

In addition, you can search for specific keywords, such as "VendTable," by entering "VendTable" in the Name Filter Textbox.


I hope you found this blog informative. Please share your thoughts in the comment section. Thank you for reading!

Comments

Post a Comment

Popular posts from this blog

SSRS Report error "The parameter panel layout for this report contains more parameters than total cells available D365" Finance and Operation

Simplifying the Connection of Your Dev VM to Tier 2 Environment in D365D

Increase Your Storage in Azure Dev VM to fix disk size issue while D365 F&O DB restore.