NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Bom Revision → Insert record

AI-generated

Summary

Insert record operation for the NetSuite REST Azerion node’s Bom Revision resource sends a POST request to the NetSuite REST endpoint to create a new Bill of Materials (BOM) revision. The operation maps all UI‑provided fields (including debug mode, authentication method, additional fields for the BOM and its component lines, custom form, dates, identifiers, memo, name, preference headers, replace instruction, idempotency key, validation settings, and any custom fields) into the request body. On success it returns the created Bom Revision record (including system fields such as internalId and externalId). When Debug Mode is enabled the operation also returns the full request and response details for troubleshooting.

Inputs

  • Debug Mode — When true, includes full request and response info in the output for troubleshooting.
  • Authentication Method — Select OAuth1 or OAuth2 for authenticating the NetSuite request.
  • Additional Fields > Bill Of Materials > Internal identifier — Internal ID of the Bill of Materials associated with this revision.
  • Additional Fields > Bill Of Materials > External identifier — External ID of the Bill of Materials associated with this revision.
  • Additional Fields > Component > Items — Array of component lines for the BOM revision; each item can define quantity, item reference, BOM quantity, yield, etc.
  • Additional Fields > Component > Items > BoM Quantity — Quantity of the component in the BOM.
  • Additional Fields > Component > Items > Component Yield — Yield factor for the component.
  • Additional Fields > Component > Items > Description — Description of the component line.
  • Additional Fields > Component > Items > Display Name — Display name for the component line.
  • Additional Fields > Component > Items > Internal ID — Internal ID of the component line (if updating).
  • Additional Fields > Component > Items > Item > Internal identifier — Internal ID of the item used as component.
  • Additional Fields > Component > Items > Item > External identifier — External ID of the component item.
  • Additional Fields > Component > Items > Line Id — Line ID of the component within the BOM revision.
  • Additional Fields > Component > Items > Quantity — Quantity of the component required.
  • Additional Fields > Component > Items > Reference Name — Reference name for the component line.
  • Additional Fields > Component > Items > Units — Unit of measure for the component quantity.
  • Custom Form > Internal identifier — Internal ID of a custom form to use for the BOM revision record.
  • Custom Form > Reference Name — Reference name of the custom form.
  • Date Created — Creation date for the BOM revision.
  • Effective End Date — End date when the BOM revision is no longer effective.
  • Effective Start Date — Start date when the BOM revision becomes effective.
  • External ID — External identifier for the BOM revision record.
  • Inactive — Set to true to mark the BOM revision as inactive.
  • Internal ID — Internal ID of the BOM revision (if updating an existing record).
  • Last Modified Date — Last modified timestamp (system‑generated if not provided).
  • Memo — Free‑form memo field for the BOM revision.
  • Name — Name of the BOM revision (must be unique within the Bill of Materials).
  • Prefer — Header to request asynchronous execution ('respond‑async') or synchronous (empty).
  • Replace — Comma‑separated list of sub‑list names whose existing lines should be replaced by those provided in the request.
  • X - Net Suite - Idempotency - Key — Idempotency key for asynchronous requests (UUID). Ignored for synchronous calls.
  • X - Net Suite - Property Name Validation — Strictness of property name validation (Error, Warning, Ignore).
  • X - Net Suite - Property Value Validation — Strictness of property value validation (Error, Warning, Ignore).

Output shape

object

The created BOM revision record returned by NetSuite, containing fields such as internalId, externalId, name, etc. When Debug Mode is true, the output also includes a debugInfo object with request and response details.

Examples

Example 1: Basic BOM revision insert

Set Name = 'Grill BOM Rev 1', External ID = 'GR-001', and provide at least one component line (Item internal ID, Quantity, Units). Leave other fields at defaults.

Links

Discussion