Adds a new part record to the inventory master. This is the primary function for registering a new stock-keeping unit (SKU) 
such as a bearing, filter, or gasket, into the system, along with its category, unit of measure, manufacturer reference, 
and handling flags (serialized, consumable, repairable, critical spare). 
On success the newly created part's id is returned so it can be used immediately in follow-up calls (e.g. `updatePart`, `updatePartField`).

---
### 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> - partNumber</td><td>String</td><td></td></tr>	
	</tbody>
</table>

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

---
### Returns
**partId** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
# Register a new sealed ball bearing as a critical spare part
partInfo = {
				'partNumber': '6203-2RS',
				'partDescription': '6203-2RS Sealed Ball Bearing, 17x40x12mm',
				'partCategoryId': 14,
				'manufacturerId': 22,
				'manufacturerPartNumber': 'SKF-6203-2RS',
				'defaultUomId': 1,
				'enabled': True,
				'isConsumable': False,
				'isCriticalSpare': True,
				'isRepairable': False,
				'isSerialized': False,
				'notes': 'Primary spare for conveyor drive motor bearings'
			}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
newPartId, message = system.kanoa.inventory.addPart(partInfo, userId)
print newPartId, message
```
