Code to query a database for undelivered orders and check the status or those orders with UPS