NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Work Order Completion → Insert record

AI-generated

Summary

Insert a new Work Order Completion record in NetSuite using the REST API, optionally including detailed transaction data and custom fields.

Inputs

  • Additional Fields — Optional fields to specify on the Work Order Completion record such as Class, Component details, Created From reference, Currency Precision, Custom Form selection, Dates (transaction date, created date, last modified date), Department, External and Internal IDs, Item, Location, Memo, Posting Period, Revision, Subsidiary, Unit of Measure, Work Order Quantity, and others supporting detailed transaction configuration. Also supports preferences for asynchronous execution and idempotency keys.
  • Custom Fields — A list of custom-defined fields to set on the Work Order Completion record. Each custom field requires the field name, type (e.g., Boolean, Date Time, Multi Select, Number, Select, String), and the corresponding value to assign.
  • Debug Mode — Boolean flag to include full request and response information in the operation output for debugging purposes.

Output shape

a single record representing the newly created Work Order Completion as returned by the NetSuite REST API

When 'Debug Mode' is enabled, the output includes detailed HTTP request and response data. The operation supports asynchronous request handling via the 'Prefer' field with 'respond-async' option and idempotency via a unique key. Custom fields and additional fields allow extensive customization of the Work Order Completion record upon insertion.

Examples

Example 1: Create a Work Order Completion with a specific item and quantity

Set 'Additional Fields' to include 'item' by internal ID and specify 'quantity'. Optionally add a memo or date, and enable 'Debug Mode' for detailed output.

Discussion