T
TonyT
Hi,
I'm trying to figure a way of having a single stock table that can handle
items that are bought and sold in multiples (eg. Spark Plugs bought by the
hundred) for which I use a modified version of Allen Browne's OnHand function
to calculate current stock quantity from Invoice & BookIn tables. So each
product line only has one record in the table. However I want to include
Wholegoods in the same table (eg a Powertool with a distinct serial number),
these items are also often bought in quantity, but usually in 2's or 3's.
They currently reside in separate tables, but this makes for more work in
ordering, invoicing, cross referencing and historical purchase history.
If I keep the serial number info in a child table of the stock table, I run
into the same issues as I have now with separate tables, whereas if I have a
record in the stock table for each wholegood item it makes for a *lot* of
duplicted data & I have to work around counting stock differently for
different items in the same table, which feels like bad practice!
I've tried so many different table designs/layouts, but none allow me to
relate them all together with ease, currently I have about 60 tables all
nicely normalised, but this one is letting me down!
I'm trying to figure a way of having a single stock table that can handle
items that are bought and sold in multiples (eg. Spark Plugs bought by the
hundred) for which I use a modified version of Allen Browne's OnHand function
to calculate current stock quantity from Invoice & BookIn tables. So each
product line only has one record in the table. However I want to include
Wholegoods in the same table (eg a Powertool with a distinct serial number),
these items are also often bought in quantity, but usually in 2's or 3's.
They currently reside in separate tables, but this makes for more work in
ordering, invoicing, cross referencing and historical purchase history.
If I keep the serial number info in a child table of the stock table, I run
into the same issues as I have now with separate tables, whereas if I have a
record in the stock table for each wholegood item it makes for a *lot* of
duplicted data & I have to work around counting stock differently for
different items in the same table, which feels like bad practice!
I've tried so many different table designs/layouts, but none allow me to
relate them all together with ease, currently I have about 60 tables all
nicely normalised, but this one is letting me down!