Item Collection

Item collections are a general purpose way of grouping catalog items. They are particularly useful in setting up Personalized Catalog Views.

For help working with this record in the user interface, see Item Collections.

In the UI, you can go to Lists > Accounting > Item Collections to access this record.

The internal ID for this record is itemcollection.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

For information about scripting with this record in SuiteScript, see the following:

Supported Script Types

The item collection record is scriptable in both client and server SuiteScript.

Supported Functions

The following SuiteScript functionality is supported:

Usage Notes

You must enable the Inventory feature on the Items & Inventory subtab at Setup > Company > Enable Features to be able to script with this record. This record cannot be used to add items to an item collection. Adding items is done using the Item Collection Item Map record.

The Item Collection record has two sublists:

Script Sample

The following code snippet creates an item collection record with the name Item Collection 1.

          // SS 2.0
require(["N/record"], function(record){
  var collection = record.load({type: "itemcollection", id: "1"});
  collection.setValue({fieldId: "name", value: "ItemCollection 1"});
  collection.save();
}); 

        

Related Topics

Item Collections
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Lists
Using SuiteScript with NetSuite Records

General Notices