docs: public final Record makeReferenceRecord()
      {
          if (m_recordReference != null)
              return m_recordReference;       // It already exists
          RecordOwner recordOwner = null;
          if (this.getRecord() != null)
              recordOwner = Record.findRecordOwner(this.getRecord());    // This way the record has access to the correct environment.
          this.setReferenceRecord(this.makeReferenceRecord(recordOwner));
          return m_recordReference;
      }