added FUNCTION system.get_already_consolidated_records to the consolidation scripy