Skip to main content

system.kanoa.inventory.addInventoryBin(inventoryBinInfo, userId)

Adds a new inventory bin record.


Parameters

inventoryBinInfo Dictionary

- binCodeString
- binDescriptionString
- inventoryLocationIdInteger
- isActiveBoolean

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)