NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Work Order → Transform to workOrderClose

AI-generated

Summary

Submit a request to transform a specified Work Order record into a Work Order Close record in NetSuite via the REST API.

Inputs

  • Id (required) — Internal identifier of the Work Order to be transformed.
  • Additional Fields — Optional additional data to include in the transform request, such as class, components, dates, quantities, references, custom fields, and preferences for server behavior like asynchronous execution or validation modes.
  • Debug Mode — Flag to include full request and response details in the output for debugging purposes.

Output shape

A single record representing the response from the NetSuite REST API for the Work Order Close transform operation.

The output contains the transformed Work Order Close record. If Debug Mode is enabled, full request and response information is included in the output. Supports asynchronous execution indicated by the 'Prefer' additional field.

Examples

Example 1: Transform Work Order #12345 into a Work Order Close record, specifying quantity built and closing date.

Id: 12345, Additional Fields: { quantity: 100, tranDate: '2024-01-15T00:00:00Z' }, Debug Mode: false

Discussion