Field settings, Validation, Invoicedate – Kofax Transformation Modules Invoice Pack 1.0 User Manual

Page 21

Advertising
background image

Configuration

Kofax Transformation Modules Invoice Pack - Configuration Guide

21

expression) is updated. The settings of the format locator are then
changed so that the generic expression is disabled and the dynamic
expression is enabled. If no dynamic expression is available, then the
generic expression is enabled.

3. There are then more format locators (mentioned above) which run

keywords on the SL_ResetRegEx results in order to identify the correct
possibility.

4. If a specific regular expression was used, we trust it implicitly and thus

allow its results to be found as part of the “first of” process used by the
SE_InvoiceNumber evaluator described below. If the expression used
was generic, we only want results from the keyword based locators to be
available to the standard evaluator, hence setting results from the
SL_InvoiceNumber locator to be 0% in this scenario.

ƒ

SE_InvoiceNumber – This is a standard evaluator which selects a result from
the following locators: KBi.InvoiceNumber, FL_InvoiceNumber_RegExp,
SE_InvoiceNumber_BestOf. As mentioned, this evaluator works on a “first
of” rather than “best of” approach to allow for the enhanced dynamic regular
expression logic.

Field Settings

The InvoiceNumber field takes its result from the SE_InvoiceNumber evaluator
mentioned above. It is formatted using the DefaultInvNumberFormatter, which
removes special characters. The field is set, by default, to require a moderate
confidence to be valid, and its default setting is 60%. The “min. confidence to set
reread result” is set dynamically based on field OCR Confidence settings taken from
the config.xml file.

Validation

The InvoiceNumber field is validated using the DefaultInvNumber scripted
validation. This does a simple check to ensure that any value entered matches the
regular expression for the supplier (either generic or dynamic). The field must also
not be empty.

InvoiceDate

The InvoiceDate field is used to store the date the invoice was sent. This is also
referred to as the tax point or tax date.

Advertising