system.kanoa.sheet.updateSheetType(shtTypeInfo, userId)
Updates a sheet type
Parameters
shtTypeInfo Dictionary
| - chkShtTypeName | String | |
| - chkShtTypeiD | Integer | |
| - description | String | |
| - enabled | Boolean | |
| - parentId | Integer |
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)