Advanced file handling for regular imports

In the Exchange Schemes (daxch0501m000) details session, in the ASCII Files field, you specify a directory for LN to store the files of your exchange scheme’s regular imports. LN stores the imported files of each regular import in a subdirectory identified by the regular import’s run number.

In Infor Baan 5.0c, if you wanted to import the files of another exchange scheme’s regular exports into your exchange scheme’s regular import directory, you had to do either of the following:

  • Write a script for your importing exchange scheme to access the subdirectory that contains the export files of the exporting exchange scheme’s regular export.
  • Define in the Exchange Schemes (daxch0501m000) session’s Regular Export Directory field, a common directory to copy the files to, which resulted in overwriting the files of the previous regular export’s run.

In Infor Baan 5.2a and later, in the Exchange Schemes (daxch0501m000) details session, in the Copy Files before Regular Import from field, you can specify the common directory from which you want to import your data from.

To import the regular export data of another LN exchange scheme, in the Copy Files before Regular Import From field, you specify the export exchange scheme’s common directory for regular exports. You define the common export directory for an exchange scheme in the Copy Files After Regular Export to field, as described in the previous section, of the Exchange Schemes (daxch0501m000) session. Your exchange scheme’s regular export data for each run is still stored in the separate subdirectory you specify in the ASCII Files field.