Skip to end of metadata
Go to start of metadata
Description

Set the current product code for a line and immediately starts it running. If the line is currently in a production run, it will have to be ended before setting a new product code. The product code must exist in the production code table and the line must be enabled to run it.

Syntax

system.production.startLineProductCode(linePath, productCode)


  • Parameters

String linePath - The line path of the production line that this component is associated with.

String productCode - The new product code for the line to run next.

  • Returns

boolean - True, if the line path and product code are valid and the new product code has been set.

  • Scope 

All

Code Examples
Code Snippet
 
Output