Originally Posted by
Rawb
First, some clarification: When I said "inventory" I was talking about a "list of parts that we have in the plant" not necessarily a "list of all the counts of parts."
That said, it sounds like you think I should make one main table for the "Part Master" list of items like the following:
PartID (text, 11 chars, primary key) - unique part no
PartDesc (text, 128 chars) - description of part
PartStockroomID (integer, index) - ID of the stockroom where this part is stored, linked to Stockrooms table
PartSupplierPartID (text, 32 chars) - manufacturer's part no
PartSupplierID (integer) - ID of the manufacturer that we purchase the part from, linked to a Suppliers table.
PartIsInventoried (boolean, index) - True if the part is counted at month-end inventory
PartIsActive (boolean, index) - True if the part is used in production, false if old product that we have but no longer use/sell
PartHeight (number, ##0.000) - Height (in inches). Used for glass ONLY
PartWidth (number, ##0.000) - Width (in inches). Used for glass ONLY
PartColorID (integer) - ID of the color, linked to Colors table. Used for glass ONLY
PartLT (number, #0%) - percentage of transparency. Used for glass ONLY
PartThick (number, #0.000) - Thickness (in inches). used for glass ONLY
PartIsFalloff (boolean, index) - Is the glass a "remaining portion" of a purchased sheet (that can be reused). Used for glass ONLY
PartIsTempered (boolean, index) - Is the part tempered. Used for glass ONLY *Used for compatibility with previous system, technically not needed*
PartIsSilkscreened - (boolean, index) - Is the part silkscreened before tempering. Used for glass ONLY
PartSilkscreenID - (text, 11 chars) - If PartIsSilkscreened is true, the part no of the silkscreen ink used
PartUMPurchID (integer) - Unit of measurement used when purchasing more of the part, linked to a UMConversion table
PartUMUseID (integer) - Unit of measurement used when producing items from the part, linked to a UMConversion table
PartLeadTimeM (integer) - Minimum lead time (in days) when producing from the part
PartLeadTimeP (integer) - Minimum lead time (in days) when purchasing the part
And then just leave the following fields empty on non-glass records:
PartHeight
PartWidth
PartColorID
PartLT
PartThick
PartIsFalloff
PartIsTempered
PartIsSilkscreened
PartSilkscreenID
Is that correct?
EDIT: Re-reading your replies. . . I'm actually looking for how I should set up what ajetrumpet called a "products table". Again sorry for the confusion!