Results 1 to 2 of 2
  1. #1
    MacMan is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Oct 2015
    Posts
    8

    Calculation of Sales Tax with exception.

    I have created a database for recording sales transactions for a local bazar.

    The input file consists of:
    ID
    Ticket_no


    Consignor
    Qty
    Unit_Price
    Unit_Total

    The non-taxable items consignor is "Raffle" the rest of the consignors are 3 digit numbers

    My issues is when calculation the total for the Sales Ticket sales Tax how to separate out an Non-taxable item?
    Example: I have 12 items on a ticket, 2 of which are non-taxable

    any help greatly appreciated.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    It seems to me you should have a location for unit_tax or some field to identify taxable/nontaxable.
    You may want to do this in 2 steps:

    step1;; orderitem
    unitID
    unitQty
    unitSellingPrice

    step2:

    Invoice based on OrderItem
    unitPurchased
    unitQty
    unitSellingPrice
    unitIsTaxable

    Summation Loop: (for concept only)

    IFunitIsTaxable= True then
    Total =Total + unitSellingPrice*UnitQty * Tax%
    else
    Total = Total + unitSellingPrice*UnitQty)
    endif

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 26
    Last Post: 11-02-2016, 10:38 AM
  2. Certain data exception
    By azhar2006 in forum Queries
    Replies: 2
    Last Post: 03-18-2016, 10:39 AM
  3. Replies: 0
    Last Post: 12-13-2012, 03:18 AM
  4. Replies: 5
    Last Post: 06-30-2011, 02:24 AM
  5. Exception Reporting
    By shexe in forum Queries
    Replies: 16
    Last Post: 09-09-2010, 09:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums