docs: public Record openMainRecord()
      {
          String strRecord = this.getProperty(DBParams.RECORD);
          String strPackage = this.getProperty("package");
          if ((strRecord == null) || (strPackage == null))
              return null;
          if (strPackage.startsWith("."))
              strPackage = DBConstants.ROOT_PACKAGE.substring(0, DBConstants.ROOT_PACKAGE.length() - 1) + strPackage;   // Never
          String strRecordClassName = strPackage + '.' + strRecord;
          String oldBaseTableProperty = this.getTask().getApplication().getProperty(DBConstants.BASE_TABLE_ONLY);
          this.getTask().getApplication().setProperty(DBConstants.BASE_TABLE_ONLY, DBConstants.TRUE);
          Record record = Record.makeRecordFromClassName(strRecordClassName, this);
          record.setEnableListeners(false);
          record.setEnableFieldListeners(false);
          // Restore properties
          this.getTask().getApplication().setProperty(DBConstants.BASE_TABLE_ONLY, oldBaseTableProperty);   // Make sure system record owner property is reset also
          return record;
      }