RecordType recordType = typeManager.getRecordTypeByName(record.getRecordTypeName(scope), record.getVersion());
if (recordType != null) {
recordTypeIds.put(scope, recordType.getId());
}
}
IdRecord idRecord = new IdRecordImpl(record, map, recordTypeIds);
return idRecord;
}