T
TechyTemp
This is the situation....I am setting up a database for a warehouse
situation. Sales Orders are issued initially for orders which may include
several part numbers. When these orders are completed, they may be shipped
in part or in whole. This means that the same invoice number is used more
than once as well as the sales order number. Additionally, the part numbers
are not unique in that they may represent a unit or an individual part and
the numbers describe what's on the unit. They may ship the same part to
several customers.
The primary issue here is that there aren't any unique numbers to use as
primary keys AND maintain referential integrity. Sooooo....how do I arrange
for associated records to update when something, if anything, gets changed?
and Are there any other potential problems that might arise without
referential integrity? What should I do about them?
situation. Sales Orders are issued initially for orders which may include
several part numbers. When these orders are completed, they may be shipped
in part or in whole. This means that the same invoice number is used more
than once as well as the sales order number. Additionally, the part numbers
are not unique in that they may represent a unit or an individual part and
the numbers describe what's on the unit. They may ship the same part to
several customers.
The primary issue here is that there aren't any unique numbers to use as
primary keys AND maintain referential integrity. Sooooo....how do I arrange
for associated records to update when something, if anything, gets changed?
and Are there any other potential problems that might arise without
referential integrity? What should I do about them?