Hi guys, I'm new to the world of dynamics nav and I want to export the data of a single client in xml. I am studying with the 2015 version.
Looking at the documentation there is an example code to export the clients to an xml file, but it exports all the clients.
CustXmlFile.CREATE(TEMPORARYPATH + 'Customer.xml');
IsExported := XMLPORT.EXPORT(XMLPORT::CustomerXMLport, XmlStream);
FromFile := CustXmlFile.NAME;
ToFile := 'CustomerClient.xml';
IF IsExported THEN
DOWNLOAD(FromFile,'Download file','C:\Temp','Xml file(*.xml)|*.xml',ToFile);
How should I export a specific client in which part of the code will I indicate the client that I want to export?
Thank you very much for your help