Skip to Content
author's profile photo Former Member
Former Member

Tax table for Query report

Hi all,

Actually i'm creating one tax report based AP invoice. I'm using 3 tax codes in AP invoice.

1) ED 10.3% - ED 10% 2) CST 2% 3) VAT 14.5 %

CESS 2%

HCESS 1%

now i want to add Total before discount, FREIGHT, DISCOUNT ALLOWED, Rounding,

Base amount(ED),Base amount(CESS),Base amount(HCESS), Base amount(CST), Base amount(VAT),

Tax amount(ED), Tax amount(CESS),Tax amount(HCESS), Tax amount(CST), Tax amount(VAT).


from which tables i can get these values?


help me out in this.



Thanks & Regards,

Saikrishna.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 10, 2014 at 11:58 PM

    Hi,

    Please refer threads:

    Thanks & Regards,

    Nagarajan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2014 at 08:21 PM

    Hi Sai,

    Have you checked PCH4?

    Thanks,

    Joseph

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Saikrishna,

      This information woudl be statype specific, you can write query like:

      (Select distinct isnull(Sum(PCH4.taxsum),0) from PCH4 where PCH4.statype= 10 and PCH4.docentry=T7.Docentry and PCH4.linenum = T6.Linenum )BED,

      (Select distinct isnull(Sum(PCH4.taxsum),0) from PCH4 where PCH4.statype=11 and PCH4.docentry=T7.Docentry and PCH4.linenum = T6.Linenum )Cess,

      (Select distinct isnull(Sum(PCH4.taxsum),0) from PCH4 where PCH4.statype=12 and PCH4.docentry=T7.Docentry and PCH4.linenum = T6.Linenum )HeCess,

      This would get you all the required fields from PCH4, change tax sum with baseamount and so on..

      Thanks,

      Joseph

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.