Advanced file handling for regular exports
In the Exchange Schemes (daxch0501m000) details session, in the ASCII Files field, you define the directory to store the files of your exchange scheme’s regular exports. LN stores the files of each run of the regular export in a separate subdirectory identified by the run number.
To exchange data between various exchange schemes in LN, or an external application, the other LN exchange scheme or the external application cannot access the subdirectories in which the files of the regular export runs are stored.
In LN, to enable other LN exchange schemes, and external applications to access the files of a regular export, you had to do one of the following:
- Program a session or a script to copy the files to a common directory. Other LN exchange schemes, and external applications could then access (import) the files from the common directory.
- Define in the Regular Import Directory field in the Exchange Schemes (daxch0501m000) session a common directory to copy the export files, which resulted in the previous regular import’s files being overwritten.
In Infor Baan 5.2a and later, in the Exchange Schemes (daxch0501m000) details session, in the Copy Files After Regular Export to field, you can specify a common directory to which LN copies the files of an exchange scheme’s regular export runs. Other LN exchange schemes and external applications can then access (import) the files from the common directory. This enables you to import data from a directory used for data from an external application.