Trace Object ID During Import ?
chandrurec
Member Posts: 560
Hi all,
I am trying to incorporate some functionalities from one db to another db using the araxis mege tool. I have done for the tables.aftre this i am using the cop.bat file to merge all the seperate text files into a single text file named all.txt. when i try to import the all.txt, i am getting a error but i dont the object id. only if i know the object id , then only it is possible for me to identify in which object the error lies. is there any solution to know the object id during import?
if anyone know the solution, please tell me asap because its very urgent.
Thanks in advance,
Regards,
chandru.
I am trying to incorporate some functionalities from one db to another db using the araxis mege tool. I have done for the tables.aftre this i am using the cop.bat file to merge all the seperate text files into a single text file named all.txt. when i try to import the all.txt, i am getting a error but i dont the object id. only if i know the object id , then only it is possible for me to identify in which object the error lies. is there any solution to know the object id during import?
if anyone know the solution, please tell me asap because its very urgent.
Thanks in advance,
Regards,
chandru.
0
Comments
-
Usually when you get an error while importing a txt file, the error message will state the line number. Open the text file, and go to that line number, and you will find your error. What does the error message say?0
-
Edit: Nothing: just the same what Denster write0
-
If that doesn't help I have found that the easiest, although still sort of painful, method to figure out which file the error is in is to do a kind of "binary search".
So say you have 8 files, F1 through F8. Combine the first F1 through F4 into one file and try to import. If you get the error then you have eliminated the second half of the files, F5 through F8.
Now repeat with the first F1 and F2. If you get the error it's one of those two, if not it's either F3 or F4.
You effectively eliminate half of the files with each import and it's a decently fast way to figure out where the error is.
You can go even faster by watching the progress bar. Take the percentage it gets to (I usually subtract 1% or 2% to be safe) and multiply it by the total number of lines in your file. So if you finish with 57% of the file and get the error, multiply .57 (0r .56 or .55) by the total lines in the file. Start your search there.
Hope those ideas help.0 -
Right now I am preparing some NAV objects which are able to parse object txt files and check the duplicity of IDs and whatever you want (right now it is renaming variables to prefix notation as I want...). I want to extend it to check for double IDs and if needed it will solve the conflicts in one run. I have same problem each time I merge something... :-D
Availability of this tool will be during this month...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
- 322 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


