# system.kanoa.item.addItemAssetRate(rateInfo, userId)

Adds the rateInfo to itemAssetRate table. All rateInfo keys are required. Entry in this table signifies that this item can be run on this asset

---
### Parameters
**rateInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - assetId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - infeedUnitId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - itemId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - itemPeriodId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - itemSourceId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - outfeedUnitId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - packageCount</td><td>Float</td><td></td></tr>	
 	<tr><td> - scheduleRate</td><td>Float</td><td></td></tr>	
 	<tr><td> - standardRate</td><td>Float</td><td></td></tr>	
 	<tr><td> - wasteUnitId</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

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

---
### Returns
**itemAssetRateId** `Integer`<br />

---
### Example
```python
rateInfo = {'itemId': 1, 'assetId': 56, 'standardRate': '100.0', 'scheduleRate': 50.0, 'itemPeriodId': 1, 'infeedUnitId': 7, 'outfeedUnitId': 5, 'wasteUnitId': 7, 'packageCount': 24, 'itemSourceId': 1, 'enabled': True}
itemAssetRateId = system.kanoa.item.addItemAssetRate(rateInfo, 123)
```
