When a data import process is launched, the data to be integrated are read by logical line groups of different types (for instance, a header, the associated detail lines, a sub-detail of the detail lines etc.). Each logical group of lines forms a record.

The structure of the record is defined in the import-export template (via the flag grid). If no line is defined in this grid, each line composes a record.

Upon import, each record is tested from a data format point of view, but also by using more general consistency rules (business rules). If errors are detected at this stage, the record is not integrated (but the next records may be integrated).

The import-export temporary storage space is used to store the detail of the rejected data for a given imported file: in a batch, each rejected record is observed under the form of 1 to N lines, and in each line, there is the description of the line structure, along with the field values read in the file. When errors have been detected in a given field, they are highlighted with a preset style.

Then, the user can:

  • modify the wrong values
  • add lines, if need be
  • reextract the data of a set of batches into a file, so as to reimport it again after correction.
  • add records in a given batch.

It is also possible to directly import a file into the import/export temporary storage space without attempting to import it for real. In that case, only the consistency controls of the data format will be performed, and all the groups will be put in the temporary storage space.

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

The storage space is managed in an object subdivided into two tabs, the left lists provide, in addition to the traditional divisions (left list presenting a line by batch, and last read) the possibility to display:

  • the numbers with the detail of the lines, in a hierarchical manner (Import/export temporary storage space by Batch)
  • a hierarchy by batch number / line number / field for the lines for which an error has been detected (Import/export temporary storage space by error).

Header

The header identifies the batch and the current line in the batch.

Tab Lines

This tab is used to display the fields of the template as they must be integrated for the current line type (identified by the flag). At the same time, there are the values found in the import file (with a specific formatting if an error has been detected on the field).

Tab Text file

When a clob type field (lenghty character string) is defined in the template, this tab is used to display its value and to modify it, if necessary, by clicking on the corresponding button.

Reports

By default, the following reports are associated with this function :

  PRTSCR : Screen print

This can be changed using a different setup.

Specific Buttons

Addition

It is used to add a line to the group by shifting by 1 line all the next lines in the record. The added line is proposed by default with the values of the previous line, but it is possible to modify said values. In case of aborting, the added line is deleted, and the shifted lines are given new numbers to bring them back to their original position.