How to Export To OLD Syntax

NavImpr
Member Posts: 7
Hi,
I'm a developer currently working with some installations of Business Central 14 OnPremise.
Despite the transition to the development in AL, I still need to make some customization the old way with C/AL and development environment and therefore I still need to merge object in txt.
When I export the txt object from some databases I get the new syntax with the LineStart at the beginning of the functions, and with some others not.
I don't really understand on what this depends but this obviously makes the merging more difficult. How can I disable this and export always in the old syntax?
Thanks,
I'm a developer currently working with some installations of Business Central 14 OnPremise.
Despite the transition to the development in AL, I still need to make some customization the old way with C/AL and development environment and therefore I still need to merge object in txt.
When I export the txt object from some databases I get the new syntax with the LineStart at the beginning of the functions, and with some others not.
I don't really understand on what this depends but this obviously makes the merging more difficult. How can I disable this and export always in the old syntax?
Thanks,
0
Answers
-
To do some thread necromancy as I've had the same topic today..
As far as I can tell this lines get added when you have AL symbols in your database.
As we've enabled this in our database recently I have extended a tool of mine with some cleanup functionality today.
Essentially it enables you to view which files are in an object export and allows you to split it to individual files.
It has two modes.
One splits the file using my own parsing code. It's the slower version and can't join them afterwards, but works just from the executeable alone.
The second is enabled if you add a folder named (exactly) "NAV Object Splitter" as a subfolder. If this exists on startup it will use "NavObjectSplitterConsole.exe" from that folder for the "Export All" and "Join All" functionality. This very well known tool was developed by Carsten Scholling and can be found here:
https://mibuso.com/downloads/nav-object-splitter-v3000
In both cases it will remove the StartLine-Lines from the exported objects.
My tool can be found here:
https://e.pcloud.link/publink/show?code=XZMmuTZPwKyJtywEqQFRSn5RX0y9hu65bny
I hope it can be of use for someone. It does support a filename as a start parameter or dragging on the EXE-file, but you can also drag the NavObject-TXT file onto the GUI after starting it.
It only works for TXT, not for FOB and not for AL.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