Skip to end of metadata
Go to start of metadata
Description

Updates the line enabled status for this product code.

Syntax

system.production.utils.updateProductCodeLineStatus(productCode, linePath, enable)


  • Parameters

String linePath -The line path of the production line that this component is associated with. This is the full path name of the line starting with the project name.

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

boolean enable - The enable status.

  • Returns

Set to 0 to disable, 1 to enable.

  • Scope

All

Code Examples
Code Snippet
linePath = "[global]\My Enterprise\California\Receiving\Unload Station 1"
system.production.utils.updateProductCodeLineStatus('PC_002', linePath, 1)

 

 

  • No labels