Column column = rec.getColumn(i);
if (column==null)
continue;
if (column!=timestamp)
{ // Check if column was modified
if (rec.wasModified(column)==false || rec.isFieldReadOnly(column)==false)
continue;
// Check whether column is a key column
if (isKeyColumn(column, keyCols))
continue;
}