# system.kanoa.inventory.updateManufacturer(manufacturerInfo, userId)

Updates an existing manufacturer record. Pass a `manufacturerInfo` dict containing the `manufacturerId` 
of the record to update along with any fields that should change (name, code, website, enabled status). 
Only the fields supplied are affected; the `userId` is recorded for audit purposes.

---
### Parameters
**manufacturerInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - manufacturerCode</td><td>String</td><td></td></tr>	
 	<tr><td> - manufacturerId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - manufacturerName</td><td>String</td><td></td></tr>	
 	<tr><td> - websiteUrl</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
manufacturerInfo = {
	'manufacturerId': 42,
	'manufacturerName': 'SKF',
	'manufacturerCode': 'SKF-01',
	'websiteUrl': 'https://www.skf.com',
	'enabled': True
}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})

recordsModified, message = system.kanoa.inventory.updateManufacturer(manufacturerInfo, userId)
print recordsModified, message
```
