I have a custom record that has `hierarchical` is ...
# sdf
t
I have a custom record that has
hierarchical
is checked and there is a one select field on it. This select field has
Source List
as
Parent
and
Source From
as
this select field itself
. I tried to create SuiteApp using this custom record and while deploying it gave an error. Custom Record XML
Copy code
<customrecordtype scriptid="customrecord_ext_comm_commtable">
  <accesstype>NONENEEDED</accesstype>
  <allowattachments>T</allowattachments>
  <allowinlinedeleting>T</allowinlinedeleting>
  <allowinlinedetaching>T</allowinlinedetaching>
  <allowinlineediting>T</allowinlineediting>
  <allowmobileaccess>F</allowmobileaccess>
  <allownumberingoverride>F</allownumberingoverride>
  <allowquickadd>T</allowquickadd>
  <allowquicksearch>F</allowquicksearch>
  <allowuiaccess>T</allowuiaccess>
  <description></description>
  <enabledle>T</enabledle>
  <enablekeywords>F</enablekeywords>
  <enablemailmerge>F</enablemailmerge>
  <enablenumbering>F</enablenumbering>
  <enableoptimisticlocking>T</enableoptimisticlocking>
  <enablesystemnotes>T</enablesystemnotes>
  <hierarchical>T</hierarchical>
  <icon></icon>
  <iconbuiltin>T</iconbuiltin>
  <iconindex></iconindex>
  <includeinsearchmenu>T</includeinsearchmenu>
  <includename>T</includename>
  <isinactive>F</isinactive>
  <isordered>F</isordered>
  <numberinginit></numberinginit>
  <numberingmindigits></numberingmindigits>
  <numberingprefix></numberingprefix>
  <numberingsuffix></numberingsuffix>
  <recordname>eXtend - Commission Table</recordname>
  <showcreationdate>F</showcreationdate>
  <showcreationdateonlist>F</showcreationdateonlist>
  <showid>F</showid>
  <showlastmodified>F</showlastmodified>
  <showlastmodifiedonlist>F</showlastmodifiedonlist>
  <shownotes>T</shownotes>
  <showowner>F</showowner>
  <showownerallowchange>F</showownerallowchange>
  <showowneronlist>F</showowneronlist>
  <customrecordcustomfields>
    <customrecordcustomfield scriptid="custrecord_ext_comm_jobtype">
      <accesslevel>2</accesslevel>
      <allowquickadd>F</allowquickadd>
      <applyformatting>F</applyformatting>
      <checkspelling>F</checkspelling>
      <defaultchecked>F</defaultchecked>
      <defaultselection></defaultselection>
      <defaultvalue></defaultvalue>
      <description>Select whether commission is to be calculated on Gross Sales or Gross Profit.</description>
      <displayheight></displayheight>
      <displaytype>NORMAL</displaytype>
      <displaywidth></displaywidth>
      <dynamicdefault></dynamicdefault>
      <encryptatrest>F</encryptatrest>
      <fieldtype>SELECT</fieldtype>
      <globalsearch>F</globalsearch>
      <help>Select whether commission is to be calculated on Gross Sales or Gross Profit.</help>
      <isformula>F</isformula>
      <ismandatory>F</ismandatory>
      <isparent>F</isparent>
      <label>eXtend - Commission Type</label>
      <linktext></linktext>
      <maxlength></maxlength>
      <maxvalue></maxvalue>
      <minvalue></minvalue>
      <onparentdelete>NO_ACTION</onparentdelete>
      <parentsubtab></parentsubtab>
      <rolerestrict>F</rolerestrict>
      <searchcomparefield></searchcomparefield>
      <searchdefault></searchdefault>
      <searchlevel>2</searchlevel>
      <selectrecordtype>[scriptid=customlist_ext_comm_commtype]</selectrecordtype>
      <showinlist>T</showinlist>
      <sourcefilterby></sourcefilterby>
      <sourcefrom>[scriptid=customrecord_ext_comm_commtable.custrecord_ext_comm_jobtype]</sourcefrom>
      <sourcelist>STDRECORDPARENT</sourcelist>
      <storevalue>T</storevalue>
      <subtab></subtab>
    </customrecordcustomfield>
  </customrecordcustomfields>
</customrecordtype>
Error Received
Copy code
WARNING -- One or more potential issues were found during custom object validation. (custrecord_ext_comm_jobtype)
Details: Circular dependencies detected. The following custom objects reference each other in a way that creates direct dependencies: custrecord_ext_comm_jobtype -> custrecord_ext_comm_jobtype
If deployment fails, ensure that each custom object does not reference any custom object that references it.

An error occurred during custom object validation. (customrecord_ext_comm_commtable)
Details: The [scriptid=customrecord_ext_comm_commtable.custrecord_ext_comm_jobtype] object referenced by the sourcefrom field in the custrecord_ext_comm_jobtype (customrecordcustomfield) subrecord must not reference itself
File: ~/Objects/customrecord_ext_comm_commtable.xml