Auto Delete BOM Links by Job State 
Previous Topic  Next Topic 

The Delete BOM Links by Job State can be executed from a batch or command file.  The format of the command is:


DeleteBOMLinksByJobState=Job State 1;Job State 2; … Job State n


Where Job State 1, Job Sate 2 … Job State n is a list of the job states of the BOM Links to be deleted.  Each job state must be separated by a semi colon.  


The following command line example executes DMS and performs the following commands:


  1. Auto logs into DMS using the user name DMS
  2. Logs into the database named DMSTestJob
  3. Runs the command DeleteBOMLinksJobState and deletes BOM Links with a job state of Forecast and Rework
  4. Auto logs out of DMS.


Note that each command must be surrounded in quotations:


"C:\Dynafact\Production\DMS\DMSEnt.exe" "UserIniFolder=C:\Dynafact\Production\DMS\User\" "AutoUserName=DMS" "DatabaseName=DMSTestJob" "DeleteBOMLinksByJobState= Forecast;Rework" "AutoLogOut"