docs: public Record openHeaderRecord()
      {
          Record record = null;
          this.syncContactTypeToMain();    // Read in the current contact record
          ReferenceField fldContactType = (ReferenceField)this.getMainRecord().getField(MessageDetail.CONTACT_TYPE_ID);
          ContactType recContactType = (ContactType)fldContactType.getReferenceRecord(this);
          recContactType = (ContactType)fldContactType.getReference(); // Being careful
          String strHeaderRecordName = null;
          if (recContactType != null)
              strHeaderRecordName = recContactType.getField(ContactType.CODE).toString();
          if ((strHeaderRecordName == null) || (strHeaderRecordName.length() == 0))
              strHeaderRecordName = this.getProperty(fldContactType.getFieldName());
          record = recContactType.makeRecordFromRecordName(strHeaderRecordName, this);
          if (record != null)
                  ((ReferenceField)this.getMainRecord().getField(MessageDetail.PERSON_ID)).setReferenceRecord(record);
          return record;
      }