Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - sales tax information

 
Thread Tools Search this Thread
Old 04-28-2004, 10:21 PM   #1
Default sales tax information


I have a product table with productID and UnitCost. I want to calculate sales tax if sales based on instate or state were requires sales tax. In shopping cart I have a Product Quantity and Unitcost per product. I do subtotal on each product and at the end I add up all and do the total.

Should I calculate sales tax per subtotal or should I calculate on total.

Although, I will caluculate tax after I collect Billing and Shipping Info which has state infornation. So When user fills shopping cart I will have just total but on few page later after collecting Billing and Shipping Info I will calculate tax.

Also I like to store total tax or per item base tax in oder table so when User want to see old order I can reassemble again.


=?Utf-8?B?cHBhdGVs?=
  Reply With Quote
Old 04-29-2004, 06:55 AM   #2
David Jessee
 
Posts: n/a
Default Re: sales tax information
Unless you have a specific reason to calculate it on a per-item basis (e.g.
different items have different tax rates) You'r want to do it based on the
total. Otherwise you're introducing rounding errors.

If you DO have different items that have different tax rates (this does
happen sometimes) then you'll want to do seperate subtotals for each class
of item and then calculate the taxes.

"ppatel" <> wrote in message
news:0DD79953-56DC-477E-9B5A-...
> I have a product table with productID and UnitCost. I want to calculate

sales tax if sales based on instate or state were requires sales tax. In
shopping cart I have a Product Quantity and Unitcost per product. I do
subtotal on each product and at the end I add up all and do the total.
>
> Should I calculate sales tax per subtotal or should I calculate on total.
>
> Although, I will caluculate tax after I collect Billing and Shipping Info

which has state infornation. So When user fills shopping cart I will have
just total but on few page later after collecting Billing and Shipping Info
I will calculate tax.
>
> Also I like to store total tax or per item base tax in oder table so when

User want to see old order I can reassemble again.




David Jessee
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Security Information and What You Can Do To Keep Your SystemSafe! Ann.Anderson.group.com@gmail.com A+ Certification 0 12-06-2007 01:55 AM
QUOTES FROM EBAY STORES misirens@hotmail.com DVD Video 1 06-19-2006 10:21 PM
High Def Brings High Sales Hopes. Allan DVD Video 59 08-08-2005 07:03 PM
As growth slows, Hollywood faces a DVD standoff. Allan DVD Video 0 07-11-2005 02:10 PM
Re: 7. The truth about our creator. .7 john smith DVD Video 2 07-25-2003 03:54 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46