Added allocateInventory
Put SQL parameters into a tuple