code: public boolean freeSubNodeRecord(Rec record)
      {
          m_recTargetFieldList = null;
          if (record != null)
          {
              record.free();
              return true;
          }
          return false;
      }
docs: Create the sub-detail record.
  @param record
  @return