Reply
 
LinkBack Thread Tools Display Modes
Old 02-15-2008, 11:24 PM   #1 (permalink)
jdhone
Guest
 
Posts: n/a
Default Proposal with "Options"

I am trying to create a custom proposal report with "options." The idea is to be able to create a "base package" as one Sub-System or zone, and then create more Sub-Systems that would be upgrade options or add-ons. The last page would be a form to manually fill in a total with all of the selected items instead of the grpSummanyDetail and acceptance. I have come close to creating the report, but cannot quite get it to where I want.

I have been modifying the "Install Price" report(s) and running it to sort by Zone only. This gives me the Zone description and then lists all of the items that are to be placed in that zone. At the end of the items for each Zone I would like to insert an acceptance form for the client to initial for the upgrades or add-ons. I can get the form to insert after the each Zone Description, after EACH of the items in a zone, or at the very end of the report in the SummaryDetail Section, but not at the end of the items for each of the zones. I have tried placing the form in each of the GrpFooters and the grpSub Total, but it does not show up when I run the report.

Any suggestions would be greatly appreciated. I think it will be a pretty cool reposrt once completed. I would be willing to share if anyone can help.

Thanks!
  Reply With Quote
Old 02-18-2008, 06:38 PM   #2 (permalink)
RickC
Guest
 
Posts: n/a
Default

Originally Posted by jdhone View Post
I have been modifying the "Install Price" report(s) and running it to sort by Zone only. This gives me the Zone description and then lists all of the items that are to be placed in that zone. At the end of the items for each Zone I would like to insert an acceptance form for the client to initial for the upgrades or add-ons. I can get the form to insert after the each Zone Description, after EACH of the items in a zone, or at the very end of the report in the SummaryDetail Section, but not at the end of the items for each of the zones. I have tried placing the form in each of the GrpFooters and the grpSub Total, but it does not show up when I run the report.

Thanks!
If you're using one of the Proposals as a base, then the report layout should have a number of sections grpDynamicheader1, grpDynamicHeader2, etc...

When you run by Zone, then the data is sorted by zone and the grpDynamicHeader1 section has it's Datafield property set to Zone so the groups are created. This section has a sibling footer section called grpDynamicFooter1. If you add your signature fields to this section, they should generate at the bottom of every Zone section of the report.

Hope this helps.

-R
  Reply With Quote
Old 02-18-2008, 07:35 PM   #3 (permalink)
jdhone
Guest
 
Posts: n/a
Default

Originally Posted by RickC View Post
If you're using one of the Proposals as a base, then the report layout should have a number of sections grpDynamicheader1, grpDynamicHeader2, etc...

When you run by Zone, then the data is sorted by zone and the grpDynamicHeader1 section has it's Datafield property set to Zone so the groups are created. This section has a sibling footer section called grpDynamicFooter1. If you add your signature fields to this section, they should generate at the bottom of every Zone section of the report.

Hope this helps.

-R
I ended up trying the "Proposal With Images (Install Price)" report again and it worked; I got my acceptance form to populate where the subtotal for grpDynamicFooter1 is listed. Still, for some reason on the "Proposal w/Graphics (Install Price)" report, nothing listed in the grpDynamicFooter's show up, including the subtotal that was designed into the original report. You might want to try it yourself to see if it is a bug in the report that has simply been overlooked or gone unnoticed until now.

Anyway, I have been working on some new graphics, contract rtf's etc. for my new report now that I can get it to populate the way I want. The only other question I have is, is there anyway to change the way "installed price" is calculated? I would like to add sales tax into the equation, but cannot seem to figure it out. As of right now, I have simply added sales tax to each section, but would like to just have the installed price be the equipment, plus labor, plus sales tax.

Thank you!

Last edited by jdhone; 02-18-2008 at 07:37 PM.
  Reply With Quote
Old 02-19-2008, 02:54 PM   #4 (permalink)
RickC
Guest
 
Posts: n/a
Default

Originally Posted by jdhone View Post
The only other question I have is, is there anyway to change the way "installed price" is calculated? I would like to add sales tax into the equation, but cannot seem to figure it out. As of right now, I have simply added sales tax to each section, but would like to just have the installed price be the equipment, plus labor, plus sales tax.

Thank you!

In the script, select the the DataInitialize event of the ActiveReport and add the following line:

Code:
rpt.Fields.Add("totPrice")


In the FetchData event of the ActiveReport:
Code:
rpt.Fields("totPrice").Value = ReportUtilities.TotalItemPrice(rpt)

This helper method returns an items installationprice + tax

Then, in your report, bind your textbox datafield properties to the "totPrice" field.

Couple of points on Tax...

The raw tax amount on a per item basis is not rounded so it may go out to the nth decimal place. This is because tax should always be calculated on the total of the taxable amount and then rounded, not rounded on a per item basis.

You can imply the rounding by ensuring the OutputFormat of the bound textbox control is set to "C" (no quotes, just the letter). This applies a currency format to the value bound to the textbox control.

Also, while when using SI with the "Standard" tax setting, there is only one tax entry calculated "Sales Tax", but when using "Canada" as your tax setting, there are entries for the PST and GST amounts. The helper function adds all these up for you.

Hope this helps.

-R
  Reply With Quote
Old 02-19-2008, 07:24 PM   #5 (permalink)
jdhone
Guest
 
Posts: n/a
Default

Rick,

Thank you for your responses to my thread about a custom proposal with options. Mayber I'm stupid, but my problem now is that I don't know how to view the script for the active report and edit the script as you have described above. If you could give me a little more detail, I would appreciate it.


ALSO, will this change the calculation for all reports, or just this one?

Thank you,

Last edited by jdhone; 02-19-2008 at 07:31 PM.
  Reply With Quote
Old 02-20-2008, 02:38 PM   #6 (permalink)
RickC
Guest
 
Posts: n/a
Default

Originally Posted by jdhone View Post
Rick,

Thank you for your responses to my thread about a custom proposal with options. Mayber I'm stupid, but my problem now is that I don't know how to view the script for the active report and edit the script as you have described above. If you could give me a little more detail, I would appreciate it.


ALSO, will this change the calculation for all reports, or just this one?

Thank you,

Nope, your're not stupid.

I just made some assumptions...

There's a link in our documentation:
Custom Reporting Documents

direct link here:
Adding Calculated Fields To A Report

which discusses the details of adding calculated fields to reports.

Check that out and see if it doesn't clarify things.

-R
  Reply With Quote
Old 02-21-2008, 04:42 PM   #7 (permalink)
c-me
Guest
 
Posts: n/a
Default

Wow! I have skipped that part of my "to do" list because I didn't think there was anyway I could figure out how to make such a report. Now, after reading this thread I can just cross it off the list because that is definitely over my head!

Way to go for figuring it out! Maybe D-tools should just add a few more reports that could include some reports like this . Save some of us who don't see that far past the basic adjustments .
  Reply With Quote
Old 02-24-2008, 06:21 PM   #8 (permalink)
slemay
Guest
 
Posts: n/a
Default

I'd REALLY REALLY love some way to have an "options add-on" report or something that doesn't add to the bottom line, but shows the customer he can upgrade stuff for XXX dollars etc... etc...

Currently we put a room into the project called "OPTIONS" - and then discount it at the end... it's a bit confusing - but it's the best we could come up with (read: easiest we could come up with).
  Reply With Quote
Old 02-25-2008, 09:56 PM   #9 (permalink)
Senior Member
 
Join Date: Jul 2006
Posts: 182
Memphix is on a distinguished road
Default

Have you thought about using revisions for your options? Read up on them, I *think* they might help you out.
Memphix is offline   Reply With Quote
Old 02-25-2008, 10:24 PM   #10 (permalink)
Senior Member
 
Join Date: Jul 2006
Posts: 182
Memphix is on a distinguished road
Default

RickC,

Is there a document that shows what other fields are available like TotalItemPrice? or can this be found in the Data Explorer somewhere?

To spell out the textbox properties from RickC's help above:
(Name) txttotPrice
DataField totPrice
OutputFormat C

I've inserted the tax amount before that total. Just drag and drop "dtr:Total" onto the page found in the Data Explorer here:

+dtr:ProjectTaxes
+dtr: ProjectTax
-dtr: Description
-dtr: Labor
-dtr: Equipment
-dtr: Total

and format it by putting "C" in its OutputFormat field within Properties.

Last edited by Memphix; 02-25-2008 at 11:31 PM.
Memphix 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combined Report, Proposal with Cost summary and Hours Tim Neill Reports and Reporting Center 1 02-29-2008 01:02 PM
Proposal Mauricio Reports and Reporting Center 0 12-21-2007 09:14 PM
Proposal Filtering Options (Custom Proposal Creation) priblejr Reports and Reporting Center 5 10-01-2007 04:57 PM
Custom Proposal - Page Wise. jdhone Reports and Reporting Center 2 07-18-2007 08:33 PM
How Do I Change The Client A Proposal Is Connected To? PsiKoTicK 'How Do I' Questions 3 10-03-2006 11:36 PM


All times are GMT. The time now is 02:38 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.