Updates an existing work type's full record (name, color, enabled status, and sort order).
Unlike `updateWorkTypeField`, this replaces the whole configurable record in one call so all keys in `workTypeInfo` are required, including fields that aren't changing.

---
### Parameters
**workTypeInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td>Not required. Defaults to True if not passed</td></tr>	
 	<tr><td> - sortOrder</td><td>Integer</td><td>Not required. Defaults to 0 if not passed</td></tr>	
 	<tr><td> - workTypeColor</td><td>String</td><td>Not required. i.e '#FF0000'</td></tr>	
 	<tr><td> - workTypeId</td><td>Integer</td><td>Id of the work type to update</td></tr>	
 	<tr><td> - workTypeName</td><td>String</td><td>Name of work type</td></tr>	
	</tbody>
</table>

**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
# Rename work type id 4 from "Design" to "Engineering" and change its color
workTypeInfo = {
	"workTypeId": 4,
	"workTypeName": "Engineering",
	"workTypeColor": "#2E86C1",
	"enabled": True,
	"sortOrder": 4,
}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
recordsModified, message = system.kanoa.cmms.updateWorkType(workTypeInfo, userId)
print recordsModified, message
```
