Kryst51
05-10-2010, 09:01 AM
As stated in a previous post, I am redesigning a nonconformance database. Currently I am working on the best way to store tag information.
Any tag is either an IN-House tag (Material has not left our facility it is still in house), A ship tag (meaning the tag that appears on the packing list, or a return tag (returned from a customer).
Now a return tag is connected to the ship tag, thus maintaining product traceability.
Currently I have the tag info table set up as follows:
tagID -pk, Autonumber
RetTagNum- Text
RetTagWt- num
RetTagWtUOM- fk, num
ShipTagNum- Text
ShipTagWt- num
ShipTagWtUOM- fk, num
InHouseTagNum- Text
InHouseTagWt- num
InHouseTagWtUOM- fk, num
so that When I enter a return tag I can also enter its ship tag information.
Now a ship tag can be entered without there needing to be a return tag, A return tag SHOULD have a ship tag, but this is not always the case, as sometimes the material cannot be traced back for various reasons. so I thought that this design is best as it affords every combination, as I can leave fields blank as I need to. However, This seems unnormalized to me, but if I normalize, I don't know how to maintain traceability between ship tags and return tags.
Can anybody suggest a way to normalize this and maintain the relationship between them? Or is the way I have it the best way to do this?
Any tag is either an IN-House tag (Material has not left our facility it is still in house), A ship tag (meaning the tag that appears on the packing list, or a return tag (returned from a customer).
Now a return tag is connected to the ship tag, thus maintaining product traceability.
Currently I have the tag info table set up as follows:
tagID -pk, Autonumber
RetTagNum- Text
RetTagWt- num
RetTagWtUOM- fk, num
ShipTagNum- Text
ShipTagWt- num
ShipTagWtUOM- fk, num
InHouseTagNum- Text
InHouseTagWt- num
InHouseTagWtUOM- fk, num
so that When I enter a return tag I can also enter its ship tag information.
Now a ship tag can be entered without there needing to be a return tag, A return tag SHOULD have a ship tag, but this is not always the case, as sometimes the material cannot be traced back for various reasons. so I thought that this design is best as it affords every combination, as I can leave fields blank as I need to. However, This seems unnormalized to me, but if I normalize, I don't know how to maintain traceability between ship tags and return tags.
Can anybody suggest a way to normalize this and maintain the relationship between them? Or is the way I have it the best way to do this?