system.kanoa.item.checkItemStateClassPath
Description
checks if an itemStateClassPath exists and creates it if it doesn'tSyntax
checkItemStateClassPath(itemStateClassPath, itemStateClassId, itemStates, userId)- itemStateClassPath (string)
- userId (int)
- itemStateClassId (int)
- msg (string): None if success
Code Examples
# Example Usage:
itemStateClassPath = 'Scrap Reasons\Illegible label'
userId = 17
itemStateClassId, msg = system.kanoa.item.checkItemStateClassPath(itemStateClassPath, userId)