Header Validation

Once the file is uploaded in the system, you can execute the Header Validation (C1-TXNHV) batch to validate the file or header level information. It checks whether:

  • Transaction Header ID and Transaction Source is available in the header.

  • At least one transaction record is available in the file.

  • The number of transaction records in the file matches the total transaction records in the header.

  • The sum of transaction amount matches the total transaction amount in the header.

  • The sum of transaction volume matches the total transaction volume in the header.

  • File with the same header date and transaction header ID is not available in the system.

  • External reference number is specified in each transaction record of the file.

If the file or header information is validated successfully, the status of the file or feed is changed to Validated (VALI) and the status of all transactions in the feed remains as Uploaded (UPLD). However, if the header validation fails, the status of the feed and all transactions in the feed is changed to Invalid (INVL).

The Header Validation (C1-TXNHV) batch is a multi-threaded batch. You can specify either of the following parameters while executing this batch:

Parameter Name Description Mandatory (Yes or No)
Transaction Header ID Used when you want to validate a particular transaction feed. No
Transaction Source Used when you want to validate the transaction feeds which are received from a particular transaction source. No
Checksum Validation Required Used to indicate whether the following should be validated:
  • The number of transaction records in the file matches the total transaction records in the header.

  • The sum of transaction amount matches the total transaction amount in the header.

  • The sum of transaction volume matches the total transaction volume in the header.

The valid values are:

  • Y

  • N

No
Duplicate Check Required Used to indicate whether the following should be validated:
  • File with the same header date and external header ID is not available in the system.

The valid values are:

  • Y

  • N

Note: The duplicate check is done only against the transaction feeds which are in the Validated (VALI) status and not against the transaction feeds which are in the Uploaded (UPLD) status.
No
Allow Positive Transaction Volume in Header Used to indicate whether you want to allow positive value in the total transaction volume which is specified in the header record. The valid values are:
  • Y

  • N

Note: By default, the parameter value is set to Y.
Yes
Allow Negative Transaction Volume in Header Used to indicate whether you want to allow negative value in the total transaction volume which is specified in the header record. The valid values are:
  • Y

  • N

Note: By default, the parameter value is set to N.
Yes
Allow Zero Transaction Volume in Header Used to indicate whether you want to allow zero value in the total transaction volume which is specified in the header record. The valid values are:
  • Y

  • N

Note: By default, the parameter value is set to N.
Yes
Thread Pool Name Used to specify the thread pool on which you want to execute the batch. No