Sage X3 how to run import from program

Run the import

Local Char PARAM(15)(1..4) , VALEUR(15)

Gosub INIT From GIMPOBJ

Gosub DEBUT From GIMPOBJ
Gosub OK_SAI From GIMPOBJ
Gosub CONTROLE From GIMPOBJ

[M:IMP2]MODIMP = MODELE
[M:IMP2]NOMIMP = FICHIER

Gosub EXEC From GIMPOBJ
Gosub TERMINE From GIMPOBJ

If GERRTRACE = 1 and GERRTRACE = 3 Then
Errbox "Si รจ verificato un errore in fase di importazione del ricevimento", "Controllare il file traccia " + GTRACE titled "Import Ricevimenti"

Call LECFIC("TRA",GTRACE,"tra") From LECFIC

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