I write the following code in codeunit to export the xml file
But when I am trying to run the codeunit Shows me error
"Microsoft business solution-navision has encountered a problem and need to close."
And it will restart the navision.
What was the problem? ](*,)
Please suggest...
Veriables are
ifile file
ostream OutStream
ifile.CREATE('C:\myxml.xml');
ifile.CREATEOUTSTREAM(ostream);
XMLPORT.EXPORT(50000,ostream);
ifile.CLOSE;
MESSAGE('export complited');
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
NAV 4.0 SP3
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
But it gives problem on my machine.
You have enough permission to store a file under C:\.
Can u store there manually (like with notepad) a file?
Regards
(For the purpose (it was a proof of concept) it was ok to just use another Client Version.)
Regards
Thomas