Manufacturing Operation Task

The Manufacturing Routing and Work Center feature lets you specify a sequence of tasks required for the completion of a Work In Process (WIP) work order. This record represents a job that must be completed by a specific employee group. In the UI, generally these records are created automatically when you save a WIP work order that references a specific routing record — each step described in the routing record becomes an operation task record, viewable on the work order's Operations subtab. You can also manually create an operation task record by clicking the New Operation Task button on the work order's Operations subtab. You can view all existing manufacturing operation task records by going to Transactions > Manufacturing > Manufacturing Operation Tasks.

For help working with this record in the UI, see Manufacturing Operation Tasks.

The internal ID for this record is manufacturingoperationtask.

See the SuiteScript Records Browser for all internal IDs associated with this record.

Note:

For information about using the SuiteScript Records Browser, see Working with the SuiteScript Records Browser in the NetSuite Help Center.

For information about scripting with this record in SuiteScript, see the following help topics:

Supported Script Types

The manufacturing operation task record is scriptable in both client and server SuiteScript.

Supported Functions

The manufacturing operation task record is partially scriptable — it can be created, updated, deleted, and searched using SuiteScript. It cannot be copied.

Usage Notes

To work with the manufacturing operation task record, the Manufacturing Routing and Work Center feature must be enabled at Setup > Company > Enable Features, on the Items & Inventory tab.

In the UI, the manufacturing operation task record is accessed by going to Transactions > Manufacturing > Manufacturing Operation Tasks. Alternatively, you can go to the Operations subtab of a WIP work order that uses the routing feature. The Operations subtab lists existing operation task records for that work order and allows you to create new operation task records.

Note these additional details:

Code Samples

When creating a manufacturing operation task record, you must use initValues to reference a valid existing WIP work order. For example:

          var initValues = new Array();
initValues.workorder = '65';
var task = record.create({
    type: record.Type.MANUFACTURING_OPERATION_TASK,
    defaultValues: initValues
});
task.setValue({
    fieldId: 'title',
    value: 'Some title'
});
task.setValue({
    fieldId: 'operationsequence',
    value: 6
}); 
task.setValue({
    fieldId: 'setuptime',
    value: 30
});
task.setValue({
    fieldId: 'runrate',
    value: 20
});
task.setValue({
    fieldId: 'manufacturingcosttemplate',
    value: '1'
});
task.setValue({
    fieldId: 'manufacturingworkcenter',
    value: '113'
});                 
var recId = task.save(); 

        

Related Topics

General Notices