system.kanoa.inventory.addPartInventoryBalance(partInventoryBalanceInfo, userId)
Adds a new part inventory balance record.
Parameters
partInventoryBalanceInfo Dictionary
| - averageUnitCost | Float | |
| - inventoryAssetId | Integer | |
| - lastCountedAtUtc | DateTime | |
| - partId | Integer | |
| - quantityOnHand | Float | |
| - quantityOnOrder | Float | |
| - quantityReserved | Float |
userId Integer:Id of the user executing the function
Returns
partInventoryBalanceId Integer
message String None if success
Example