NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Work Order Close → Insert or update record

AI-generated

Summary

Insert or update a Work Order Close record in NetSuite identified by an external ID, allowing detailed specification of properties including components, dates, quantities, and custom fields.

Inputs

  • Id (required) — External identifier of the Work Order Close record to insert or update.
  • Additional Fields — Optional detailed properties to include or update on the Work Order Close record such as class, component items, createdFrom, dates, department, memo, posting period, quantities, currency precision, custom form, revision info, subsidiary, and other related references.
  • Custom Fields — List of custom fields to include or update on the Work Order Close record, specifying the field name, type, and value.
  • Debug Mode — Flag to include full request and response details in the output for debugging purposes.

Output shape

The operation returns the full response from the NetSuite API representing the inserted or updated Work Order Close record, optionally including full request and response details if Debug Mode is enabled.

The response will contain the current state of the Work Order Close record after insertion or update. If 'Debug Mode' is enabled, additional debug information about the HTTP request and response is included. Proper external identifier ('Id') must be supplied to specify the record to insert or update. Custom fields and additional fields are optional but allow detailed record customization.

Examples

Example 1: Update an existing Work Order Close with components and custom memo

Provide the 'Id' of the existing Work Order Close, fill 'Additional Fields' with component details and memo, and optionally add custom fields to extend the record attributes.

Discussion