Updates an existing part record. Pass the part's id along with any of the updatable fields in `partInfo` (category, manufacturer reference, unit of measure, description, and the boolean handling flags) to overwrite the part's current values. 
Use `updatePartField` instead if you only need to change a single column.

---
### Parameters
**partInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - defaultUomId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - isConsumable</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - isCriticalSpare</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - isRepairable</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - isSerialized</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - manufacturerId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - manufacturerPartNumber</td><td>String</td><td></td></tr>	
 	<tr><td> - notes</td><td>String</td><td></td></tr>	
 	<tr><td> - partCategoryId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - partDescription</td><td>String</td><td></td></tr>	
 	<tr><td> - partId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - partNumber</td><td>String</td><td></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
# Update the manufacturer reference and notes on an existing oil filter part
partInfo = {
	'partId': 5231,
	'partNumber': 'FLT-3000',
	'partDescription': 'Spin-On Oil Filter, 3in Thread',
	'partCategoryId': 9,
	'manufacturerId': 18,
	'manufacturerPartNumber': 'FRAM-PH3000',
	'defaultUomId': 1,
	'enabled': True,
	'isConsumable': True,
	'isCriticalSpare': False,
	'isRepairable': False,
	'isSerialized': False,
	'notes': 'Updated cross-reference after supplier change'
}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})

recordsModified, message = system.kanoa.inventory.updatePart(partInfo, userId)
print recordsModified, message
```
