Item Collection Item Map
This record holds the relationship between an item collection and the items it contains.
It is not accessible from the UI.
The internal ID for this record is itemcollectionitemmap
.
See the SuiteScript Records Browser for all internal IDs associated with this record.
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:
-
Read
-
Create
-
Delete
-
Search
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.
Script Sample
The following code snippets deletes the item collection item map record that has the ID of 1.
// SS 2.0
require(["N/record"], function(record){
var mapping = record.load({type: "itemcollectionitemmap", id: 1});
record.delete({type: "itemcollectionitemmap", id: 1});
});