Taxable Amount in SOP30200
-
Taxable Amount in SOP30200
Posted by Daryle Ridley on November 27, 2018 at 11:37 am-
I need to report for all invoices for one state. I am pulling the info into excel. I need to show how much of the total or subtotal of the invoices is taxable. I was hoping the Taxable Tax Amount (TXBTXAMT) would be the field I would need, but it appears to be all zeros. I am looking in the SOP30200 (and the ‘SalesTransactions’ view for easier readability)
I know I can look in the SOP10105 table to see “Original Total Taxable Sales” (ORTXSLS) field, however that table has many lines for each tax schedule and each line item. Not sure how I would link that correctly.
Thanks.
——————————
Daryle Ridley
Director of IT
Formetco
Duluth GA
—————————— -
Danny Maxwell
MemberNovember 27, 2018 at 6:23 PM
Try SOP30300 (sales transaction amounts history)select SOPD.SOPNUMBE,SUM(TAXAMNT) from SOP30300 SOPD –sales transaction amounts (history)
where SOPD.SOPTYPE = 3 and SOPD.[STATE] = ‘YOUR STATE’
group by SOPD.SOPNUMBE;——————————
Danny Maxwell
Business Analyst
AFL
Duncan SC
——————————
——————————————- -
Thanks for your reply, however your query is adding the Tax amount. I am able to get the tax amount charged on an invoice. What I need is how much of the sales amount shown is taxable. It does show this value in the SOP10105, however it shows it several times depending on the tax details it applies to.
thanks.
Daryle
——————————
Daryle Ridley
Director of IT
Formetco
Duluth GA
——————————
——————————————- -
Hi @Daryle Ridley
It seems like you are looking for the tax on the sales tax or taxable tax – please confirm and we may have more specific help for you.
Also, in your system are all items taxable? Are there any further or complicated rules for taxing for you guys??
——————————
Kindest Regards,
Jo deRuiter , MCP, DCP
“That GP Red Head”
AISLING DYNAMICS CONSULTING, LLC
Advanced Credentialed Professional-Dynamics GP
GPUG Academy Instructor
Co-Chair: GPUG GP Credentialing Exam Council
Chairman, GPUG Partner Advisory Board
Principal Financial Systems Consultant
Milwaukee, WI
770-906-4504 (Cell)
——————————
——————————————- -
Im looking for the amount of the subtotal that is taxable and the amount that is not taxable. We do charge labor and several other items that don’t get taxed. For the most part, they are usually a separate order, but I am betting I will find some with a taxable item and a non taxable item together.
——————————
Daryle Ridley
Director of IT
Formetco
Duluth GA
——————————
——————————————- -
?I wrote this for our Accountants, which lists out the taxable amounts, the state, and factors in returns.SELECT CASE WHEN RTRIM(i.[STATE]) = ” THEN RTRIM(c.[STATE])ELSE RTRIM(i.[STATE])END as ShipTo, RTRIM(c.[STATE]) as BillTo, RTRIM(i.CUSTNAME) as CustomerName, RTRIM(i.SOPNUMBE) as InvoiceNumber, i.INVODATE as InvoiceDate, i.SUBTOTAL as Subtotal, i.MISCAMNT as Warehouse, i.FRTAMNT as Freight, RTRIM(i.LOCNCODE) as SupplierFROM LOGIS..SOP30200 iLEFT JOIN LOGIS..RM00102 c ON i.CUSTNMBR = c.CUSTNMBRAND i.PRBTADCD = c.ADRSCODEWHERE i.VOIDSTTS = 0AND i.SOPTYPE = 3AND i.INVODATE >= @startdateAND i.INVODATE <= @enddate/* Returns */UNION ALLSELECT CASE WHEN RTRIM(i.[STATE]) = ” THEN RTRIM(c.[STATE])ELSE RTRIM(i.[STATE])END as ShipTo, RTRIM(c.[STATE]) as BillTo, RTRIM(CUSTNAME) as CustomerName, RTRIM(SOPNUMBE) as InvoiceNumber, RETUDATE as InvoiceDate, convert(money,- SUBTOTAL) as Subtotal, i.MISCAMNT as Warehouse, i.FRTAMNT as Freight, RTRIM(i.LOCNCODE) as SupplierFROM LOGIS..SOP30200 iLEFT JOIN LOGIS..RM00102 c ON i.CUSTNMBR = c.CUSTNMBRAND i.PRBTADCD = c.ADRSCODEWHERE i.VOIDSTTS = 0AND i.SOPTYPE = 4AND i.RETUDATE >= @startdateAND i.RETUDATE <= @enddate
——————————
Blair Christensen
Database Administrator
Oppenheimer Companies, Inc.
Boise ID
——————————
——————————————- -
Blair, thanks for the query. I looked at it and it appears to only show the Subtotal that is in the SOP30200 table. My question is, how much of the Subtotal in the SOP30200 table is taxable?
——————————
Daryle Ridley
Director of IT
Formetco
Duluth GA
——————————
——————————————- -
To get more details from the SOP30200 and what is taxable within the subtotal, you need to dig into the details table. SOP30300. By linking the fields SOPNUMBE you can find the line items and their tax rate, since they could not only be exempt but also at a different amounts. (Tax Schedules)
If you need more detail, then link into SOP10105 – This will give you a full look at all the tax info.
——————————
Kerry Hataley
CEO & President
Nanook Software, Inc
——————————
——————————————-
Daryle Ridley replied 5 years, 5 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘Taxable Amount in SOP30200’ is closed to new replies.