Skip to main content

SuiteScript Updates in NetSuite 2022.1

2022.1 SuiteScript |

This release note was updated August 10, 2022. Refer to the following sections for details on SuiteScript updates for NetSuite 2022.1:

  • Records Catalog Enhancements
  • 2022.1 SuiteScript Record Exposures
  • 2022.1 SuiteScript Records Browser

Records Catalog Enhancements

The Records Catalog is a contextual reference tool that describes the NetSuite model structure and behavior. This tool supports users in developing integrations, adopting new features, and learning about the NetSuite model. Within the Records Catalog, you can find information about the record types and fields available for specific NetSuite channels. This dynamic NetSuite model reflects the customizations and features enabled in your account. The Records Catalog contains the following enhancements:

  • Label Change
  • Feature and Permission Columns Available in the Records Catalog
  • Show or Hide Unavailable Fields and Subrecords Checkbox
  • Records Catalog Available for All Users
  • Field Filtering in the Records Catalog

Label Change

The Records Catalog now contains information that can be used for both the SuiteScript Analytics API and for the REST Query API. Based on this change the label SuiteScript Analytic API has been changed to SuiteScript and REST Query API. For more information, see the help topic The Records Catalog. Feature and Permission Columns Available in the Records

Catalog

In the Records Catalog under SuiteScript and REST Query API, you can see the fields available in the API, grouped by record type (for example, Customer) or by its subrecords. This page now includes the following new columns:

  • Feature column - Displays information about the feature that enables the use of the fields on the corresponding line.
  • Permission column - Displays information about the permissions that controls the fields on the corresponding line. For more information, see the help topic Records Catalog Fields Available for SuiteScript and Rest Query API.

Show or Hide Unavailable Fields and Subrecords Checkbox

Certain fields or subrecords may not be available on a record for the current user account. The records catalog now provides a checkbox to show or hide these fields and subrecords on the current user account. For more information, see the help topic Records Catalog Fields Available for SuiteScript and Rest Query API.

Records Catalog Available for All Users

The Records Catalog is now available for all users with the Records Catalog permission. To open the Records Catalog go to Setup > Records Catalog or https://system.netsuite.com/app/recordscatalog/ rcbrowser.nl. For more information, see the help topic Records Catalog Overview.

Field Filtering in the Records Catalog

The Records Catalog now provides field filtering. You can search the label or scriptId of a field within the record type’s structure. You can find Field Filtering in the top part of the left panel in the Records Catalog page. For more information, see the help topic Navigating the Records Catalog. 2022.1 SuiteScript Record Exposures Record Type Newly Exposed or Notes

Updated

Planning View Newly exposed The Planning View record is available when the Material Requirements Planning feature is enabled. The Planning View record is scriptable in both server and client SuiteScript. The Planning View record is fully scriptable — it can be created, updated, copied, deleted, and searched using SuiteScript. It can also be transformed.

Project Intercompany Cross Newly exposed The Project Intercompany Cross Charge Request record is

Charge Request available when the Project Management and Intercompany Framework features are enabled. The Project Intercompany Cross Charge Request record is scriptable in both server and client SuiteScript. Record Type Newly Exposed or Notes

Updated

The Project Intercompany Cross Charge Request record is fully scriptable — it can be created, updated, copied, deleted, and searched using SuiteScript. 2022.1 SuiteScript Records Browser The 2022.1 version of the SuiteScript Records Browser is now available. You can find links to the SuiteScript Records Browser in several places, including the following:

  • The help topic titled Working with the SuiteScript Records Browser.
  • The reference page for each supported record in the SuiteScript Records Guide. The SuiteScript Records Guide is available in the NetSuite Help Center and can be downloaded as a PDF from the User Guides topic.