MALWART STORES 24 byte QR CODE
| Malwart Stores uses a qr-code to identify inventory delivered to its many retail stores. Each box of product(s) contains a unique 24 digit qr-code. This qr-code is used as the key to a box_data table where the packing, shipping and delivery information about a box of product(s) is maintained. There is also a box-contents table that holds the detailed information on each product AND number of units of the product contained in a specific box (i.e., product_code and quantity). Thus, for each row in the box_data table (i.e., a box) there are one or more rows in the box_contents table that details what is in the box. Further, there is a store_inventory table for each store that holds the quantity_on_hand of each product in its inventory. The data structures for these tables are shown below. | |||||
|
1. (60 points) Assume that when the drivers arrive at a Malwart store, they use a "cellphone qr-code reader app" to record each box as it is unloaded. For each box, the "qr-code reader app" wirelessly transmits (AJAX) the following string to an asp program over the internet:
Notes: (a) the [...] brackets are for readability and contain a data description -- they are not actually in the string; (b) use the function now to get current date and time
2. (40 points) When the truck driver is ready to leave the Malwart store, he will use a cell phone app that reads a qr-code printed on the top page of his BOL (BOL = 'bill of lading' -- a paper document that records the details of mechandise delivered to the store). This cellphone app sends (AJAX) the following string over the internet:
Note: the [...] brackets are for readability and contain a data description. They are not actually in the string