General X++ Development

How do I find references to a method, table, or field in D365FO?

Asked by Sunny Vasty· Aug 13, 2026· 1 answers

How do I find references to a method, table, or field in D365FO?

SSunny Vasty90 reputation · answered Aug 13, 2026

In Visual Studio, use the available cross-reference / Find References functionality on the object.

Start from the actual method, table, field, EDT, or metadata object instead of doing a plain text search across the entire codebase.

One distinction that matters:

  • References tell you where something can be used.
  • The debugger call stack tells you what actually called it in the scenario you are testing.

I use references to understand the possible paths and the call stack to understand the real path.