I say this with many years of experience in equipment reliability and maintenance work order management.
You should split the miles and hours into separate fields and let the form decide which one to allow input into based on either equipment type or a separate flag field (checkbox) otherwise you are making calculations more difficult. Not only that, it will prevent errors such as entering 12589 miles for an hours value.
No doubt you are inputting usage values against the equipment on a regular basis, so all you need to do is subtract the last reading from the last recorded service reading to get the current elapsed value. So if on Monday the last reading was Friday at 1030 hours and the last service reading was 850, the usage is 180 hours. However, I can't figure out if you have the necessary fields since some of the names can mean more than one thing to me. So it is not clear if you have a place for the requirement AND the last service usage amount AND the current usage, but I think not.
IMO, your design needs some work. I say this because your names are way too long, you appear to be using multi-value fields (bad, but that's just mine and a few thousand other designer's opinion) and you have your link from parts to service log backwards. Your way will require a repeat of all the service log data for each part ordered. I'm not sure if you ought to be joining servicelog PK or equipment ID to the parts log. I suggest you look here http://www.databaseanswers.org/data_models/
and do a CTL-Find for "vehicle" and take a look at some of the data models. You probably won't find one that exactly matches your needs, but it should get you thinking. Maybe even do more research elsewhere. Another option would be to create a complete narrative about what you have, what is required, and what the components are but strictly from a business standpoint. Include nothing about any db you've designed thus far as it's not relevant to the narrative. You have to take the approach that you're explaining things to a new employee - i.e. assume we know nothing.
Last edited by Micron; 07-04-2016 at 10:59 PM.
Reason: forgot link
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.