Skip to content

judaschwartz/order-picker

Repository files navigation

Order Picking Application

Preparing the data:

To utilize this tool, follow these steps:

  1. Place a file named allOrders.csv in the orders 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.
  2. Place a file named nameSlot.csv in the orders directory. Ensure the file includes pick seq,slot,name,ss headers in the top row and ordered in the same order as the order form pick 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, and ss is if this item is in a slot on the opposite side.
  3. Run the node makeOrders.js script. This will generate an orders.json file with IDs and last names, as well as an <ORDER_ID>.csv file in the orders directory for each order. Two test orders 998 for test1 and 999 for test2

Running the Application:

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

Admin console

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

Obtaining Results:

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published