web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

How to check a field is in use in some code ?

(0) ShareShare
ReportReport
Posted on by 405
Hi,
 
In AX 2012, when we have 1 custom field in a table, can we search is there any code using this particular field ?
I assumed this one ->
 
But nothing shows up, So I'm not sure whether it is not being used or the feature simply not working
 
Thanks
I have the same question (0)
  • Martin Dráb Profile Picture
    239,992 Most Valuable Professional on at
    Have you generated cross-references? If not, there is nothing to see. Consult How to: Create the Cross-Reference System.
  • Teevo Profile Picture
    405 on at
    How long normally the process ?
    I ran this with check "Update all", the progress bar doesn't seem to move.
     
  • Martin Dráb Profile Picture
    239,992 Most Valuable Professional on at
    Definitely in hours, if you run it for the whole application.
     
    It's a long time since I've worked with AX 2012 for the last time, so I don't remember exactly how long it took. It also depends on hardware, DB configuration, whether the DB is on the same machine etc.
     
    When it completes, it's also a good idea to rebuild indexes of xRef tables.
  • Teevo Profile Picture
    405 on at
    Can I "focus" into 1 table though ? Since I only want to know a field from 1 table. 
    I noticed in the document you have shared, there is "selected" options. I haven't try now since it is still processing. But wondering if I select this way, will the result as my expectation, which is to know if the Field in question is being used in some code or not in my model.
     
     
  • Martin Dráb Profile Picture
    239,992 Most Valuable Professional on at
    You can filter by an individual object, but it'll build information what the object is using, not which objects are using it.
  • Teevo Profile Picture
    405 on at
    Thought so. In that case there is no choice than wait until this "update all" finished.
     
    Thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 414 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 352

#3
Martin Dráb Profile Picture

Martin Dráb 275 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans