Skip to end of metadata
Go to start of metadata
Description

This script function is used in order to update the work order entries.

Info

The function requires an additional argument on the Gateway script which is the name of the project.
Syntax

system.schedule.updateWorkOrderEntry(workOrderID, workOrder, productCode, quantity)


  • Parameters

Integer workOrderID - ID of the work order to update.

String workOrder - New name of the work order.

String productCode - New product code to associate the work order with.

Integer quantity - New quantity to produce for work order.

  • Returns

If an error occurred while updating the new work order, the error message is returned.

  • Scope

All

Code Examples
Code Snippet
system.schedule.updateWorkOrderEntry(1, 'WO_PC001', 'PC_001', 1000)

 

 

 

  • No labels