Skip to content

Setting up document capture

On the Reports page (menu Reports), users see one card per configured capture type. With a card they upload a file or create a document without a file, for example a reclassification document. What this looks like for users is described in Upload.

Reports page with two cards: one with file upload and the selection fields Organization Unit and Classification, one without a file

Each card is an entry in the table conf.IrReport. There is no user interface for editing; the entries are maintained with SQL.

ColumnMeaning
IdGUID of the entry.
TenantIdTenant.
NameTitle of the card. Can be a localization key, then it is shown translated.
DescriptionDescription on the card, also localizable.
ExternalIdPrefixOptional. Prefix for the document number; invoiceR appends a sequential number.
ProcessIdProcess in which the new document is created (conf.Processes).
NodeIdWorkflow step in which the first task starts (conf.Nodes).
ClassificationIdOptional. Default classification; otherwise the process classification applies.
ShowClassificationSelectorThe user selects the Classification.
ShowOrganizationUnitSelectorThe user selects the Organization Unit.
DefaultIrOrganizationUnitIdOrganization unit if the user selects none and is not assigned to one.
ShowAssignUserSelectorThe user selects the Assignment User for the first task.
ShowAssignRoleSelectorThe user selects the Assignment Role for the first task.
ShowDocumentUploadThe card shows the file upload field. Without this option a document without a file is created.
StartTaskAsBlocked1: the task starts blocked, the user checks and completes the document first. 0: the document runs straight through the workflow.
DocumentRecogniserIdOptional. Text recognition service the uploaded file is sent to (conf.DocumentRecognisers).
ConfirmCreationTitle, ConfirmCreationMessageOptional. Title and text of a confirmation prompt before the document is created.

A card with which users upload an invoice, select the organization unit themselves and check the document before it starts:

INSERT INTO conf.IrReport
(Id, TenantId, Name, Description, ProcessId, NodeId,
ShowDocumentUpload, ShowOrganizationUnitSelector, ShowClassificationSelector,
ShowAssignUserSelector, ShowAssignRoleSelector, StartTaskAsBlocked)
VALUES
(NEWID(), 1, N'Upload invoice', N'Capture and check a PDF invoice',
'<process-id>', '<node-id>',
1, 1, 0,
0, 0, 1);

You find the IDs for process and workflow step in conf.Processes and conf.Nodes.