Core HR to M3 Interface Command Line Utilities

The command line utilities reside in the Program Files folder that is created when the product is installed. The Millennium user that is configured to run the command line utility must have security access to the companies included in the sync.

Sync (Sync.exe)

Synchronizes all companies in the payroll database set up as member companies of an HR company and the “Enable Scheduled Sync” option is checked on the company. By default, the sync runs as incrementally from the last successful sync time stored on the company (changes only) unless 1) a sync has never been performed on the company or 2) the FullSync command line parameter is set to True.

Parameters:

  • Username - The Millennium user that the process will run under.
  • Password – The Millennium user’s password.
  • Database – The Millennium database that will be used to synchronize the employee data.
  • FullSync - Set to True to enable a full sync of all companies.

Generate Paystubs (GeneratePaystubs.exe)

Generates a paystub for all companies in the payroll database set up as member companies of an HR company and the “Enable Paystubs” option is checked on the company. The pay stubs created are for a check date of “today” (the date that utility is executed). For advanced parameters, (custom date range, a single company or a single employee) the Admin Console must be used to manually generate the paystubs.

Parameters:

  • Username - The Millennium user that the process will run under.
  • Password – The Millennium user’s password.
  • Database – The Millennium database that will be used to generate the paystubs. This is also the database whose process servers will process the CRWPrint jobs to create the PDFs.
  • PDFPath – The full path to the folder where the PDFs will be created. Can be a local or network (UNC) path. This path will need to be used to upload the paystubs as well.

Upload Paystubs (UploadPaystubs.exe)

Uploads all paystubs in the specified folder to Core HR. The paystubs are created with a specialized naming convention which begins with the Core HR company code.

Parameters:

  • Username - The Millennium user that the process will run under.
  • Password – The Millennium user’s password.
  • Database – The Millennium database that will be used to generate the paystubs. This is also the database whose process servers will process the CRWPrint jobs to create the PDFs.
  • PDFPath – The full path to the folder where the PDFs reside that will be uploaded.

Generate W2s (GenerateW2s.exe)

Generates a W2 for all companies in the payroll database set up as member companies of an HR company and the “Enable W2s” option is checked on the company. The W2s are created for the prior year (from the date that utility is executed). For advanced parameters, (other years, a single company or a single employee) the Admin Console must be used to manually generate the W2s.

Parameters:

  • Username - The Millennium user that the process will run under.
  • Password – The Millennium user’s password.
  • Database – The Millennium database that will be used to generate the W2s. This is also the database whose process servers will process the CRWPrint jobs to create the PDFs.
  • PDF Path – The full path to the folder where the PDFs will be created. Can be a local or network (UNC) path. This path will need to be used to upload the W2s as well.

Upload W2s (UploadW2s.exe)

Uploads all W2s in the specified folder to Core HR. The W2s are created with a specialized naming convention which begins with the Core HR company code.

Parameters:

  • Username - The Millennium user that the process will run under.
  • Password – The Millennium user’s password.
  • Database – The Millennium database that will be used to generate the W2s. This is also the database whose process servers will process the CRWPrint jobs to create the PDFs.
  • PDFPath – The full path to the folder where the PDFs reside that will be uploaded.
Was this article helpful?
0 out of 0 found this helpful