C
c924b
I'm tracking containers, which hold parts in a small assembly line,
these containers have a fixed ID attached to them and are used
over-n-over again, from workstation to workstation. Near the end of
the process the parts are transferred over to shipping containers,
which are tracked to a few more workstations in the same manner. The
shipping containers have unique ID's and will never be seen again.
My design question is should I use two different tables for each type
of container or should I use one table for both and assign a type
attribute (Container Type table)?
Example:
tbContainerType
ContainerType [text] - key
tbContainer
ContainerID [autonumber] - key; used when type is shipping
container.
ContainerType [foreign key]
ContainerNumber [long] - used when type is NOT a shipping container
Thanks
these containers have a fixed ID attached to them and are used
over-n-over again, from workstation to workstation. Near the end of
the process the parts are transferred over to shipping containers,
which are tracked to a few more workstations in the same manner. The
shipping containers have unique ID's and will never be seen again.
My design question is should I use two different tables for each type
of container or should I use one table for both and assign a type
attribute (Container Type table)?
Example:
tbContainerType
ContainerType [text] - key
tbContainer
ContainerID [autonumber] - key; used when type is shipping
container.
ContainerType [foreign key]
ContainerNumber [long] - used when type is NOT a shipping container
Thanks