Planning Item Category

Planning item categories organize and display items in a hierarchy. Due to the volume of data involved in supply planning, this hierarchy helps you to more easily aggregate and inspect items.

For help working with the planned order record in the UI, see Creating Planning Item Categories to an Item.

The internal ID for this record is planningitemcategory.

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

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

Supported Script Types

The planning item category record is scriptable in server and client SuiteScript.

Supported Functions

The planning item category record can only be created, read, updated, deleted, searched, and copied. It cannot be transformed.

Usage Notes

To work with the planning item category record, you must enable material requirements planning. To do this, go to Setup > Company > Enable Features. Check the Material Requirements Planning box under Items & Inventory.

Code Samples

SuiteScript 2.x

The following sample shows how to create a planning item category record using SuiteScript 2.x:

          require(['N/record'], function(record) {
    var planningItemCategory = record.create({type :'planningitemcategory', isDynamic : true});
    planningItemCategory.setValue({fieldId:'name', value : 'PlanningItem Category'});
    planningItemCategory.save();
}); 

        

Related Topics

General Notices