Auto Import Job Updates
Previous Topic  Next Topic 

The auto import job updates command enables you to import job updates into DMS.  This command is the same as selecting the Import | Text Import | Import Job Updates via Text File manually from the DMS menu.  In order to import job updates automatically, the user name provided for the login must have access to both the “Enable Auto User Login” and the “Import Mfg Orders”. 


The parameter for the automatic import jobs is:


       AutoImportJobUpdates=command file        


For example, to login to the database WorkData with a user name of Jan Smith to import jobs using the command file C:\Program Files\Dynafact\Import Job Updates Cmd.TXT the following would be used:


"C:\Dynafact\Production\DMS\DMSEnt.exe" "UserIniFolder=C:\Dynafact\Production\DMS\User\" “AutoUserName=Jan Smith” DatabaseName=WorkData “AutoImportJobUpdates=C:\Program Files\Dynafact\Import Job Updates Cmd.TXT"        


The “command file” is an existing text file that holds the import jobs command information.  The command file parameters must never be surrounded in quotation marks even if the parameter has a space in it.  The following commands are given in the schedule command file: 


  1. ImportFilename=(Filename that holds the data to import into DMS.  This parameter is required)
  2. ReportStatusFilename=(Filename to write the import status and any errors to.  If not given, the default filename of import folder\ImportStatus.TXT will be used.


The following example auto import job updates command file will import jobs into DMS from C:\Program Files\Dynafact\DMS\Import\Import.Txt, write the status and any errors to the C:\Program Files\Dynafact\DMS\Import \SomeResults.Txt, and add resources if required.  All other parameters take the default values:


ImportFilename=C:\Program Files\Dynafact\DMS\Import\Import.Txt

ReportStatusFilename=C:\Program Files\Dynafact\DMS\Import \SomeResults.Txt



Also see: Automatic Execution Commands