NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Bom Revision → Insert or update record

AI-generated

Summary

Insert or update a BOM Revision record in NetSuite. If a BOM revision with the specified external identifier does not exist, a new one will be created; otherwise, the existing record will be updated.

Inputs

  • Id (required) — The external identifier for the BOM Revision to insert or update. This ID is used to locate the record in NetSuite.
  • Additional Fields — Specify additional standard fields to set or update on the BOM Revision record.
  • Custom Fields — Add one or more custom fields to set on the BOM Revision record, specifying the field name, type, and value.
  • Debug Mode — Whether to include full request and response information in the output for debugging purposes.

Output shape

A single record representing the updated or newly created BOM Revision.

The output includes the NetSuite record's standard fields and any custom fields that were affected. If 'Debug Mode' is enabled, the output will also contain the full request and response details from the NetSuite API call.

Examples

Example 1: Update the name of an existing BOM Revision

Set 'Id' to the external identifier of the BOM Revision and provide a new 'Name' in 'Additional Fields'.

Example 2: Create a new BOM Revision with specific components

Set 'Id' to a unique external identifier, provide the 'Name' for the new revision, and configure 'Component.Items' within 'Additional Fields' with the desired components and quantities.

Example 3: Set an effective date range and a custom field for a BOM Revision

Set 'Id' to the external identifier, provide 'Effective Start Date' and 'Effective End Date' in 'Additional Fields', and add a 'Custom Field' with its name, type, and value.

Discussion