X4 Produktdokumentation

Record Counter

The adapter counts records in the input data determined by a delimiter. This adapter treats all input data as text and outputs an XML document that contains the number of records.

Properties

Operation

Determines which operation the adapter executes

Possible values: Count: Count records in the input data

Parameter

Adapter

Main class of the adapter (do not change!)

Possible values: de.softproject.integration.adapter.RecordCounter: Main class (default)

RecordID

Separator used (or escape sequence)

Possible values:

  • Any character (e.g. ,)

  • \n: Interpret line break as separator (default)

Status values


1

The operation was executed successfully.

-1

The operation failed due to a technical error.

Output

The successfully executed Record Counter returns an XML document with the following pattern:

<RecordCount><!--Anzahl der Datensätze--></RecordCount>