Actions for a special import template |
|
General Contents - Templates - Import Export |
The special import template is reduced, hence more open, but it contains a smaller amount of automatisms. It does not manage the loading of masks, the entry simulation nor the update transaction. Processes should be written in specific labels defined in the third grid, then, if need be, in the $ACTION label of the processing associated with the import. Special imports can be created on templates with simple, grid or combined OBJects. They are not authorized for templates without OBJect. The special import is either a specific/custom import or a standard import. For a standard import, it is still possible to add specific/custom features via the IMPORT action. For technical reasons, this action will then need to be developed, in the specific processing of the OBJect.
During the generation process of the import processing
OBJect action | Import action | Call context |
---|---|---|
IMP_COMPILE | Before the creation of the import processing: | |
IMP_TRTSUP | After the creation of the import processing |
During import execution
OBJect action | Import action | Call context |
---|---|---|
AVANT_OUVRE | ( + IMP ) | First action executed |
DEFTRANS | Start of the OBJect window analysis | |
AP_IMPORT | After loading class [F] via the record to be imported of each table declared in the 1st tab of the template. | |
IMPORT | After the RAZCRE label, only for the specifc/custom developments. | |
IMP_FERME | At the end of the import process |
During import execution
Label | Call context | |
---|---|---|
$OUVRE | After opening the tables and screens, after the DEFTRANS action. ---> used to declare variables, read tables, etc. |
|
$RAZCRE | Before opening the table to be imported ---> used to interrupt the import via OK=0 After loading class [F] of the record group ---> used to initialize class [M] |
|
$SAIMSK |
After action RAZCRE. ---> used to move class [F] to class [M] in order to simulate the entry |
|
$VALID |
After action SAIMSK. ---> used to carry out the last controls ---> move class [M] to class [F] with the update transaction. |