Export system objects by C\AL

Yuri
Member Posts: 16
Hi
Does anybody know how to EXPORT system object (e.g. Table 18)
from navision using C\AL? :?:
I try to do next:
Table Object 200000000001;
Object.CALCFIELDS("BLOB Reference");
NewFOB = Object."BLOB Reference".EXPORT('', TRUE);
But after this I can't IMPORT NewFOB through Object Designer
Best reguards.
Does anybody know how to EXPORT system object (e.g. Table 18)
from navision using C\AL? :?:
I try to do next:
Table Object 200000000001;
Object.CALCFIELDS("BLOB Reference");
NewFOB = Object."BLOB Reference".EXPORT('', TRUE);
But after this I can't IMPORT NewFOB through Object Designer

Best reguards.

0
Comments
-
The export you are making with C/AL coding is not in a FOB format. Parameters like object date, time, compiled etc. are missing from the file. That's why you cannot manualy import the object from the object designer.
You can import the object with C/AL coding the same way you have exported it, by reading the file into a BLOB. But remember, this won't change the object date and time ! You will have to find another way of saving object data (all other fields from the object table) and restoring it when importing a blob.In a world without Borders or Fences, who needs Windows and Gates?0 -
Thanks :roll: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