DOCUMENT_PROC
Feature available from Bizview version - Bizview 2011 R3 (1.0404.1530)_03
= optional in PARAM sheet
Parameter (col A in PARAM) | Mandatory/Optional | Value in col C (example) | Value in col D (example) | Value in col E (example) | Occurrence in PARAM sheet | Comment | |
---|---|---|---|---|---|---|---|
FORM | REPORT | ||||||
Available from Bizview 2011 R3 (1.0404.1530)_03 | <procedure name> | n/a | n/a | 1 | A procedure must be used if scanned TIFF-documents should be viewed from Bizview. One, or several, TIFF documents will be converted to one PDF document and streamed over to the client. |
DOCUMENT_PROC is an optional parameter, that should be used when scanned TIFF document should be viewed from Bizview. One, or several, TIFF documents will be converted to one PDF document and streamed over to the client. In order for Bizview to know which TIFF documents belong together, a procedure must be used that returns the correct documents for each doc_id.
A DOCUMENT_PROC also needs to be defined if XML invoices (available from Bizview 7.1.8) should be viewed within Bizview. In addition to defining a procedure for viewing XML invoices, an XML template must be configured. For more information about template configuration, see XML invoices.
If a DOCUMENT_PROC is used, then the search path returned by the transaction view or procedure (towards the transaction report or drill is run) must be with the following syntax: getdoc?action=DOCUMENT_PROC&doc_id=560.
If the search path contains action=DOCUMENT_PROC, then Bizview will know that it is the procedure defined in this parameter that needs to be run in order to return the correct document(s).
If NO procedure is used, then the search path returned by the transaction view or procedure can, for example, be with the following syntax: getdoc?\\172.18.0.22\DOCS\DOC3020.pdf
Procedure parameters (receiving parameters, must be named exactly as below):
- @client_id
- @user_id
- @doc_id
Access Document Procedures from Template Design right panel by selecting Parameters > Scanned Documents > Document Procedure.
The procedures visible in the drop down for this parameter are those saved in the cust. schema in the Bizview database with three input variables.
Procedure Examples
Tiff Documents
XML Documents
Source_type column: Must be defined as XML.
Source_patch column: Can either contain the actual XML document or a file patch to the XML document.