StephanieD
New member
- Local time
- Today, 05:15
- Joined
- Aug 30, 2008
- Messages
- 9
I'm not sure how "challenging" this will be for you experts, but I am stumped.
I would like to write a new employee management tool for our company.
We have decided on the following five levels of classification to describe where a worker works: (its a large company!)
(1) Division {Manufacturing, Natural Resoruces}
(2) Region {NorthEast, SouthEast, Central, Mountain, West}
(3) Site {Chicago, Atlanta, Miami, Dallas, Pheonix, San Leandro}
(4) Department {Smelting Plant, Planermill, Mining, Jointing Plant}
(5) Crew {1, 2, 3}
So John Smith might be: Manufacturing.SouthEast.Atlanta.Planermill.2
That level of specificity may seem like overkill, but it is needed for more than just identifying where a worker is located (details available if necessary - it would overly complicate the question if I explain it here). So this system works just fine for all hourly workers.
But! When we try to put staff in there, it also works ok EXCEPT when you have someone, for example, who manages two Regions, say NorthEast and SouthEast.
With our old system, we have simply assigned them to one or the other and worked "around" the system. Everyone here (including programmers) complains about the old system, but when I ask how the tables should be constructed to fix these problems, no one can answer.
So that's my question - how would you design the data so that someone managing two Regions can fit nicely into a relational database?
I would like to write a new employee management tool for our company.
We have decided on the following five levels of classification to describe where a worker works: (its a large company!)
(1) Division {Manufacturing, Natural Resoruces}
(2) Region {NorthEast, SouthEast, Central, Mountain, West}
(3) Site {Chicago, Atlanta, Miami, Dallas, Pheonix, San Leandro}
(4) Department {Smelting Plant, Planermill, Mining, Jointing Plant}
(5) Crew {1, 2, 3}
So John Smith might be: Manufacturing.SouthEast.Atlanta.Planermill.2
That level of specificity may seem like overkill, but it is needed for more than just identifying where a worker is located (details available if necessary - it would overly complicate the question if I explain it here). So this system works just fine for all hourly workers.
But! When we try to put staff in there, it also works ok EXCEPT when you have someone, for example, who manages two Regions, say NorthEast and SouthEast.
With our old system, we have simply assigned them to one or the other and worked "around" the system. Everyone here (including programmers) complains about the old system, but when I ask how the tables should be constructed to fix these problems, no one can answer.
So that's my question - how would you design the data so that someone managing two Regions can fit nicely into a relational database?