docs: public int doErrorReturn(int iChangeType, int iErrorCode)        // init this field override for other value
      {
          if (iChangeType == DBConstants.AFTER_ADD_TYPE)
              if (iErrorCode == DBConstants.DUPLICATE_KEY)
          {
              // First, find the first unique key that is not a counter
              Record record = this.getOwner();
              for (int iKeySeq = 0; iKeySeq < record.getKeyAreaCount(); iKeySeq++)
              {
                  KeyArea keyArea = record.getKeyArea(iKeySeq);
                  if (keyArea.getUniqueKeyCode() != DBConstants.UNIQUE)
                      continue;   // Could not have been this key
                  BaseField field = m_fieldToBump;
                  if (field == null)
                      field = keyArea.getField(keyArea.getKeyFields() - 1);
                  if (field instanceof CounterField)
                      continue;  // This could not have had a dup key
                  if (field instanceof NumberField)
                  {   // This is the one
                      if (field instanceof DateTimeField)
                          m_iBumpAmount = KMS_IN_A_MINUTE;
                      long lCurrentValue = (long)field.getValue();
                      for (long lValue = lCurrentValue + 1; lValue < lCurrentValue + REPEAT_COUNT * m_iBumpAmount; lValue = lValue + m_iBumpAmount)
                      {
                          field.setValue(lValue);
                          try {
                              record.add();
                          } catch (DBException ex) {
                              if (ex.getErrorCode() != DBConstants.DUPLICATE_KEY)
                                  break;  // Other error
                              continue;   // Ignore duplicate key error
                          }
                          return DBConstants.NORMAL_RETURN;   // Everything is okay now
                      }
                  }
              }
          }
          return super.doErrorReturn(iChangeType, iErrorCode);
      }