Example collectors
The examples shown in the following table are from the NACHA general content configuration table. Not all of the columns for the collectors are shown.
The corresponding count, sum, and unique control fields are shown in Table 2, Table 3, and
Table 4.
| Name | Description | Type | Source record type | Target record type | Target description | Target value | Comparison type | Activation conditional | Evaluation conditional | Error code |
|---|---|---|---|---|---|---|---|---|---|---|
| 58603S | Entry Hash in Batch Control | S | 5 | 8 | ENTRY HASH | = | AC5863S | |||
| 58601U | Trace Number is out of sequence | U | 5 | 8 | AC5860U | |||||
| 66701C | Number Of Addenda Records count does not equal the actual number of addenda records | C | 6 | 6 | NUMBER OF ADDENDA RECORDS | = | IF FIELD: 5,51,3,A in {ATX|CTX| ENR|IAT|TRX} | AC6671C | ||
| 66702C | Addenda Record Indicator | C | 6 | 6 | ADDENDA RECORD INDICATOR | = | AC6672C | |||
| 66704C | Count of addenda records exceeded the max number of 1 | C | 6 | 6 | 1 | >= | IF FIELD: 6,2,2,N not in {21|26|31|36|41 |46|51|56} | IF FIELD: 5,51,3,A in {ACK|ATX|CCD| CIE|COR|DNE|MTE| POS|PPD|SHR|WEB} | AC6674C |
Examples of count collector types
| Name | Record type | Execution conditional |
|---|---|---|
| 66701C | 7 | |
| 66702C | 7 | The following clause allows the counter to increment only once when there are multiple
addenda records for an entry record. IF COLLECTOR:66702C in {0} |
| 66704C | 7 |
Examples of sum collector types
In the examples, GO IDENTIFICATION / RECEIVING DFI IDENTIFICATION identifies the field to
be used for the IAT SEC code and RECEIVING DFI IDENTIFICATION identifies the field for all
other SEC codes. They are used to cross-reference to the validation fields table for the offset and length of
the field within the record.
| Name | Record Type | Field Description | Additional Constant | Execution Conditional |
|---|---|---|---|---|
| 58603S | 6 | RECEIVING DFI IDENTIFICATION | ||
| 58603S | 6 | GO IDENTIFICATION / RECEIVING DFI IDENTIFICATION |
Examples of unique collector types
In the examples, ASCENDING is used because the subsequent values must be larger than the previous values, but not necessarily larger by just one.
| Name | Record Type | Field Description | Ordering | Execution Conditional |
|---|---|---|---|---|
| 58601U | 6 | TRACE NUMBER - ENTRY DETAIL SEQUENCE NUMBER | ASCENDING | |
| 58601U | 6 | SEQUENCE NUMBER WITHIN BATCH | ASCENDING |