How to Run a Docentric Basic Report in Batch

We can run a Docentric Basic report in batch through the report dialog form for every print destination except for Screen and Generate DS.

By clicking the OK button on the batch dialog form, the batch job is created and added to the batch queue.

Running a report in batch from the code

We can also run a Docentric Basic report in batch from the code.

Let’s say that we want to schedule a job for sending particular documents (e.g. Collection letter notes) to the corresponding vendors, i.e. to a vendor contact email, on the end of each month. We can write the business logic that iterates through the all required records and for the each record creates a batch job that runs a particular report to the email of the corresponding vendor.

The example below is showing how to print purchase orders, selected by certain conditions, as reports to the emails of the corresponding vendors in batch.

See also

How to Run a Docentric Basic Report from Code >>
How to Send a Docentric Basic Report to Multiple Print Destinations >>
Basic Report Examples >>

IN THIS ARTICLE