Save C/AL Code directly in a table

Roger
Member Posts: 57
Hello,
I'm looking for a possibilty to save C/AL Code in a specified table. I want to do the same as Code Coverage does. But I want to have the control, from which object I read the source.
Does anybody know if it's possible? If the answer is yes, how can I do that?
Thanks for all hints,
Roger
I'm looking for a possibilty to save C/AL Code in a specified table. I want to do the same as Code Coverage does. But I want to have the control, from which object I read the source.
Does anybody know if it's possible? If the answer is yes, how can I do that?
Thanks for all hints,
Roger
Many thanks, Roger
0
Comments
-
Sure. Just look up CODECOVERAGELOG in the help. You gotta insert turning it on and off into each piece of code you want to log.0
-
Thanks for the answer.
But it's not exaclty what I want. Mybe, my explanation was'nt clear enough.
I want to read the complete source code of an object (for example Table 36) for save the source, or parts of it, in a own table. I'm looking for a way to create a documentation of changes in the standard source.Many thanks, Roger0 -
you can export it as text. and use the developertoolkit or text compare software.0
-
You can to export the object as text file & view it notepad
you'll see everything
here's a download you might be interested in
http://www.mibuso.com/dlinfo.asp?FileID=2050 -
There is no way to do some things with C/SIDE functionalitys? It's possible to run the object export as text files from a codunit?Many thanks, Roger0
-
You could do it. This way. Create a new codeunit Turn on codecoverage in the codeunit, and call every single codeunit. then stop codecoverage. and export the data from code coverage table to a text file and you have all the code from all the codeunits. You could do the same thing for forms, tables and reports.
Navision doesn't give you access to the blob where the compiled code resides. It's probably encrypted.0 -
Thanks for the very good hint. On this way, it's possible to transfer the records from the code coverage table to another table directly in navision.
But, how can I run a table from a codeunit?Many thanks, Roger0 -
For documenting the changes, I think there are some automatic diff stuff here in the downloads.
My personaly view is that 70% of the development is setting object properties, and these kind of changes look like crap with an automatic diff on text files. So I just write documentation in the Documentation trigger by hand and extract it from the text files with a simple script.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