S
Simon Glencross
I have created a database which hold customer details, stock control and
sales.
I am having difficulty with the following.
When I sell and Item I need this to be deducted from the total stock for the
item which has been sold, what is the best way to do this?
I have the following tables.
tblinvoice
Invoice ID(pk)
CustomerID(fk)
InvoiceDate
InvoiceNotes
Tblinvoicedetails
InvoiceDetailID (pk)
InvoiceID(fk)
Quantity
PriceEach
ItemCode(fk)
tblproducts
Itemcode (pk)
Description
productgroup
rrprice
salesprice
tblcurrentstock
Itemcode (pk)
Quantity
Any help would be much appreciated.
sales.
I am having difficulty with the following.
When I sell and Item I need this to be deducted from the total stock for the
item which has been sold, what is the best way to do this?
I have the following tables.
tblinvoice
Invoice ID(pk)
CustomerID(fk)
InvoiceDate
InvoiceNotes
Tblinvoicedetails
InvoiceDetailID (pk)
InvoiceID(fk)
Quantity
PriceEach
ItemCode(fk)
tblproducts
Itemcode (pk)
Description
productgroup
rrprice
salesprice
tblcurrentstock
Itemcode (pk)
Quantity
Any help would be much appreciated.