How are objects stored in a sql server database

julien92
Member Posts: 4
Hi guys,
I would like to compare (Object-Properties, Properties, Controls, Code...) and manage some objects from different databases.
I don't want to use the Export (Files->Export) option , I prefer to work directly with the sql server database.
So I would like to know in which tables are stored data that I get using the Export option or what is the way to get the txt file....
Thanks...
I would like to compare (Object-Properties, Properties, Controls, Code...) and manage some objects from different databases.
I don't want to use the Export (Files->Export) option , I prefer to work directly with the sql server database.
So I would like to know in which tables are stored data that I get using the Export option or what is the way to get the txt file....
Thanks...
0
Comments
-
-
Hi all,
8-[ :roll:
Is not there really any way for convert BLOB reference field?
For example to get the code in the objects?
Bye
O:)0 -
Use a Stream object to read the data in the image (BLOB). See SQL Books Online for examples.There are no bugs - only undocumented features.0
-
Hi bbrown,
the problem is object format, when I read through the strem object, I don't know whether to interpret bytes.
I think that the field BLOB contains a well precise class built by the Navision and not a simple file text.
What do you think of it?
[-(0 -
The question is, where does Navision store it's source code. I can't believe that it does a decompile everytime you open op a CodeUnit, so it must store the source somewhere.0
-
=;
Are you angry? Have you slept little?
Relaxed!
It was only an example to intend that it is not so easy as to read a text file.
Bye0 -
it would be beautiful to know as navision decompiles on-the-fly! :shock:0
-
The data in the BLOB is not "compiled" object (in this case, how will you save object with sysntax error in it?). It is internal format prepared for fast interpreting when needed... It is some binary format how to save the data...0
-
OK....
BUT...
All developers with which I have spoken, tell me that I can simply reading data field as binary data.
But what I don't know is HOW to read them. The practical method of how reading binary data and obtain a text variable that had code of object.
For Example:
Table 27 - ItemIn Documentation section I have 050506 DCO - Added new field "Test 123" On a trigger I Have IF locItem.GET('64756') THEN .....
What I want to get is what I see when I open in design an object in a specific text variable.
Is there someone who has ever done him?
](*,)0 -
dakyn wrote:What I want to get is what I see when I open in design an object in a specific text variable.
I don't understand this sentence, sorry...
But in general - you are not able to get text representation of the object without using Export function into text file from the menu...0 -
Please, Dakyn, be reasonable... MSFT put HUGE resources in making compiled objects obfuscated - were they not so, somebody could write a C/SIDE interpreter and then would never pay licence fees again.0
-
I believe has to give you some explanations.
I'm navision developer from 1 year and I would like to develop a software similar to the source safe of microsoft for navision.
My idea is improve job of team. Our problem, that is very common, is manage several database. Every database with different objects and different versions.
We are many developer and navision tools are so poor!
I'm developer of visual studio from old vb5 to now (VS 2005). I find strange that It doesn't exist something of the kind yet
For this reason I search a method for read code of object's navision.
I have feeling that I have to wait for Dynamics Navision 50 -
We are many developer and navision tools are so poor!I'm developer of visual studio from old vb5 to now (VS 2005).I have feeling that I have to wait for Dynamics Navision 50
-
I'm sorry to all
!!!
I didn't want to offend the navision world.
SOB! O:)0 -
Easiest way - script some job, which will :
1) Run Navision client for each DB you have
2) Will open object designer and export all objects into text
3) Will separate the file into one object - one file (you can find tool for that on MIBUSO)
4) Will import all these files into Microsoft SourceSafe
Than you can have version control etc. :-)
Rest is just about company processes...
And do not expect some big change in NAV 5... (still, you need understand, that if there will be some easy way how to save the objects in text or something like that, someone can use that to gain access to objects, which are not allowed within his license...)0 -
No buts, the bottom line is that you can't access the raw source code, all you can get is the semi-compiled code. Unless you can get access to the specifications for this format, you can't decompile it any way other than opening object designer or doing a file export. I wish this weren't true, as I would love to be able to implement some nice version control integration. It still boggles my mind that there is no version control integration.Thad Ryker
I traded my sanity for a railgun0
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