# system.kanoa.inventory.updateInventoryTransactionType(inventoryTransactionTypeInfo, userId)

Updates an existing inventory transaction type record identified by `inventoryTransactionTypeId` within the supplied `inventoryTransactionTypeInfo` dictionary. 
Use this function to change attributes of a transaction type, such as its code, display name, or the sign applied to quantities when the transaction type is used. 
The update is attributed to the user specified by `userId`.

---
### Parameters
**inventoryTransactionTypeInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - inventoryTransactionTypeId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - quantitySign</td><td>String</td><td></td></tr>	
 	<tr><td> - transactionTypeCode</td><td>String</td><td></td></tr>	
 	<tr><td> - transactionTypeName</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
transactionTypeInfo = {
	'inventoryTransactionTypeId': 4,
	'transactionTypeCode':        'ADJ',
	'transactionTypeName':        'Inventory Adjustment',
	'quantitySign':               '-',
}

userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
recordsModified, message = system.kanoa.inventory.updateInventoryTransactionType(transactionTypeInfo, userId)
print recordsModified, message
```
