NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Assembly Build → Insert or update record

AI-generated

Summary

Inserts or updates a NetSuite Assembly Build record via the PUT /assemblyBuild/{id} endpoint.

Inputs

  • id (required) — External identifier of the Assembly Build record to insert or update.
  • isDebugMode — When true, includes full request and response details in the output.
  • authMethod — Authentication method to use (OAuth1 or OAuth2).
  • additionalFields — Container for optional complex sub‑records such as accounting book details.
  • buildable — Maximum quantity that can be built for the selected assembly item.
  • class — Classification associated with the build.
  • component — List of component items used in the build, with quantities, costs, etc.
  • createdFrom — Record that this assembly build was created from (if any).
  • currencyPrecision — Currency precision for the transaction.
  • customForm — Custom form to use for the assembly build record.
  • tranDate — Transaction date for the assembly build.
  • createdDate — Date the record was created.
  • lastModifiedDate — Date the record was last modified.
  • department — Department associated with the build.
  • effectiveBomControl — Effective Bill of Materials control setting.
  • externalId — External identifier (alternative to the main id field).
  • memo — Optional memo field for the transaction.
  • postingPeriod — Posting period for the transaction.
  • Prefer — Header controlling server behavior (e.g., 'respond-async' for asynchronous execution).
  • prevDate — Previous effective date (used for effective dating).
  • total — Projected value of the assembly build (calculated by NetSuite).
  • quantity — Quantity of assembly items to build.
  • tranId — Reference number for the transaction.
  • refName — Reference name for the assembly build record.
  • replace — Comma‑separated list of sub‑list names whose lines should be replaced.
  • replaceSelectedFields — When true, indicates that fields listed in 'replace' should be deleted in an update.
  • revision — Revision information for the assembly build.
  • revisionMemo — Memo associated with the revision.
  • subsidiary — Subsidiary associated with the build.
  • units — Unit of measure for the assembly item.
  • X-NetSuite-Idempotency-Key — Idempotency key to guarantee execution only once for asynchronous requests.
  • X-NetSuite-PropertyNameValidation — Strictness of property name validation (Error, Warning, Ignore).

Output shape

object

Returns the NetSuite response containing the created or updated Assembly Build record. If isDebugMode is true, the response also includes request and response details.

Examples

Example 1: Insert a new Assembly Build record

Set required 'id' (external identifier) and provide values for quantity, tranDate, memo, component items, etc. Leave optional fields empty or at defaults.

Links

Discussion