Export system objects by C\AL

YuriYuri Member Posts: 16
edited 2004-08-02 in Navision Attain
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 :cry:

Best reguards. :lol:

Comments

  • janpieterjanpieter Member Posts: 298
    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?
  • YuriYuri Member Posts: 16
    Thanks :roll:
Sign In or Register to comment.