Developer Toolkit Issue

pvar
Member Posts: 157
I was using 'Where Used ' on a Table field to know where all it referenced and unfortunately the tool didn't find a TableRelation defined on another field on the same table. I also tried 'Where Used With' everything checked but still it didn't find the Tablerelation. I am using V2.0 SP3?
Am I not using the tool correctly or is this a know problem with this version of the tool?
Thanks
Am I not using the tool correctly or is this a know problem with this version of the tool?
Thanks
0
Answers
-
Are the objects in your DTK database up to date? Did you discovere the actual tablerelationship in the object that is in your DTK database, or in the database itself?0
-
Yes, the tablerelation is in the DTK database.0
-
Could you explain exactly what the relation is? It seems as though you have a field in the table that has a relationship to itself.0
-
Actually it is checking another field in the same table for certain value
I forgot to mention that it is our custom table (above 50K range) if that makes any difference.0 -
Is it an actual table relationship or some code that does some check?0
-
It's actual Tablerelation defined on 'Global customer' table like below for a field 'Parent Customer No.'
"Global Customer" WHERE (Corporate Office=CONST(Yes))0 -
I think it might be because only the table is defined and not the field that is linked to. Try defining the field as well as the table, update the objects in your DTK database and try again.0
-
Both the fields are defined in the table.
Can you try setting up a relation like this in any of your tables and run the where used, I would be curious to know the result.0 -
"Global Customer" WHERE (Corporate Office=CONST(Yes))
This links to the table only. Try adding the field reference explicitly."Global Customer"."No." WHERE (Corporate Office=CONST(Yes))
Notice that the second one includes an explicit reference to the field. "Global Customer"."No." instead of just "Global Customer"
I don't have a DTK database set up at the moment.0 -
The application works just fine with the way the relation is defined.
All what I am saying is the DTK not finding the string 'Corporate Office' defined in the tablerelation when I do a where used on that field. Basically the where used is not looking at the tablerelation property when it searches, probably a bug in the tool.0 -
You're not hearing what I am saying. It's not a bug, I think it's not picking it up because there is no explicit reference to the field, the foreign key. I know the app works without it, it's just that it seems that the DTK needs the field reference to be there to be able to pick it up. It looks for the FIELD reference, not the TABLE reference.
Hey if you don't want to try it, that's fine with me, I'm not the one with the problem. Good luck though0 -
You're not hearing what I am saying. It's not a bug, I think it's not picking it up because there is no explicit reference to the field, the foreign key
As far as I know the where used tool works similar to a search tool and it should find the string you are searching for in the places you asked to search.
I would be interested to see if some one else have any comments on this otherwise I will try to get some explanation from Microsoft.
Thanks0 -
-
If anyone still reading this topic it's worth to note that the issue with 'where used' functionality in version 2 of the toolkit has been fixed in version 3, according to Microsoft and you can download the latest version in the download section of NAV 2009 forum on mibuso or from partner source.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions