Skip to main content

system.kanoa.sheet.updateSheetType(shtTypeInfo, userId)

Updates a sheet type


Parameters

shtTypeInfo Dictionary

- chkShtTypeNameString
- chkShtTypeiDInteger
- descriptionString
- enabledBoolean
- parentIdInteger

userId Integer


Returns

# of records modified Integer


Example

shtTypeInfo = {
"chkShtTypeId": 4,
"chkShtTypeName": "Quality",
"parentId": 1,
"description": "Quality check sheets for production lines",
"enabled": True
}
userId = 5
recordsModified = system.kanoa.quality.config.sheets.updateSheetType(shtTypeInfo,userId)