Item Process Family
The item process family is an item category that uses properties or attributes to identify and group similar items in your warehouse. For example, if you can create a clothing item process family to identify all clothing items.
The item process family record is available when the Warehouse Management feature is enabled. For help working with this record in the UI, see Creating Item Process Families.
The internal ID for this record is itemprocessfamily
.
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 help topics:
Supported Script Types
The item process family record is scriptable in both client and server SuiteScript.
Supported Functions
The item process family record is fully scriptable – it can be created, copied, updated, deleted, and searched using SuiteScript.
Code Samples
The following code sample shows how to create and edit an item process family record using SuiteScript 2.x:
require(["N/record"], function (record) {
function createItemProcessFamily() {
var ipf = record.create({type: record.Type.ITEM_PROCESS_FAMILY});
ipf.setValue({fieldId: "name", value: "Dairy"});
ipf.setValue({fieldId: "description", value: "Products made of milk"});
ipf.save();
}
function editItemProcessFamily() {
var ipf = record.load({type: record.Type.ITEM_PROCESS_FAMILY, id: 7});
ipf.setValue({fieldId: "name", value: "Home Hardware"});
ipf.setValue({fieldId: "description", value: "Products for your home"});
ipf.save();
}
});