Validating the Treasury Check Operation
To validate the treasury check operation, the followings steps
are performed:
- Verify the ibmNprPc field contains a value. If it does not, return with validation passed
- Convert the process control field to a date. The format is AAMMYY, where AA is an agency code. If the conversion fails, return with a validation error.
- Advance that date one year and compare it to today’s date. If the date in the process control field is more than one year, return with a validation error.
- Return with validation passed.