D365: Search for code with Agent Ransack

When supporting customer’s we often can get small fragments of information on an issue, like a form is not performing as expected, or an error message. The procedure is then often to log into LCS and find traces of the issue. Often we end up with a query that is the source of the issue. But to better understand and analyze how to fix the issue we often need to find exactly in the source code where the query is executed. By also being more exact and precise towards Microsoft support you also get quicker response.

Searching through the code in Visual Studio can be time consuming, and the built in Cross reference is not always updated, but there is an alternative I can recommend. Agent Ransack is a free file searching utility that quickly can scan most D365 source code (the *.XML files placed in K:\AosService\PackagesLocalDirectory\).

Let’s say I see in the LCS that the current query is what I need to find out from here it is executed.

From the query I can then search for the text “Join RetailEODTransactionTable”, and I get 25 results, and even where the exact table is not specified as

I can then open the file in explorer and then validate to see if I need to go into Visual Studio for further analysis.

This speed up the process of finding the source code that you are looking for. It is free and download it from https://www.mythicsoft.com/agentransack/ and install it in you development environment.

 

Take care Daxer’s.

3 thoughts on “D365: Search for code with Agent Ransack

  1. Hello,

    Recently, during my online research, I came across a promising tool called WinFindr. It appears to be a data searching tool for Windows, similar to the ones you already reviewed, offering the ability to search for files, folders, registry keys, and registry entries with multiple search terms simultaneously. The potential capabilities of WinFindr have piqued my interest, but I need your opinion too, please.

    Given your expertise in reviewing and listing such software, I kindly request that you consider evaluating WinFindr and, if deemed suitable, adding it to your list of reviewed desktop search utilities. Your comprehensive assessment would greatly assist me in making an informed decision about whether I should use WinFindr or not.

    I believe that your impartial and expert evaluation will provide valuable insights into WinFindr’s performance, usability, and overall functionality, helping me determine if it aligns with my specific needs.

    Winfindr can be seen here:
    https://winfindr.com/

    Warm regards,

    Stefan

    Like

  2. I use the corporate-friendly-named “FileLocator” version of Agent Ransack (same software). I have used Agent Ransack for years to search the code base. Even in earlier AX versions where the code was not file-system-based, I’d export all code in order to search quickly. I also use it to search VS projects for selected object references. A very handy tool.

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.