Skip to end of metadata
Go to start of metadata
Description

Returns the scheduling rate for the specified line path and product code.

Syntax

system.schedule.getSchedulingRateByProductCode(linePath, productCode)


  • Parameters

String linePath - The Line path to return the scheduling rate for.

String productCode - The product code that holds the schedule rate to return for.

  • Returns

Double value - The scheduling rate corresponding to the specified product code.

  • Scope

All

Code Examples
Code Snippet
path='[global]\Nuts Unlimited\Folsom\Packaging\Packaging Line 1.Product Outfeed.Outfeed.Package Count'
code='Mixed Nuts 16oz'
rate=system.schedule.getSchedulingRateByProductCode(path, code)
print rate
Output
 2.0

 

 

 

  • No labels