Object text import/export and date formats

jbgrobler
Member Posts: 18
Is there some way of making a suggestion to Microsoft to change the import/export behavior of objects when using the text format?
- I do not want FOB imports because I need to do code merges.
- Doing merging requires the use of the text format.
- The official updates from Microsoft is using American date format ("M/DD/YY") in the text files.
- Exporting modified objects is using the server date format (in my case Canadian "DD/MM/YY") in the text files.
After a merge when attempting to import the objects I get invalid date errors. I have to spend time and edit all the dates in the merged objects, as well as new objects, then switch the server to American date format, import, and then switch the server date format back.
Switching the server date format back and forth really should not be required to do an import. Why not use a fixed date format for the import/export? It is only used by NAV itself anyway. Maybe use ISO instead so there is no confusion (yyyy-mm-dd).
This is driving me up the wall. Sigh.
- I do not want FOB imports because I need to do code merges.
- Doing merging requires the use of the text format.
- The official updates from Microsoft is using American date format ("M/DD/YY") in the text files.
- Exporting modified objects is using the server date format (in my case Canadian "DD/MM/YY") in the text files.
After a merge when attempting to import the objects I get invalid date errors. I have to spend time and edit all the dates in the merged objects, as well as new objects, then switch the server to American date format, import, and then switch the server date format back.
Switching the server date format back and forth really should not be required to do an import. Why not use a fixed date format for the import/export? It is only used by NAV itself anyway. Maybe use ISO instead so there is no confusion (yyyy-mm-dd).
This is driving me up the wall. Sigh.
0
Answers
-
This minor nuisance will soon be only background noise ;-) Anyway, you are right about that. But my impression was that something regarding the text format was changed in CU9, build 37221. That doesn't change the problem with the builds that are actually in use, like NAV2009R2 build 32012, though. The recommendation is to use W1 (ENU) language setting when compiling/exporting the objects. But this doesn't really help. So I say f*ck this and use my local language setting all the time. For all objects that you actually can compile and export, this works well enough. I still get the occasional "artifacts" changeset, though. To reduce the problems it's a good idea to only import merged objects by .txt. It is really seldom that a .txt fails on a date problem in my experience. More often are issues with double control/variable IDs, indentation errors, text constant special character errors (especially french language layer can be a b*tch), syntax mismatches, and double comment sections. And my favourite: New fields in standard tables where you also have fields. If these fields are referenced in the C/AL then it's a bit of a run-around and interim .fobs and additional databases to get them together.
with best regards
Jens0
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