How to Make a NetSuite Sublist Field Read-Only Using jQuery (LIST Type)

In NetSuite, when using a LIST-type sublist in a Suitelet, setting a field as disabled prevents updates even from scripts like setSublistValue. However, there are cases where you want a field to appear read-only to the user but still update it via script. Here’s a simple JavaScript function that makes a specific sublist field read-only… Continue reading How to Make a NetSuite Sublist Field Read-Only Using jQuery (LIST Type)

Handling Virtual Sublist Display in SuiteScript 2.x

In this article, we’ll explore the creation and manipulation of virtual sublists in NetSuite using the SuiteScript 2.x API. Specifically, it will focus on the part of the script where the sublist is created and populated with values. Introduction: Overview of virtual sublists and why they are useful. Creating a Sublist: How to create a… Continue reading Handling Virtual Sublist Display in SuiteScript 2.x

Expose the Contacts Sublist on Lead Records

Navigate to Customization > Forms > Entry Forms Standard Lead Form: Click Customize Name: Enter Name Enable Field Editing On Lists: Enter Checkmark Store Form With Record: Enter Checkmark Form Is Preferred: Enter Checkmark Click Sublists tab Click Relationships subtab Contacts: Show: Enter Checkmark Click Save

Create a Custom Sublist From a Saved Search

Custom Sublists Did you know it is possible in NetSuite to create a custom sublist on a record from a Saved Search? Sublists are useful to find relevant information easily. Instead of navigating to a Saved Search each time you need to find a certain list of important data, what if you could simply scroll… Continue reading Create a Custom Sublist From a Saved Search

Sub-Customer Transaction Details into Parent Profiles: Feasibility check

Creating a Custom Field in Transaction Records Field Setup: Create a custom field to store parent customer information in activity records. Field Type: Set the field type to List/Record. Field List: Specify Customer as the source list. Subtab Selection: Place this field on the appropriate subtab within the customer record for visibility and accessibility. Automating… Continue reading Sub-Customer Transaction Details into Parent Profiles: Feasibility check

Creating a custom sublist dynamically inside a Record

if(Record_Roles[recordStatus]==runtime.getCurrentUser().role|| runtime.getCurrentUser().role==’3′){ let skillSelected = scriptContext.newRecord.getValue({fieldId: ‘custrecord_jj_skill_rec_req’}); log.debug(“skillSet”,skillSelected) let startDate = scriptContext.newRecord.getText({fieldId: ‘custrecord_jj_rec_req_start’}); let endDate = scriptContext.newRecord.getText({fieldId: ‘custrecord_jj_end_date_rec_req’}); let suggestionDetails=getEmployeeDetails(skillSelected,startDate,endDate); let customTab= scriptContext.form.addTab({ id: ‘custpage_resource_tab’, label: ‘Resource Availablity’ }); let sublist = scriptContext.form.addSublist({ id: ‘custpage_my_sublist’, label: ‘My Sublist Label’, type: serverWidget.SublistType.STATICLIST, tab: ‘custpage_resource_tab’ }); // Add fields to the sublist sublist.addField({ id: ‘custpage_resource’, label: ‘RESOURCE’,… Continue reading Creating a custom sublist dynamically inside a Record

Suitelet form to display an Editable Sublist

Description  Defining the SuiteLet sublist as SublistType.LIST will not allow us to edit the Sublist in NetSuite. So we have two options to solve this issue. Solution Change SuiteList SublistType to “INLINEEDITOR“ There is a another option where you can still use the sublist display type LIST (if that’s important to you), but you just… Continue reading Suitelet form to display an Editable Sublist