Results 1 to 10 of 24

Hybrid View

  1. #1

    Default Re: Business Activity Report 1.5.0 Support Thread

    Quote Originally Posted by shartlesville View Post
    I installed and it works but it shows $0.00 tax and $0.00 coupons no matter what the timeframe and I know several have used coupons and many paid tax. Any idea why it isn't picking up that info?

    Thanks!

    Blessings,
    Krisann
    Your case sounds the most baffling ... based on the SELECT SQL that resides behind the report, it's 'supposedly' impossible not to pick up tax on the order line.

    First things first ... do you know how to use SQL against your database? (We can also communicate via e-mail; I'm at [email protected]).
    GHarls@}-',--
    DataGrange Design Studio
    Web Design and Consulting

  2. #2
    Join Date
    Jul 2009
    Location
    Roswell, NM, USA
    Posts
    97
    Plugin Contributions
    0

    Default Re: Business Activity Report 1.5.0 Support Thread

    Quote Originally Posted by gharls View Post
    Your case sounds the most baffling ... based on the SELECT SQL that resides behind the report, it's 'supposedly' impossible not to pick up tax on the order line.

    First things first ... do you know how to use SQL against your database? (We can also communicate via e-mail; I'm at [email protected]).
    I can do basic stuff what did you have in mind?

    I mean, I can copy, paste, and click 'go' I can also usually search through to find what I'm looking for if I know approximately what table something should be in.

    I am running zcv1.3.8a in case it matters. :-)

  3. #3

    Default Re: Business Activity Report 1.5.0 Support Thread

    Quote Originally Posted by shartlesville View Post
    I can do basic stuff what did you have in mind?

    I mean, I can copy, paste, and click 'go' I can also usually search through to find what I'm looking for if I know approximately what table something should be in.

    I am running zcv1.3.8a in case it matters. :-)
    If not too much a bother, would you please cut and paste the following SQL statement into your phpAdmin query tool for your database, hit the GO button, and then send me a picture of your query results. I'm at [email protected].


    SELECT date(a.date_purchased) orderdate, count(a.orders_id) ordercount, max(b.value) ordermax, sum(round(b.value, 2)) subtotal, IFNULL(sum(round(c.value, 2)),0) coupons, IFNULL(sum(round(d.value, 2)),0) discounts, sum(round(a.order_tax, 2)) tax, IFNULL(sum(round(e.value, 2)),0) shipping, sum(a.order_total) ordertotal FROM orders a JOIN orders_total b ON a.orders_id=b.orders_id AND b.class='ot_subtotal' LEFT JOIN orders_total c ON a.orders_id=c.orders_id AND c.class='ot_coupon' LEFT JOIN orders_total d ON a.orders_id=d.orders_id AND d.class='ot_gv' LEFT JOIN orders_total e ON a.orders_id=e.orders_id AND e.class='ot_shipping' WHERE date_purchased >= '2009-01-01' AND date_purchased < DATE_ADD('2009-07-31', INTERVAL 1 DAY) GROUP BY orderdate

    Thanks.
    GHarls@}-',--
    DataGrange Design Studio
    Web Design and Consulting

 

 

Similar Threads

  1. v152 Support Thread: Report All Errors (Even Warnings)
    By lat9 in forum Addon Admin Tools
    Replies: 34
    Last Post: 1 Feb 2020, 05:42 PM
  2. v151 Sales Report with Graphs support thread
    By JacobBushnell in forum Addon Admin Tools
    Replies: 17
    Last Post: 25 Jul 2019, 02:27 PM
  3. All Business template Support Thread
    By picaflor-azul in forum Addon Templates
    Replies: 994
    Last Post: 23 Apr 2019, 04:44 PM
  4. v153 Linked Products Report [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 11 Jun 2015, 09:52 PM
  5. Admin Activity Report [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 6 Aug 2009, 12:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg