Skip to main content

system.kanoa.performanceState.deletePerformanceStateClass(performanceStateClassId, userId)

Deletes an item state class and any performance states or item state classes underneath it.


Parameters

performanceStateClassId Integer: Id of the performance state class to delete
userId Integer: Id of user executing the function


Returns

# of records modified Integer
msg String None if success


Example

userId = 18
performanceStateClassId = 7
deletePerformanceStateClass(performanceStateClassId, userId)
>>>
1, None