Hii all dears
I have a store db ,
tblInvoic :
-InvoiceID
-InvoiceDate
-CustomerID
-DiscountAmount (Long data-type)
tblInvoiceDetails
-InvoiceNo
-ItemID
-ItemPrice
-Quantity
-ItemDiscount (Percentage) of (ItemPrice multiplied by Quantity).
some sellers offer a discount on the total value of the bill as a whole, while others give a different percentage to each item.
in the end i nead a report for :
- every Invoice .
- Monthly report .
- yearly report
How to handle this discounts?
I have a store db ,
tblInvoic :
-InvoiceID
-InvoiceDate
-CustomerID
-DiscountAmount (Long data-type)
tblInvoiceDetails
-InvoiceNo
-ItemID
-ItemPrice
-Quantity
-ItemDiscount (Percentage) of (ItemPrice multiplied by Quantity).
some sellers offer a discount on the total value of the bill as a whole, while others give a different percentage to each item.
in the end i nead a report for :
- every Invoice .
- Monthly report .
- yearly report
How to handle this discounts?