How to create folders in a NetSuite account through SuiteScript

Folders in the file cabinet are helpful to keep files regarding specific customers or transactions in NetSuite. We can create these folders through the suite script as well.Folders in the file cabinet are a type of NetSuite records and can be created using the ‘record.create()’ function like any other records. Use the ‘N/record’ module for… Continue reading How to create folders in a NetSuite account through SuiteScript

Restrict the Item Fulfillment creation if a custom checkbox is checked.

Restrict the Item Fulfillment creation if a custom checkbox is checked. No need to show Fulfill button in the Sales Order User Event Script is used.beforeLoad is entry point selected.1.First create a custom checkbox in NetSuite Customization > Lists, Records & Fields > Transaction Body Fields > new a. label: Hold Fulfillment b. type: Check… Continue reading Restrict the Item Fulfillment creation if a custom checkbox is checked.

How to avoid search result limit exceeding error in NetSuite saved search

NetSuite has a limit of 4000 results at a time for every saved search result execution (run function). If the search result returns more than 4000 results this can lead to a search limit exceeding the error.The error message will be: ‘SSS_SEARCH_FOR_EACH_LIMIT_EXCEEDED’: This error can be avoided by using a paging function for running the… Continue reading How to avoid search result limit exceeding error in NetSuite saved search

Hide a Field from the Customer payment record(External)

//Info: CDUS-2259 The Make default field under the credit card information tab in the external customer payment record is checked while creating a payment. It is noted this field is disabled in Transaction forms as well as not accessible in the workflows. We set this field as unchecked and set it to Hidden so that… Continue reading Hide a Field from the Customer payment record(External)