To utilize this tool, follow these steps:
- Place a file named
allOrders.csv
in theorders
directory. Ensure the file includes headers in the top row with the names of the items. The orderIDs should be in the first column, last names in the second column, and then each item in the same sequence as they appear on the order form. - Place a file named
nameSlot.csv
in theorders
directory. Ensure the file includespick seq,slot,name,ss
headers in the top row and ordered in the same order as the order formpick seq
should be the sequential number that the item should be picked at,slot
is the ID of the item,name
is the name of item, andss
is if this item is in a slot on the opposite side. - Run the
node makeOrders.js
script. This will generate anorders.json
file with IDs and last names, as well as an<ORDER_ID>.csv
file in theorders
directory for each order.Two test orders 998 for test1 and 999 for test2
After creating the necessary files, execute the command node server.js
to start the server. Once the server is running, any device on the same Wi-Fi network can access the application by entering the IP address from the output in their browser. you can add the DEBUG=true
env var to see debug logging
To see what is being currently picked go to /admin.html
the admin can also add an alert to pop up for a specific item during picking (like "Out of Stock"). A list of completed picks can be found at orders/completed-orders.csv
To generate CSV files summarizing discrepancies between picked and actual orders, execute the command node processDiffs.js
This will create two files: resultsByItm.csv
and resultsByUser.csv