Intercompany Transfer Order

In accounts using NetSuite OneWorld and the Multi-Location Inventory (MLI) feature, you can use the Intercompany Transfer Order transaction to move inventory from a location for one subsidiary to a location for another subsidiary.

In the UI, you can access this record at Transactions > Inventory > Enter Intercompany Transfer Orders..

For help working with this record in the UI, see Intercompany Inventory Transfers - Non-Arm's Length.

The internal ID for this record is intercompanytransferorder.

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 help topics:

Supported Script Types

The intercompany transfer order record is scriptable in both client and server SuiteScript.

All three user events are supported: beforeLoad, beforeSubmit, and afterSubmit.

Supported Functions

The intercompany transfer order record is fully scriptable — it can be created, updated, copied, deleted, and searched using SuiteScript. It can also be transformed.

Usage Notes

Intercompany transfer orders are only available when transfer pricing is used, meaning the Use Item Cost as Transfer Cost, at Setup > Accounting > Preferences > Accounting Preferences, on the Order Management subtab, must be disabled.

This record has available transforms. See the SuiteScript Records Browser for available transforms. In the NetSuite Help Center, see record.transform(options) for examples on how to transform records.

Code Samples

The following sample shows how to create an intercompany transfer order.

          var incoTransfer = record.create({
    type: record.Type.INTER_COMPANY_TRANSFER_ORDER,
    isDynamic: true
});
incoTransfer.setValue({
    fieldId: 'orderstatus',
    value: expectedValues.get(orderstatus) //expectedValues is previously defined
});
incoTransfer.setValue({
    fieldId: 'subsidiary',
    value: expectedValues.get(subsidiary)  //expectedValues is previously defined
});
incoTransfer.setValue({
    fieldId: 'tosubsidiary',
    value: expectedValues.get(tosubsidary)  //expectedValues is previously defined
});
incoTransfer.setText({
    fieldId: 'location',
    text: sourceLocationName1
});
incoTransfer.setText({
    fieldId: 'transferlocation',
    text: destinationLocationName1
});
incoTransfer.selectNewLine({
    sublistId: 'item'
});
incoTransfer.setCurrentSublistValue({
    sublistId: 'item', 
    fieldId: 'Item.item',
    value: itemKey
});
incoTransfer.setCurrentSublistValue({
    sublistId: 'item',
    fieldId: 'Item.rate',
    value: rate
});
incoTransfer.setCurrentSublistValue({
    sublistId: 'item',
    fieldId: 'quantity',
    value: quantity
});
incoTransfer.commitLine({
    sublistId: 'item'
});
var key = incoTransfer.save(); 

        

Related Topics

General Notices