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

Adds a new inventory transaction type record, defining a classification of inventory movement (e.g. Receipt, Issue, Transfer, Adjustment, Cycle Count) 
that can be referenced by `inventoryTransactionTypeId` when creating inventory transactions. 
The `quantitySign` field controls whether transactions of this type increase or decrease the inventory balance.

---
### Parameters
**inventoryTransactionTypeInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<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
**inventorytransactionTypeId** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
inventoryTransactionTypeInfo = {
									'transactionTypeCode': 'RCPT',
									'transactionTypeName': 'Receipt',
									'quantitySign': '+'
								}
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
inventoryTransactionTypeId, message = system.kanoa.inventory.addInventoryTransactionType(inventoryTransactionTypeInfo, userId)
print inventoryTransactionTypeId, message
```
