Skip to main content

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

Updates a procedureCategory. All procedureCategoryInfo keys are required. SQL Constraints will prevent duplicate procedure categories from being created


Parameters

procedureCategoryInfo Dictionary

- enabledBoolean
- parentIdIntegerCan be None
- procedureCategoryIdInteger
- procedureCategoryNameString

userId Integer:Id of the user executing the function


Returns

# of records modified Boolean
msg String records modified or error message


Example