Creates one or more clearing records
Single clearing record or array of clearing records to create
Result containing the created clearing records as an array
Inserts the PENDING records not already stored and returns how many were new. A record matching a stored line (either unique index) is skipped, so re-reading a date's file never duplicates a record.
The process service, on the shared database and the transaction cache buster.