General Properties
The following properties are valid for all index data readers.
The specific properties of the index data readers are described in the individual reader sections. There, the individual syntax of the ProcessReadIndex[].Field[].InputName property is also explained for each index data reader. Through this property, an index value is extracted from a file attachment.
A field catalog is assigned to a document only when the index data reader is executed. Initially, the default field catalog will be used to execute all index data readers in the order in which they are defined, and to transfer the read contents to the target fields. If no index data reader is defined or no reader is executed conditionally, the fields of the catalog will remain at the initial values. If an alternative field catalog is used based on the contents read, the default catalog will be discarded in its entirety, and the process described will be repeated for the new catalog.
Property | Description |
|---|---|
ProcessReadIndex[].Type* | Type of index data reader (i.e., the data format to be read):
The index data reader Some index data readers (e.g., |
ProcessReadIndex[].ConditionMacro | Field macro expression if the processing of an index data reader is to be executed only under certain conditions (optional) The field macro expression must return a corresponding Boolean value. If the property value is missing, the condition will implicitly be considered satisfied. |
ProcessReadIndex[].FileFilter(%) | Name filter for selecting the index file to be read from the document's file attachments If the value is missing, a filter value matching the data format in question will be set by default (e.g., Only the first file attachment found that matches the filter pattern is used to extract the index data. In the case of ambiguities, the file is determined based on known priorities. If, based on the input data, a file is explicitly known to be an index file or a primary file, it will be prioritized above a file that is a supplementary attachment to such a file. If a file that is not of the correct type is transferred to an index data reader according to the filter, processing will usually result in an error. For the PEPPOL, XRechnung, and ZUGFeRD e-invoice formats, however, an explicit check for a valid format is performed in advance, in order to skip the problematic file and avoid a general processing error. |
ProcessReadIndex[].ReadMultiValues | Boolean value determining whether multiple values will be copied to a single target field Default value: This property applies if multiple values are found for an input field definition in an index file, but the target field for it is a single field. This might be a header data field or an item data field if multiple values are found for a field within an item row. This property is supported by the following index data readers:
Multiple values are transferred in the form of an array, dynamically depending on the number of values actually read. If multiple values are read, an array is transferred. If only one value is read, a single value is transferred. When processing the values, it may be necessary to differentiate between cases or convert them to a uniform format. A single value can be converted to an array using the |
ProcessReadIndex[].Field[].Name* ProcessReadIndex[].Field[].InputName ProcessReadIndex[].Field[].InputFormat | Definition of the assignment of fields to be read into their target fields in the field catalog Under If the name of the target field in the field catalog is identical to the name of the source field, you can omit the The meaning of an The syntax for the input format depends on the target data type. If no input format is defined, a generic parser will try to interpret the index value according to the data type. Use the following syntax for the target data types:
|