system.kanoa.event.checkItemInfo
Description
When a tag value changes for mode, work order, or product, check if this work order or item exists, and if not, create it.Syntax
checkItemInfo(assetId, workOrderName, itemName, userId)- assetId (int) - Asset ID.
- workOrderName (string) - Work order name.
- itemName (string) - Item name.
- userId (int) - User ID.
workOrderId, itemId (tuple).
Code Example
# Example Usage:
system.kanoa.event.checkItemInfo(assetId=123, workOrderName="WO123", itemName="ItemXYZ", userId=999)