Search of Field In Code

DynamicUserDynamicUser Member Posts: 177
Hi Friends

It's a strange question but I am asking :shock: . If I want to know that one field is flowing in how many codeunit and code (On Form,Table) how can I identify that?

Comments

  • kinekine Member Posts: 12,562
    Best is to use NDT (Navision Developers toolkit). There is function where used... to find what you need. Just download the NDT from partnersource or MIBUSO download section.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • DynamicUserDynamicUser Member Posts: 177
    Thanks Kine Is this the only solution or anyother solution we have
  • BeliasBelias Member Posts: 2,998
    or if the field is not used in many objects (e.g. a 50000 numbered field)
    you can export all the obj as text and do a search...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • BBlueBBlue Member Posts: 90
    Hello,

    Another way would be to create a test database based on the original one, to empty the contents of that field (through a processing report, for example) and then change the DataType of that field into something without direct casting (e.g. if it is Code/Text you can change to integer or boolean).
    Save the table without compiling, to avoid any errors and then compile all objects from the database. The compiler should mark the objects that contain references to that table field.
    //Bogdan
Sign In or Register to comment.