Work Order Completion

A work order completion record exposes a work order completion to REST web services.

This record:

The REST API Browser includes information about the field names and field types of the work order completion record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s workOrderCompletion reference page.

For information about using the REST API Browser, see The REST API Browser.

Record IDs

The record ID for a work order completion REST record is workOrderCompletion.

Prerequisites

You must enable the Manufacturing Work In Process feature before you can use this record through REST web services.

Code Samples

The following samples show common use cases for work order completion. The example ID is 4.

Retrieving a Work Order Completion Using a GET Request

A work order completion is created by doing a transformation on a work order.

              GET https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/workOrderCompletion/4 

            

Updating a Work Order Completion Using a PATCH Request

The following code sample shows how to edit the setup time in the operation sequence. The ID for the operation is 7.

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/workOrderCompletion/4/operation/7
{ "laborSetupTime": 20.0
} 

            

The following code sample shows how to edit the component with backflush. The component ID is 7.

              PATCH https://demo123.suitetalk.api.snap.netsuite.com/services/rest/record/v1/workOrderCompletion/4/component/lineNumber=7
{ "quantity": 3
} 

            

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices