NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Inventory Cost Revaluation → Update record

AI-generated

Summary

Patch a NetSuite Inventory Cost Revaluation record, modifying specified fields and optionally returning full request/response data when debug mode is enabled.

Inputs

  • id (required) — Internal identifier of the inventory cost revaluation record to update.
  • isDebugMode — When true, the node output includes the full HTTP request and response objects.
  • additionalFields — Key‐value collection of fields to update on the record, such as tranDate, memo, account, item, total, costComponent, accountingBookDetail, and many nested sub‐lists.
  • customFields — Fixed collection of custom field values keyed by field name proven from the NetSuite schema.

Output shape

Returns the updated Inventory Cost Revaluation record as received from NetSuite. If isDebugMode is true, the output also contains request and response objects.

Fields not supplied are left unchanged; omitted nested objects are not deleted unless replace query parameter is used.

Examples

Example 1: Update the memo and transaction date of an existing revaluation

Set id to the record’s internal ID, additionalFields.tranDate to a date string, and additionalFields.memo to the new memo text.

Example 2: Adjust the total amount and account for a revaluation

Set id, use additionalFields.total for the new adjustment amount, and provide additionalFields.account.id with the internal ID of the account.

Example 3: Add a custom field value during update

Provide id, add a custom field in customFields[] with fieldName and value.

Discussion