Sage X3 Launch export from program

Run the export

Gosub INIT From GEXPOBJ
Gosub OUVRE From GEXPOBJ
Gosub DEBUT From GEXPOBJ
Gosub OK_SAI From GEXPOBJ
Gosub CONTROLE From GEXPOBJ

[M:EXP2]MODELE = MODELE
[M:EXP2]NOMEXP = 'export.txt'
[M:EXP2]NBFIC = 1 #number of tables setted into the export model
[M:EXP2]FICHIER(0) = Y_FIC #Name of first table
[M:EXP2]ABREV(0) = Y_ABRFIC #shortcut of first table
[M:EXP2]CRITERE(0) = "YFLGIMP<>2" #selection criteria of first table

Gosub EXEC From GEXPOBJ

Gosub TERMINE From GEXPOBJ

 

Leave a Reply

Your email address will not be published. Required fields are marked *