We can add custom HTML tables/components inside any NetSuite record body or subtabs using an ‘Inline HTML’ field. For this first create a ‘inline HTML’ field inside the required record. Add the HTML code in the ‘Default value’ field under the ‘Validation & Defaulting’ subtab in the field record. For this, we can check the ‘Formula’ check box and write the code inside quotes. If you are loading the HTML components using a suitelet, use the ‘<iframe>’ HTML component and add the suitelet path using the ‘src’ property. The styling can be added to the ‘<iframe’ component to set the overall height and width of the HTML component. Refer to the following example used inside the ‘default value’ field:
<iframe src="/app/site/hosting/scriptlet.nl?script=200&deploy=1&folder=file-upload&file=index.html&transactionUUID='||{custbody_uuid}||'&recordIdValue='||{id}||'"
title="Iframe HTML Component" height="768" width="100%"></iframe>