Skip to main content

system.kanoa.cmms.addProcedureCategory(procedureCategoryInfo, userId)

Adds a procedure category. All procedureCategoryInfo keys are required.


Parameters

procedureCategoryInfo Dictionary

- enabledBoolean
- parentIdIntegerId of parent procedure category. Can be None
- procedureCategoryNameStringName of procedure category

userId Integer:Id of the user executing the function


Returns

procedureCategoryId Integer
message String None if success


Example