Skip to end of metadata
Go to start of metadata
Description

Lookup and return the work order ID from the work order name.

Info

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

system.schedule.getWorkOrderID(linePath, workOrder)


  • Parameters

String linePath - The line path to lookup the work order ID.

String workOrder - The name of the work order to return the ID for.

  • Returns

Integer - The ID of the work order.

  • Scope

All

Code Examples
Code Snippet
 
Output