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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s