NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Bom Revision → Insert record

AI-generated

Summary

Create a new Bill of Materials (BOM) Revision record in NetSuite.

Inputs

  • Name (required) — Enter a unique and descriptive name for the BOM revision.
  • Bill Of Materials (ID or External ID) (required) — Specify the internal or external ID of the Bill of Materials this revision belongs to.
  • Component Items — Add one or more component items to the BOM revision. For each item, specify its Internal ID or External ID, Quantity, and optionally BOM Quantity, Component Yield, Description, Display Name, Line ID, Reference Name, or Units.
  • Custom Form (ID or Reference Name) — Optionally specify the internal ID or reference name of a custom form to apply.
  • Date Created — Set the date this Bill of Materials revision was created.
  • Effective End Date — Set the effective end date for this BOM revision. Not entering both effective start and end dates may affect future revisions.
  • Effective Start Date — Set the effective start date for this BOM revision. Not entering both effective start and end dates may affect future revisions.
  • External ID — Provide an external identifier for the BOM revision.
  • Inactive — Set to true to prevent this BOM revision from appearing in search lists on records and forms.
  • Last Modified Date — Set the last modified date for this BOM revision. Note: This is typically managed by NetSuite.
  • Memo — Add any additional information or notes for this BOM revision.
  • Prefer — Control server behavior; use 'respond-async' to execute the request asynchronously.
  • Reference Name — Provide a reference name for the BOM revision.
  • Replace — Specify comma-delimited names of sublists on this record whose lines should be replaced with those in the request.
  • X - Net Suite - Idempotency - Key — Provide a unique UUID key (RFC 4122) for asynchronous requests to ensure the request is executed only once.
  • X - Net Suite - Property Name Validation — Sets the strictness of property name validation (Error, Warning, or Ignore).
  • X - Net Suite - Property Value Validation — Sets the strictness of property value validation (Error, Warning, or Ignore).
  • Custom Fields — Add any custom fields defined in NetSuite for BOM Revisions, specifying the Field Name, Field Type, and Value.

Output shape

A single record representing the newly created BOM Revision.

The output includes the NetSuite internal ID and links for the created record. If 'Debug Mode' is enabled, the output will also include the full request and response details from the API call.

Examples

Example 1: Create a basic BOM revision for an existing Bill of Materials.

Set 'Name' to 'Revision 001' and provide the 'Bill Of Materials (ID)'.

Example 2: Create a BOM revision with multiple component items.

Set 'Name', 'Bill Of Materials (ID)', and add multiple entries under 'Component Items', each with an 'Item (ID)' and 'Quantity'.

Example 3: Create an inactive BOM revision with a specific effective date range and a custom field.

Set 'Name', 'Bill Of Materials (ID)', 'Inactive' to true, 'Effective Start Date', 'Effective End Date', and add a custom field with its 'Field Name', 'Field Type', and 'Value'.

Discussion