NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Cost Revaluation → Insert record

AI-generated

Summary

Create a new inventory cost revaluation record in NetSuite.

Inputs

  • isDebugMode — Include full request and response details in the output.
  • additionalFields — Supply any optional inventory cost revaluation fields. Includes fields such as tranDate, inventoryValue, unitCost, item, location, account, cost components, and other detailed sublists.
  • customFields — Provide custom NetSuite fields for the record. List field name, type and value(s).

Output shape

An object with the REST response body, either the created record or debugging information containing request and response headers and body if Debug Mode is enabled.

The output follows the NetSuite inventory cost revaluation schema. Some nested objects (e.g., items, cost components) may appear as arrays of objects per NetSuite definition. Pagination is not applicable for this POST operation.

Examples

Example 1: Create a basic inventory cost revaluation with only the required business data

Set isDebugMode=false, fill tranDate, inventoryValue, unitCost, item (internalId), location (internalId), and account (internalId). Leave other fields empty.

Example 2: Include cost components and accounting book detail

Enable isDebugMode=false, and under additionalFields set total=1000, select costComponent items with amount, componentItem (internalId), cost, and costType. Also add accountingBookDetail.items array with accountingBook, exchangeRate, refName, subsidiary.

Example 3: Add custom fields and get detailed debugging output

Set isDebugMode=true. Under additionalFields provide a memo, department, and other optional fields. Under customFields add a custom field named "Project" of type string with value "Q3 Budget". The node will output the full request and response in addition to the created record.

Discussion