In this example, we import purchase delivery notes from DM, assign them to a purchase order, and then transfer the document to the purchasing repository in DM.

This uses experimental features in DM, which are subject to change. The "Generic Extraction" extension must be activated beforehand. This may incur additional costs.

As of 2025-05-16

Preparation DM

Definition of the trait

A new trait must be created in which our “Order No.” field is extracted from the document:

image-20250516-111456.png

Definition of the type

The previously created trait should be assigned to a new type, which also contains system and binary as traits:

image-20250516-111551.png

Setting up orchestration for AI extraction

In this example, the extraction is done first via Tika, then “Generic document extraction”:

image-20250516-111645.pngimage-20250516-111722.png

And the store comes at the end.

Preparation BC

Reading the new traits and types

The newly created traits and types still need to be read out, so we start the “Import ECM Structure” again in the “ECM Server”:

image-20250516-111920.pngimage-20250516-111937.png

Creating a new import document definition

The new import document definition must be based on the newly created repository (type). In the lines, ensure that the document number is imported. Additional fields can also be added. In addition, a new, individual document category "AI-EK-LIEFERUNG" is used here for more precise definition and highlighting:

image-20250516-112116.png

Setting up import monitoring and optionally the subsequent transfer to the purchasing repository with the metadata of the purchasing order:

image-20250516-112306.png

A newly created journal should be stored in the Booking tab:

image-20250516-112405.png

Setting up batch processing

In the import document definition, you can access the “Assignment with batch processing” via the actions:

image-20250516-112810.png

Here, you must specify which "export document definition" the imports are assigned to. We store the export definition of the purchase orders for the document category "AI-EK-DELIVERY" and check the box next to "Batch assignment "On Hold Journal Line assign using document no. field":

image-20250516-112926.png

Setting up the “ECM Job Queue Entries”

To run the entire process automatically in BC, the ECM Job Queue can be edited as follows:

The filter in report execution 5125001 should be set to the new journal. Running the export in step 42 executes the transfer immediately.

All selected rows should have the “Active” check mark.

image-20250516-112633.png

Result step-by-step

The steps are all carried out automatically, but are shown here individually.

The new delivery note is created in DM (e.g. Mail Fetcher) and our order number is extracted via AI:

image-20250516-113125.png

The document is imported into the On Hold journal via the import:

image-20250516-113441.png

Assigning the target data record using batch assignment:

image-20250516-113642.png

Transfer journal after “Check & Post” of the waiting journal:

image-20250516-113801.png

ECM queue after transfer & update:

image-20250516-113857.png

Final result Factbox

Document items in the “ECM Documents” factbox:

image-20250516-115832.png

Final result easy dm

Transferred document in easy dm in the Repository/Type Purchase:

image-20250516-114214.png