system.kanoa.asset.addStateCategory
Description
Adds a State Category to the stateCategory table (kanoaOPS)Syntax
addStateCategory(stateCategoryName, userId)- stateCategoryName (string) - The name of the state category
- userId (int) - User ID
- stateCategoryId (int) - The ID of the newly added state category
Code Examples
# Example Usage:
state_category_id = system.kanoa.asset.addStateCategory('Category_Name', 789)