This is exactly right:
Originally Posted by
orange
1 Job may have 0 or many pieces of Equip
Each piece of Equip has a unique identifier (so same piece of Equip can not be on 2 or more jobs at any time)
Code:
Jobs--->Equip
Job 300 --->Equip 12345
Job 300---->Equip 23123
For one job, there will be several bits of equipment - each identified by their serial number. I think i understand this relationship.
My problem is that I would like to be able to show combinations of certain parts.
i.e.
Code:
Job 300 ---> Part number 1234: serial 5555 (an item in the database)
Job 300 ---> Part number 7891: serial 6767 (another item in the database)
Job 300 ---> Part number 1234: serial 6666 (the same component as serial 5555 but a unique item identified by its serial number)
I am happy with this stage and can construct a query to search "all parts associated with Job 300" or "search all part numbers 1234"
However, i would like to find a way of showing that certain parts are combined so:
[Part number 7891: serial 6767] is taken to the workshop and attached to [Part number 1234: serial 6666] - both parts still retain their serial numbers and there is no new serial number created to signify a combination of parts.
If i run a query for "serial 6767" is there a way of showing that this part has now been attached to "serial 6666" and vice versa?
Please let me know if I am not being very clear!
Thank you in advance,
Sean