Hello everyone,
I create an XMLPORT to export some information from navision 2013 R2, I want when i run the XMLPORT, it will saving automaticaly in a destination that it is alreadey setup.
How can i do this?
I write this in OnPreXmlPort:
currXMLport.FILENAME(InterfaceSetup."Export Contract Comete Folder" + FileName + '.csv');
But when i run i have the dialog box to save.
I would like that should saving automatically in this folder.
0
Comments
If Exist(XmlFileName)
I don't like to ECRASE it I would like to create another with a postfix variable.
How can i do this ?
In case insert the the file check in a repeat-until loop to find a proper suffix to use.
IF EXISTS(XmlFileName + XmlFileNameExt) THEN
XmlFileName += '_1';
I will have all the time XmlFileName + '_1' but i want that the first time it 1, the second 2,3,4..
Have some filters in XML port, but when i running it from codeunit able to export the file to a particular location but not able to set the filters in XML . is there any solution to set the filters of XML-Port when running form codeunit.
Dont forget to marked answerd it..