31. Mai 2016 12:31
OnPreDataport
============
GLSetup.GET;
GLSetup.TESTFIELD("Import Directory");
GLSetup.TESTFIELD("Import Filename");
CurrFile.OPEN(GLSetup."Import Directory" + GLSetup."Import Filename");
OnPreXMLport
============
GLSetup.GET;
GLSetup.TESTFIELD("Import Directory");
GLSetup.TESTFIELD("Import Filename");
currXMLport.FILENAME := GLSetup."Import Directory" + GLSetup."Import Filename";
OnPreXMLport
============
GLSetup.GET;
GLSetup.TESTFIELD("Import Directory");
GLSetup.TESTFIELD("Import Filename");
ServerFileName := FileMgt.UploadFileSilent(grcGLSetup."Import Directory" + grcGLSetup."Import Filename");
currXMLport.FILENAME := ServerFileName;
31. Mai 2016 13:25
31. Mai 2016 14:01
31. Mai 2016 14:19
31. Mai 2016 14:51
GLSetup.GET;
GLSetup.TESTFIELD("Import Directory");
GLSetup.TESTFIELD("Import Filename");
ImportFile.OPEN(GLSetup."Import Directory" + GLSetup."Import Filename");
ImportFile.CREATEINSTREAM(InStream);
XMLPORT.IMPORT(50005,InStream);
ImportFile.CLOSE;