Reply
 
LinkBack Thread Tools Display Modes
Old 01-04-2011, 04:21 AM   #1 (permalink)
Junior Member
 
Bill Battaglia's Avatar
 
Join Date: Sep 2006
Posts: 28
Bill Battaglia is on a distinguished road
Send a message via Skype™ to Bill Battaglia
Default Tax Rates

Where can I access the Tax Rates so I can display this value on a Report and to utilize in Calculations?

This is due to the Tax not being calculated correctly for the Purchasing Tax whihc causes the InstallationPrice_Tax not being correct.
__________________
Bill Battaglia

designecentral.com
bill@designecentral.com
925.231.0288
Bill Battaglia is offline   Reply With Quote
Old 01-04-2011, 06:20 AM   #2 (permalink)
Super Moderator
 
NareshN's Avatar
 
Join Date: Nov 2006
Posts: 430
NareshN has a spectacular aura aboutNareshN has a spectacular aura aboutNareshN has a spectacular aura about
Default

Hi Bill,

The purchase tax totals are not part of the reporting xml (schema).
The only way you can get this is to read the DTL directly via script - this is failry complex script.

This post by Karthik here notes how to read the dtl to get information for location types - you need to follow this and get the purchase tax code for the item.

Location Path Order

As I said this will be complex script.
NareshN is offline   Reply With Quote
Old 01-08-2011, 08:09 AM   #3 (permalink)
Senior Member
 
Join Date: May 2009
Location: Chennai, India
Posts: 157
nkarthick is on a distinguished road
Default Purchase Tax Cost of Item

Hi Bill,

I have created a custom report (Line Item Purchase Tax Cost) to display the purchase tax cost for each line item.

You can download it from here
  • This report will get the project's purchase tax rate information from the project .dtl file and keep it in the cache.
  • While fetching each item, it will get the purchase tax code for that item from the .dtl file and do purchase tax cost calculation and assign it to the report custom field called “PurchaseTax”.
  • Purchase tax Cost for a Item = (Item Cost * PST rate) + (Item Cost * GST rate)

This report is to give you basic idea about reading .dtl file information and doing some tax calculation.

You can develop from here.

Hope it helps.
__________________
Narayana Karthik
nkarthick is offline   Reply With Quote
Old 04-08-2011, 09:42 PM   #4 (permalink)
Senior Member
 
Join Date: Mar 2006
Location: Novato (20 miles north of San Francisco)
Posts: 445
fryeguy is on a distinguished road
Default

So if I understand all this, the "tax rate" info is not stored in the project XML file, only the actual values for tax calculated with the rate during runtime.
Reviewing a project XML file appears to confirm this.
Is this correct?
fryeguy is offline   Reply With Quote
Old 04-09-2011, 06:45 AM   #5 (permalink)
Senior Member
 
Join Date: May 2009
Location: Chennai, India
Posts: 157
nkarthick is on a distinguished road
Lightbulb Clear now?

Hi,

I think you understand it correctly. But am not clear about which file are you referring as Project XML file.

But anyway let me explain it clearly (revealing the secret of D-Tools Reporting just kidding)–

As you guys know – Project Information like Product, Package, Location, Zone, Tax Rate, Price, etc., are stored in .dtl (XML format) file.

While running a standard report for a project, System Integrator (SI) generates a XML document and it’s used as Data source for that report.

This generated XML document does not have tax rate information but it has calculated tax value for each item as well as for the whole project.

FYI: You can find the generated XML document (after running the report) into the following location –

Windows 7 /Vista User –
C:\Users\{Current User}\AppData\Roaming\D-Tools\SI5\Reports\Project_Data\

Windows XP –
C:\Documents and Settings\{Current User}\Application Data\ D-Tools\SI5\Reports\Project_Data\


Note:
1. Name of the generated XML document starts with ReportData_
2. This xml files will be cleared once you restart the SI.

Hopefully it clears your doubt.
__________________
Narayana Karthik
nkarthick is offline   Reply With Quote
Old 06-02-2011, 02:25 PM   #6 (permalink)
Junior Member
 
Bill Battaglia's Avatar
 
Join Date: Sep 2006
Posts: 28
Bill Battaglia is on a distinguished road
Send a message via Skype™ to Bill Battaglia
Default Change Orders

For some reason this is not working with Change Orders?

Am I missing something?

Thanks,

Bill
__________________
Bill Battaglia

designecentral.com
bill@designecentral.com
925.231.0288
Bill Battaglia is offline   Reply With Quote
Old 06-03-2011, 04:45 AM   #7 (permalink)
Junior Member
 
Bill Battaglia's Avatar
 
Join Date: Sep 2006
Posts: 28
Bill Battaglia is on a distinguished road
Send a message via Skype™ to Bill Battaglia
Default

This has to do with the Taxes not being exposed for the Report.
__________________
Bill Battaglia

designecentral.com
bill@designecentral.com
925.231.0288
Bill Battaglia is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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



All times are GMT. The time now is 09:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
D-Tools, Inc.