Hello,
I have a reservation system set up that includes a parent table with a child table. The parent table contains all of the information about the reservation, such as company name, date out, date in, contact name ect.. the child table contains information of what equipment is being reserved.
Currently it is working fine, but last week someone wanted to return 1 of their many items. My question is how do I handle this scenario in my database? I would rather not delete the item off the reservation because I obviously need the data for historical purposes and metrics tracking (we track equipment hours used and that is based on the reservation duration).
Another thing I could do is remove the returned item and put it on a new reservation, except that is sort of a duct tape fix. There must be a way to properly handle this scenario. Any advice is appreciated!
Thanks
I have a reservation system set up that includes a parent table with a child table. The parent table contains all of the information about the reservation, such as company name, date out, date in, contact name ect.. the child table contains information of what equipment is being reserved.
Currently it is working fine, but last week someone wanted to return 1 of their many items. My question is how do I handle this scenario in my database? I would rather not delete the item off the reservation because I obviously need the data for historical purposes and metrics tracking (we track equipment hours used and that is based on the reservation duration).
Another thing I could do is remove the returned item and put it on a new reservation, except that is sort of a duct tape fix. There must be a way to properly handle this scenario. Any advice is appreciated!
Thanks