Difference between revisions of "ProDon:Automatic import utility"

From Logilys
Jump to: navigation, search
m
m
Line 1: Line 1:
 
{{Header_ProDon | 1 | 4.6.2 | Christian Dubois | | 2010-10-28 }}  
 
{{Header_ProDon | 1 | 4.6.2 | Christian Dubois | | 2010-10-28 }}  
  
L’utilitaire d’importation automatique est un programme console qu’on appelle à partir d’une tâche planifiée Windows. Vous pouvez vous procurer l’utilitaire d’importation automatique en communiquant avec '''''Logilys'''''.&nbsp;Lors de l'installation de ce programme, vous devrez configurer certaines informations une première fois avant de planifier la tâche Windows.&nbsp; Ensuite vous pourrez planifier votre tâche avec les paramètres suivants.<br>  
+
The automatic import utility is a console program that you can call from a scheduled Windows task. To obtain the automatic import utility, please contact '''''Logilys'''''. When installing this program, you must perform the initial configuration of certain items before scheduling the Windows task. You can then schedule your task using the following switches.<br>  
  
Voici les paramètres d’appel pour l’utilisation&nbsp;:  
+
The available switches are as follows:  
  
 
<br>  
 
<br>  
  
On doit premièrement spécifier le chemin de l’exécutable qui doit être dans le même répertoire que le fichier «&nbsp;ProDon.exe&nbsp;».<br>Exemple&nbsp;: C:\Logilys\ProDon\ImportAuto.Exe [paramètre]  
+
You must first specify the path to the executable, which must be in the same folder as ProDon.exe.<br>Example: C:\Logilys\ProDon\ImportAuto.Exe [switch]  
  
 
<br>  
 
<br>  
  
/n=15<br>Ce paramètre est obligatoire
+
/n=15<br>This switch is required.
  
«&nbsp;15&nbsp;» réprésente une variable qui correspond à un numéro d'importation préalablament configuré dans '''''ProDon'''''.  
+
15" is a variable for a preconfigured import number in '''''ProDon'''''.  
  
 
<br>  
 
<br>  
  
/o=2<br>«&nbsp;2&nbsp;» représente une variable qui correspond au numéro de l’organisme, tel que défini dans '''''ProDon'''''.<br>Si ce paramètre est absent, l’organisme 1 sera utilisé.<br>  
+
/o=2<br>"2" is a variable for the organization number as defined in '''''ProDon'''''.<br>If this switch is not specified, organization 1 will be used.<br>  
  
 
<br>  
 
<br>  
  
/u=SUPERVISEUR<br>«&nbsp;SUPERVISEUR&nbsp;» représente une variable qui correspond au code de l’utilisateur '''''ProDon''''' qui sera utilisé pour l’importation<br>Si ce paramètre est absent, le code SUPERVISEUR sera utilisé<br>  
+
/u=SUPERVISOR<br>"SUPERVISOR" is a variable for the '''''ProDon''''' user code to be used for the import.<br>If this switch is not specified, the code SUPERVISOR will be used.<br>  
  
 
<br>  
 
<br>  
  
/c= "C:\Logilys\ProDon\Importation\Importation.csv"<br>Permet de spécifier l'emplacement du fichier à charger dans le module.<br>Si ce paramètre est absent, aucun chargement ne sera exécuté et le chargement de l'importation spécifié par «&nbsp;/n&nbsp;» doit avoir été exécuté manuellement au préalable.<br>Les guillemets anglais sont utilisés pour encadrer le nom du fichier afin que les espaces soient bien reconnus.  
+
/c= "C:\Logilys\ProDon\Importation\Importation.csv"<br>This switch allows you to specify the path of the file that you want to load in the module.<br>If this switch is not specified, no file will be loaded and the import specified by "/n" will have to have already been manually loaded.<br>The file name must be enclosed in quotes for spaces in the path to be handled properly.  
  
 
<br>  
 
<br>  
  
/i<br>Si ce paramètre est présent et que le paramètre /c est absent, on utilisera le fichier spécifié dans l’importation de ProDon<br>Si ce paramètre est absent, l’importation n’aura pas lieu
+
/i<br>If this switch is specified but the switch /c is not, the file specified in the ProDon import will be used.<br>If this switch is not specified, the import will not take place.
  
 
<br>  
 
<br>  
  
/d<br>Si ce paramètre est présent, le fichier utilisé pour le chargement ou l'importation sera détruit.  
+
/d<br>If this switch is specified, the file used for loading or for the import will be deleted.<br>
  
<br>
+
Reference&nbsp;:&nbsp;<nowiki>svn://srvdev/ProDon/Autres/Importation automatique </nowiki>  
 
 
Référence&nbsp;:&nbsp;<nowiki>svn://srvdev/ProDon/Autres/Importation automatique </nowiki>  
 
  
 
<br> {{Footer_ProDon}}
 
<br> {{Footer_ProDon}}

Revision as of 10:29, 28 October 2010

Template:Header ProDon

The automatic import utility is a console program that you can call from a scheduled Windows task. To obtain the automatic import utility, please contact Logilys. When installing this program, you must perform the initial configuration of certain items before scheduling the Windows task. You can then schedule your task using the following switches.

The available switches are as follows:


You must first specify the path to the executable, which must be in the same folder as ProDon.exe.
Example: C:\Logilys\ProDon\ImportAuto.Exe [switch]


/n=15
This switch is required.

15" is a variable for a preconfigured import number in ProDon.


/o=2
"2" is a variable for the organization number as defined in ProDon.
If this switch is not specified, organization 1 will be used.


/u=SUPERVISOR
"SUPERVISOR" is a variable for the ProDon user code to be used for the import.
If this switch is not specified, the code SUPERVISOR will be used.


/c= "C:\Logilys\ProDon\Importation\Importation.csv"
This switch allows you to specify the path of the file that you want to load in the module.
If this switch is not specified, no file will be loaded and the import specified by "/n" will have to have already been manually loaded.
The file name must be enclosed in quotes for spaces in the path to be handled properly.


/i
If this switch is specified but the switch /c is not, the file specified in the ProDon import will be used.
If this switch is not specified, the import will not take place.


/d
If this switch is specified, the file used for loading or for the import will be deleted.

Reference : svn://srvdev/ProDon/Autres/Importation automatique


---- Document name: ProDon:Automatic import utility