To import documents from the archive and add to a customer, the following setups are needed:

Setup of the import document definition

The import definition has to import the documents in the “On Hold Journal” and waits for the “Table ID” to be set, therefore the “Table ID” needs to be set as mandatory field. The source field IDs need to be set according to the archive:

image-20240814-130505.png
Import Definition: Red = needed line fields; Green = optional

These are only example fields. For production usage we recommend using more fields.

To make sure only documents from this definition are assigned to a customer, we create a new “On Hold Journal Batch”:

image-20240814-095941.png
Create On Hold Batch
image-20240814-100027.png
New Batch

Enable the Import in the import definition

image-20240814-102350.png
Example Import Definition

If more documents are saved in one large repository, you can filter with “Import QL”.

Setup of batch assignment

It needs to be defined, which export definition should be used, to assign the documents.

Go to the document definition of “Customers” and select the action “Assignment with batch job”:

image-20240814-100618.png
Cusomter Document Definition

In the batch job, the “Enable batch job 'Assign ECM JnlLine by Field Account - Contact” needs to be set. If unknown document categories should be imported, “Ignore Document Category” must be set:

image-20240814-100746.png
Assignment with batch job

New ECM Job Queue Entry for batch assignment

Right now the documents will only be imported to the on hold journal, but not assigned to a customer. To activate it, the following line needs to be added:

image-20240814-101216.png
Creation of the job

This job should run after import and before “Revise & Post”, please create it accordingly.

The filter/parameter should be setup as well, to only assign documents in the newly created batch:

image-20240814-101341.png
Parameter Options