Hi All, facing an issue while adding a tab (contai...
# suitescript
s
Hi All, facing an issue while adding a tab (containing list of transactions) to a custom record in NetSuite using SuiteApp eclipse setup: In my custom record’s definition, added a new subtab Deposits:
Copy code
<subtabs>
   <subtab scriptid="tab_224_t841073_temp">
    <tabparent></tabparent>
    <tabtitle>Deposits</tabtitle>
   </subtab>
  </subtabs>
And in the custom field that I’m trying to mark as <isparent>T</isparent>, I’m setting the <parentsubtab>[scriptid=<myscriptID>. _tab_224_t841073_temp_]</parentsubtab> But I keep getting an error: The [scriptid=<>.tab_224_t841073_temp] object referenced by the parentsubtab field is missing. I’m not sure what I’m missing here.
b
#C42JX79UZ as with all questions, i recommend giving enough information for someone to easily recreate the problem, in this case giving appropriate xml files
s
Hey, these are the 2 xml files concerned. custbody_celigo_payout.xml is the field that is marked as <isparent>T</isparent> and customrecord_celigo_payout.xml where I’ve added a new tab.
b
again, you probably want to ask in #C42JX79UZ which has the advantage of being monitored by netsuite employees
that said, you cant have a transaction body field appear in a custom record subtab
you probably want to create a custom subtab using the Subtabs as XML Definitions
and then reference that subtab in your transaction body field
i personally recommend creating things in the ui first, download the xml, and modify it as needed
👍 3