Get field property on AOT


Is there any sample code that I can use to find out all the fields in the tables that are using EDT “PurchId”?

Thanks a lot,


It’s not a sample code but you should see what you’re looking for: search you EDT in AOT, then right clic, Complementary Programs, Cross-references, use

PurchId is used a lot in AX, so you’ll have a lot of results

Hope it helps,



DataReferenceSearcher can do that (considering even child EDT’s). And if it doesn’t do exactly what you want, just look into code and borrow what you need.