NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Work Order Completion → Insert or update record

AI-generated

Summary

Insert a new Work Order Completion record or update an existing one by specifying its internal or external ID and setting various fields, including components, class, dates, quantities, custom fields, and more.

Inputs

  • id (required) — The internal or external identifier of the Work Order Completion record to update.
  • additionalFields — Optional fields to set or update on the Work Order Completion, such as class, components (with details like items, quantity, cost), created from references, currency precision, custom form, dates, department, item, location, memo, posting period, projected value, quantities, reference numbers, revision details, subsidiary, unit of measure, and others.
  • customFields — A list of custom fields to add or update on the Work Order Completion record, each specifying the field name, type, and value.
  • isDebugMode — Whether to include full request and response information in the output for debugging purposes.
  • authMethod — Authentication method to use when connecting to NetSuite REST API; options include OAuth1 and OAuth2.

Output shape

a JSON object representing the inserted or updated Work Order Completion record, potentially including detailed request and response info if debug mode is enabled

The output includes the record data as returned by the NetSuite REST API. If 'Debug Mode' is enabled, the output will also include the full HTTP request and response details for troubleshooting. The record is identified by the 'id' path parameter. Custom field values and additional fields specified are applied during the insert or update operation.

Links

Discussion