Adjust stock question

How can I make the “adjust stock” work with a bin location I created? It seems to work on the default bin location. I think I gave the new bin location the same permissions as the default location.

Thanks!


@Mark Can you check the log file? I assume this is a bug and not a permission issue but I can’t imagine why it’s happening.

I’m not sure where the log file is located. I have superuser access, do I need a higher level of access to find the log file?

Under the tomcat install directory (usually /opt/tomcat if you followed the installation instructions). Log for logs/catalina.out. You can either send me the whole log file to support@openboxes.com. Or tail the file while you attempt to do an adjust inventory that demonstrates the error

sudo tail -f /opt/tomcat/logs/catalina.out

@Mark Let me know if you’re still having an issue locating the log file. I could probably jump on a quick screenshare to help you find them.

Secondly, you can also access the Adjust Stock feature from the Stock Card page

You can then enter the adjustment Quantity as well as a Reason for the adjustment and any additional comments.

Here is the report from the log file.

2020-09-28 06:47:06,447 [http-bio-0.0.0.0-8080-exec-23] INFO filters.SecurityFilters - inventory.binLocations: [user:mark, location:Test Warehouse]
2020-09-28 06:47:06,456 [http-bio-0.0.0.0-8080-exec-23] INFO filters.SecurityFilters - Request duration for (inventory/binLocations): 9ms/0ms
2020-09-28 06:47:19,450 [http-bio-0.0.0.0-8080-exec-23] INFO filters.SecurityFilters - inventory.editBinLocation: [user:mark, location:Test Warehouse]
2020-09-28 06:47:19,455 [http-bio-0.0.0.0-8080-exec-23] INFO inventory.InventoryService - Find inventory item by product a6e4558a737c463b0173b4b9c1b10070 and lot number ‘null’
2020-09-28 06:47:19,459 [http-bio-0.0.0.0-8080-exec-23] INFO inventory.InventoryService - getQuantity(): 3 ms
2020-09-28 06:47:19,467 [http-bio-0.0.0.0-8080-exec-23] INFO filters.SecurityFilters - Request duration for (inventory/editBinLocation): 9ms/7ms
2020-09-28 06:47:24,995 [http-bio-0.0.0.0-8080-exec-23] INFO filters.SecurityFilters - inventory.editBinLocation: [user:mark, location:Test Warehouse]
2020-09-28 06:47:24,999 [http-bio-0.0.0.0-8080-exec-23] INFO inventory.InventoryService - Find inventory item by product a6e4558a737c463b01740755bba10186 and lot number ‘’
2020-09-28 06:47:25,009 [http-bio-0.0.0.0-8080-exec-23] INFO inventory.InventoryService - getQuantity(): 9 ms
2020-09-28 06:47:25,018 [http-bio-0.0.0.0-8080-exec-23] INFO filters.SecurityFilters - Request duration for (inventory/editBinLocation): 15ms/8ms
2020-09-28 06:48:25,329 [http-bio-0.0.0.0-8080-exec-16] INFO filters.SecurityFilters - inventory.editBinLocation: [user:mark, location:Test Warehouse]
2020-09-28 06:48:25,334 [http-bio-0.0.0.0-8080-exec-16] INFO inventory.InventoryService - Find inventory item by product a6e4558a737c463b0173b4b9c1b10070 and lot number ‘null’
2020-09-28 06:48:25,338 [http-bio-0.0.0.0-8080-exec-16] INFO inventory.InventoryService - getQuantity(): 3 ms
2020-09-28 06:48:25,346 [http-bio-0.0.0.0-8080-exec-16] INFO filters.SecurityFilters - Request duration for (inventory/editBinLocation): 10ms/7ms
2020-09-28 06:48:32,872 [http-bio-0.0.0.0-8080-exec-16] INFO filters.SecurityFilters - inventory.editBinLocation: [user:mark, location:Test Warehouse]
2020-09-28 06:48:32,877 [http-bio-0.0.0.0-8080-exec-16] INFO inventory.InventoryService - Find inventory item by product a6e4558a737c463b0173fd06c3340121 and lot number ‘’
2020-09-28 06:48:32,886 [http-bio-0.0.0.0-8080-exec-16] INFO inventory.InventoryService - getQuantity(): 8 ms
2020-09-28 06:48:32,894 [http-bio-0.0.0.0-8080-exec-16] INFO filters.SecurityFilters - Request duration for (inventory/editBinLocation): 14ms/7ms