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 actionImport actionCall context
IMP_COMPILEBefore the creation of the import processing:
IMP_TRTSUPAfter the creation of the import processing

During import execution

OBJect actionImport actionCall context
AVANT_OUVRE ( + IMP )First action executed
DEFTRANSStart of the OBJect window analysis
AP_IMPORTAfter loading class [F] via the record to be imported of each table declared in the 1st tab of the template.
IMPORTAfter the RAZCRE label, only for the specifc/custom developments.
IMP_FERMEAt the end of the import process

During import execution

LabelCall context
$OUVREAfter opening the tables and screens, after the DEFTRANS action.
---> used to declare variables, read tables, etc.
$RAZCREBefore 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]
$SAIMSKAfter action RAZCRE. 
---> used to move class [F] to class [M] in order to simulate the entry 
$VALIDAfter action SAIMSK.
---> used to carry out the last controls
---> move class [M] to class [F] with the update transaction.