About CPR Batch

CPR Batch is a WorkZone application module that manages the import and update of CPR contact data in the WorkZone database. Only CPR contacts that have been imported into WorkZone using CPR Online and that also subscribe to CPR Batch updates are updated. CPR contacts that have been manually created in WorkZone Client are not subscribed to the CPR Batch updates.

Important: CPR Batch can only be used on WorkZone installations that use CPR Integration, not CPR Lookup. For information about CPR Integration and CPR Lookup, see About CPR Integration and About CPR Lookup using KMD Logic using KMD Logic.

CPR Batch handles CPR subscriptions in two steps:

  1. Transfer of subscription files from CPR to an interim directory.
  2. Import of source items from the interim directory to the database.

Transferring subscription files

Subscription files from CPR contain among other things a time stamp indicating date and time for the storing of data. This stamp is used by CPR Batch to check whether updates have been made to the current subscription files in the interim directory with CPR Direkte, see About CPR Integration

Import of source items

CPR Batchcompares subscription items in the interim directory with the items in the database. If the Interim directory contains subscription items with an older time stamp than the subscription items in the database, these items are not imported byCPR Batch into the database.

Therefore, subscription data in the database cannot be overwritten with old subscription data. Unprocessed subscription items in the interim directory are only imported into the database, if the data is newer than the existing data in the database. This means that the order of importing unprocessed subscription items to the database is irrelevant.

Format description

The format description for the subscription files, and thereby for the source items, is identical to the format description for the online integration. This means, that you can use the same descriptions as the one used by the online integration, see About CPR Integration.

Firewalls

When you launch CPR Batch for the first time, you will get a warning from the Windows Firewall, because CPR Batch communicates with an external server through an FTP protocol. You must allow this type of communication. Warnings on blocking of traffic may appear. Therefore, you must get the necessary permissions to operate the system.