Setup > Usage > Imports / exports > Sequences 

An import/export sequence is used to define using a single code, a group of templates with associated file paths. The advantage of these import/export sequences is to be able, at one go, to extract or integrate all the files defined in the database by using the templates listed in the sequence, in the order of the description.

In addition, when it is used sequentially, the export with chronological number is made with a single increment in the chronological number: There is therefore a consistency between exported data with respect to time.

The definition of the sequences is particularly useful when multiple imports/exports are automated using the batch server (a batch task launch import or export sequence exists).

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

To a sequencing is associated a list of models to use and the corresponding file paths next to them. These file paths may include the # character used during the chronological imports/exports: this character is replaced by the appropriate sequence number.

Close

 

Fields

The following fields are present on this tab :

Block number 1

  • Code (field CODE)

This code groups the various templates used for import-export.

  • Description (field DES)

Enter the description of the relevant record.

This long description is used as a title in screens and reports.

Grid

  • No. (field NUMLIG)

 

Code for template import-export existing.

  • Data file (field CHEMIN)

This is the access path to the file to be imported or exported.

Close

 

Specific Buttons

The following fields are included on the window opened through this button :

Block number 1

  • field OBJET

 

  • field CLES

 

Block number 2

  • From folder (field DOSORG)

Indicate the folder from which the record is going be copied. The possible syntaxes are described in the dedicated appendix.

  • All folders (field TOUDOS)

This option is used to copy the record to all the folders defined in the dictionary (ADOSSIER table from the current solution).

  • To folder (field DOSDES)

Indicate the folder in which the record is going be copied. The possible syntaxes are described in the dedicated appendix.

Close

This button is used to copy the record definition from or to another folder.

Menu Bar

Options / Export XML

Error messages

The only error messages are the generic ones.

Comment

No directory existence test is made on the file path defined by default in the sequence (the directory may not yet exist: this test is only made on launching an import or export).

Tables used

SEEREFERTTO Refer to documentation Implementation