M
mission2java_78
Guest
I posted this topic a while back and Im still stumped as to how to approach this. Basically..one of the departmental bosses in our business development groups wants this so called "advanced search" to help our reps prepare proposals a lot simplier for assembly lines. See we basically sell to the big 3 assembly lines...and our business personal quote and price out the actually machinery etc to the customer. Basically a proposal has any number of transports, stations and pallets (four tables here: Proposals -> Transports (many side), Proposals -> Stations (many side), Proposals -> Pallets (many side). Fine and dandy...
But each transport, station, or pallet can have any number of Components. So 3 more tables (Transports->TComponents (many side linked by a transportID), Stations->SComponents (many side linked by stationID), and finally (Pallets -> PComponents (many side linked by palletID). The structure so far is fine and dandy...now comes the hard part...
See when an estimator create say a transport he has to select components that are needed to build this transport. I will have a table holding EVERY component...and there are a lot of them. Each component Im guessing I should categorize and give a specific type (Type of Component could be: Pallet, Station, Transport, Other) (Category could be: Conveyors, Drives, Stops, Shafts etc).
Now lets say the estimator is creating this transport...so he wants to add a conveyor...so he needs to search for the right conveyor...
So first he has to select the category conveyor..then we have to choose an item type (KSR, FR, VFR), then after that select its item type (CZ, BZ), then select a width (312, 412, 512), and finally select a Pitch (100, 166, etc). The problem is..not all components have these commonalities...these could be specific to say Conveyors and Drives...but totally different to stops. I dont know or have any idea to set this up so that users can base a search on ANY component.
The whole intent of this is that estimators are wasting way too much time using excel and word and we needed an application..so far the app is fine...but the problem I am on is holding the users hand in the tool and helping them select the right component. I mean its almost like the application is interviewing them to find out which component they need. I imagined just creating one table with all these components and leaving some fields as null for those components that did not apply...but im not sure??!?!?! Basically I want a bunch of combo boxes saying first what do you want a component type (Pallet / Station / Transport / Other), then a category...and from there the category will determine what other fields will be needed for the search. Should I keep this idea of one large table for all components? Also I will definately need tables to hold the category, pitch, item width, and item, along with all the lookup tables for these right?
Below was my original idea for say a conveyor in a word document
-------------------------------------------------------------------------------------------------------
Break Down into the following: Type, Categories, Item, SpecificItem, Width, Pitch.
Type
Key Type
1 Transport
2 Pallet
3 Station
Categories
Key Category
1 Conveyor
2 Drive
3 Display
CategoryByType
KeyForType KeyForCategory Type Category
1 1 Transport Conveyor
1 2 Transport Drive
…..
2 3 Station Display
This shows that a category is associated with a type.
Then the next table should associate a Category to an item. Item will have its own separate table. First we have the items table:
Items
Item Key Item
1 KSR
2 FR
3 VFR
Then this item is associated with a category with a table ItemByCategory
ItemByCategory
KeyForCategory KeyForItem Category Item
1 1 Conveyor KSR
1 2 Conveyor FR
1 3 Conveyor VFR
Then we associate an item with a specific item with a table of specific items and a table of SpecificItemsByItem
SpecificItems
Specific Item Key Specific Item
1 CZ
2 BZ
We associate the specific item with the parent item.
SpecificItemsByItem
Item Key Specific Item Key Item Specific Item
2 1 FR CZ
2 2 FR BZ
Now we want to associate a specific item to a width so we have a Width table followed by a SpecificItemWidth table.
Width
Width Key Width
1 312
2 542
3 702
We associate a width with a specific item.
SpecificItemWidth
Specific Item Key Width Key Specific Item Width
1 1 CZ 312
1 2 CZ 542
1 3 CZ 702
Then we associate a specificitemwidth with a pitch.
Pitch
Pitch Key Pitch
1 100
2 166
We associate a pitch with the specificitemwidth with a table
SpecificItemWidthPitch
SpecificItemWidth Key Pitch Key SpecificItemWidth Pitch
1 1 312 100
1 2 312 166
--------------------------------------------------------------------------------------------
I know this is a very long and confusing problem but if anyone has a suggestion for me...as Ross Perot would say, "I'm all ears!"
Thanks,
Jon
But each transport, station, or pallet can have any number of Components. So 3 more tables (Transports->TComponents (many side linked by a transportID), Stations->SComponents (many side linked by stationID), and finally (Pallets -> PComponents (many side linked by palletID). The structure so far is fine and dandy...now comes the hard part...
See when an estimator create say a transport he has to select components that are needed to build this transport. I will have a table holding EVERY component...and there are a lot of them. Each component Im guessing I should categorize and give a specific type (Type of Component could be: Pallet, Station, Transport, Other) (Category could be: Conveyors, Drives, Stops, Shafts etc).
Now lets say the estimator is creating this transport...so he wants to add a conveyor...so he needs to search for the right conveyor...
So first he has to select the category conveyor..then we have to choose an item type (KSR, FR, VFR), then after that select its item type (CZ, BZ), then select a width (312, 412, 512), and finally select a Pitch (100, 166, etc). The problem is..not all components have these commonalities...these could be specific to say Conveyors and Drives...but totally different to stops. I dont know or have any idea to set this up so that users can base a search on ANY component.
The whole intent of this is that estimators are wasting way too much time using excel and word and we needed an application..so far the app is fine...but the problem I am on is holding the users hand in the tool and helping them select the right component. I mean its almost like the application is interviewing them to find out which component they need. I imagined just creating one table with all these components and leaving some fields as null for those components that did not apply...but im not sure??!?!?! Basically I want a bunch of combo boxes saying first what do you want a component type (Pallet / Station / Transport / Other), then a category...and from there the category will determine what other fields will be needed for the search. Should I keep this idea of one large table for all components? Also I will definately need tables to hold the category, pitch, item width, and item, along with all the lookup tables for these right?
Below was my original idea for say a conveyor in a word document
-------------------------------------------------------------------------------------------------------
Break Down into the following: Type, Categories, Item, SpecificItem, Width, Pitch.
Type
Key Type
1 Transport
2 Pallet
3 Station
Categories
Key Category
1 Conveyor
2 Drive
3 Display
CategoryByType
KeyForType KeyForCategory Type Category
1 1 Transport Conveyor
1 2 Transport Drive
…..
2 3 Station Display
This shows that a category is associated with a type.
Then the next table should associate a Category to an item. Item will have its own separate table. First we have the items table:
Items
Item Key Item
1 KSR
2 FR
3 VFR
Then this item is associated with a category with a table ItemByCategory
ItemByCategory
KeyForCategory KeyForItem Category Item
1 1 Conveyor KSR
1 2 Conveyor FR
1 3 Conveyor VFR
Then we associate an item with a specific item with a table of specific items and a table of SpecificItemsByItem
SpecificItems
Specific Item Key Specific Item
1 CZ
2 BZ
We associate the specific item with the parent item.
SpecificItemsByItem
Item Key Specific Item Key Item Specific Item
2 1 FR CZ
2 2 FR BZ
Now we want to associate a specific item to a width so we have a Width table followed by a SpecificItemWidth table.
Width
Width Key Width
1 312
2 542
3 702
We associate a width with a specific item.
SpecificItemWidth
Specific Item Key Width Key Specific Item Width
1 1 CZ 312
1 2 CZ 542
1 3 CZ 702
Then we associate a specificitemwidth with a pitch.
Pitch
Pitch Key Pitch
1 100
2 166
We associate a pitch with the specificitemwidth with a table
SpecificItemWidthPitch
SpecificItemWidth Key Pitch Key SpecificItemWidth Pitch
1 1 312 100
1 2 312 166
--------------------------------------------------------------------------------------------
I know this is a very long and confusing problem but if anyone has a suggestion for me...as Ross Perot would say, "I'm all ears!"
Thanks,
Jon