Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Find SQL behind a screen

(0) ShareShare
ReportReport
Posted on by 69

I am looking for the SQL that runs behind screen TM.TCS.00.  Is there any easy way to find this? I know how to grab the SQL from the Crystal Reports within Dynamics but not the .exe screens.  Any help?

*This post is locked for comments

  • blmorgan1 Profile Picture
    blmorgan1 60 on at
    RE: Find SQL behind a screen

    Other than SQL Server Profiler, you can also turn on event logging and check the log that is created as you perform various tasks in the screen.  You can find the eventlog files at [install dir]\SL\Applications\EventLog.  This log will show the stored procedure or SQL query that runs at each step you take (and you can narrow this down even better if you view with a text editor that allows reloading files when it sees they've been updated).  This method isn't perfect, but it is much more focused than SQL server profiler and can often get you what you need to know quickly.  

  • Verified answer
    AlexDupuis Profile Picture
    AlexDupuis 314 on at
    RE: Find SQL behind a screen

    Hi,

    The best way I know to find out what it's happening behind SL is SQL Server Profiler. The only problem is that you will receive all SL transactions ;)

    If you don't know Profiler, you can find it in SSMS (SQL Server Management Studio) --> Tools --> SQL Server Profiler.

    Get a look on that and if you have any questions, just let me know.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans