Item Location Configuration

The internal ID for this record is itemlocationconfiguration.

The item location configuration record is available only when the following features are enabled:

The Advanced Item Location Configuration feature supports tracking of location attributes data for items in accounts where the Multi-Location Inventory and Advanced Inventory Management features are enabled. For information about these features, see Advanced Inventory Management and Multi-Location Inventory.

For help working with this record in the UI, see the following help topics:

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

Supported Script Types

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

Supported Operations

The item location configuration record can be created, read, edited, deleted, and searched using SuiteScript. It cannot be copied or transformed.

Code Sample

The following samples illustrate how to make changes on an item location configuration record.

          // OW account, subsidiary (id=1) "Parent Company", locations: (id=6) "US ONLY Location"
// Create Record (OW account, )
var itemLocConfigRec = record.create({
    type: record.Type.ITEM_LOCATION_CONFIGURATION,
    defaultValues: {
        item: '18'
    }
});
itemLocConfigRec.setValue({
    fieldId: 'subsidiary',
    value: '1'
});
itemLocConfigRec.setValue({
    fieldId: 'location',
    value: '6'
});
itemLocConfigRec.setValue({
    fieldId: 'itemid',
    value: '18'
});
itemLocConfigRec.setValue({
    fieldId: 'name',
    value: 'ilc record1'
});
var recId = itemLocConfigRec.save();

// Update Record
var itemLocConfigRec2 = record.load({
    type: record.Type.ITEM_LOCATION_CONFIGURATION,
    id: '10'
});
itemLocConfigRec2.setValue({
    fieldId: 'defaultreturncost',
    value: '4.3'
});
itemLocConfigRec2.setValue({
    fieldId: 'poreceiptcost',
    value: '7.54'
});
itemLocConfigRec2.setValue({
    fieldId: 'safetystocklevel',
    value: '12'
});
itemLocConfigRec2.save();

// Delete Record
record.delete({
    type: record.Type.ITEM_LOCATION_CONFIGURATION,
    id: '10'
}); 

        

Related Topics

Advanced Item Location Configuration
Enabling Advanced Item Location Configuration
Using Advanced Item Location Configuration
Working with the SuiteScript Records Browser
SuiteCloud Supported Records
Lists

General Notices