I am currently doing a Uni project. I have created a Bike Rental platform and I am trying to figure out the best way to perform rentals, and then return those rentals. As part of this process, I need to be able to mark the status of each bike as Available or On-Hire so that I can show/hide from the rental pool. For the rental process I currently 3 entities. Bike, bikeHire and bikeReturn. I have primarily done it this way because I have tried many different ways to achieve this but haven't gotten anywhere. The main problem I have run into by doing it this way, is that n matter which way I go, If I put a return button either dataView for Bike, or bikeHire, I cannot then access the other entity to make changes. I have no way to set the Status in Bike as Available with a microflow, because the entity is not available. Can anyone give any hints on how best to rent out an object, and return an object?
↧