code: public void mergeSourceData(Record recSource, Record recDest, boolean bFound)
      {
          for (int iFieldSeq = 0; iFieldSeq < recSource.getFieldCount(); iFieldSeq++)
          {
              BaseField fldSource = recSource.getField(iFieldSeq);
              BaseField fldDest = recDest.getField(fldSource.getFieldName());
              if (fldDest != null)
                  if (!fldSource.isNull())
                      fldDest.moveFieldToThis(fldSource);
          }
      }
docs: Merge this source record with the destination record.
  @param recSource
  @param recDest.