system.kanoa.inventory.addInventoryBin(inventoryBinInfo, userId)
Adds a new inventory bin record.
Parameters
inventoryBinInfo Dictionary
| - binCode | String | |
| - binDescription | String | |
| - inventoryLocationId | Integer | |
| - isActive | Boolean |
userId Integer:Id of the user executing the function
Returns
inventorybinId Integer
message String None if success
Example
binId, msg = system.kanoa.inventory.addInventoryBin({
'inventoryLocationId': 46,
'binCode': 'A3',
'binDescription': 'Shelf A, Row 3',
'isActive': True,
}, userId)