Reply
 
LinkBack Thread Tools Display Modes
Old 09-28-2007, 02:47 PM   #1 (permalink)
priblejr
Guest
 
Posts: n/a
Post Proposal Filtering Options (Custom Proposal Creation)

Just a quick note:

When I am creating my own proposal from the report editor, some of the standard filtering options are not available for a template.

If I am creating a "Rough-In" proposal, I would like to create a standard report I can run with filters already in place. This phase has certain packages that I am trying to organize. However, when I am creating the template, the "PackageName" filter is not available for a choice, however, in the "run report with filter" option will allow me to sort by "PackageName".

Is this a glitch or is there a specific reason this isn't an option during Report Design?

Also, is it possible to assign a package to a particular Phase, or is it just the individual parts of the package that you can assign? If you can't, that may be a good idea to fix in the future so that you can assign packages to phases! It makes generating reports much easier! Thanks!


Thanks!

Jon Prible

Acoustic Visions

Last edited by priblejr; 09-28-2007 at 03:31 PM.
  Reply With Quote
Old 09-28-2007, 04:51 PM   #2 (permalink)
RickC
Guest
 
Posts: n/a
Default

Originally Posted by priblejr View Post
Just a quick note:

When I am creating my own proposal from the report editor, some of the standard filtering options are not available for a template.

If I am creating a "Rough-In" proposal, I would like to create a standard report I can run with filters already in place. This phase has certain packages that I am trying to organize. However, when I am creating the template, the "PackageName" filter is not available for a choice, however, in the "run report with filter" option will allow me to sort by "PackageName".

Is this a glitch or is there a specific reason this isn't an option during Report Design?
Jon,

This is not a glitch. There are a few filterable properties that are flagged to not show in the "design" view. "PackageName" is one of those. The idea behind blocking certain properties from being set at design time is that the values for these filters are very tightly tied to the values of the items in the current project the report is being run against so setting this value at design time would negatively impact the results of the report for more projects than it helps.

It may be worth unblocking this one from design time in a future release, but it definitely could impact the more general usage of the report.

Originally Posted by priblejr View Post
Also, is it possible to assign a package to a particular Phase, or is it just the individual parts of the package that you can assign? If you can't, that may be a good idea to fix in the future so that you can assign packages to phases! It makes generating reports much easier! Thanks!
Right now, packages do not have associated phases, only the constituent items in the package. It's definitely something for us to consider moving forward though.

-R
  Reply With Quote
Old 09-28-2007, 05:13 PM   #3 (permalink)
RickC
Guest
 
Posts: n/a
Default On second thought...

Jon,

Here is a way to handle this:

From the perspective of the XML against which the reports run, when an Item in the "ProposalItems" section of the XML (this is the data the proposals iterate over) represents a package, the "Manufacturer" value of that Item is set to the name of the package.

This is done for presentation purposes. Items in the proposal are iterated over and show "Manufacturer" or "Manufacturer and Model". When an item is a "package", it has no manufacturer, so the name of the package is set to the this field and it can be bound and consumed the same way physical items in the report are.

If you are simply looking to show items that are contained in a specific package, add a design time filter where manufacturer = package name.

This should yield the results you are looking for.

-R
  Reply With Quote
Old 09-28-2007, 05:13 PM   #4 (permalink)
priblejr
Guest
 
Posts: n/a
Post

Thanks for the reply Rick!

Well, I obviously don't know the inner workings of the software, so I can't argue! I do believe in making things as easy and efficient as possible, and so far I haven't been disappointed. I suppose most of my complaints are in the realm of lack of features, not bad features, so don't worry.

I am looking at how I can create the templates I need to create the various proposals necessary. We work with a variety of departments and to simply load a project with the presets all in place, would, for obvious reasons, make the most sense.

Optimally, I would like to have certain filters in place to organize my information as best as possible and so, if something (such as hours) needs to be changed, that is all I have to do, print it up, and done. Its a bit more work initially, however, it will pay off down the road.

These are really the only issues I have, I guess. Obviously you can do a variety of filtering and such, however, rather than have to run a filter EACH time, having a template with these filters in place, labeled, and ready to go, employees who need to point, click, and print a proposal will have it without really having to understand the program. That is my goal.

I am really into the report design center and determining the proper format for creating my own properties, filters, and data files that I can make standard. Unfortunately, as I said before, my programming skills aren't that great, so any assistance, such as what to type in the "datafield:" property box to acheive a certain result would be greatly appreciated.

For example, right now, I am trying to use the proposal to not say Quantity "40" units of labor, but rather, something like this:

Qty:

<blank> Programming Labor
40 Hours @ 120.00 $4800.00
<blank> Rough-In Labor
30 Hours @ 120.00 $3600.00
<blank> Install Labor
10 Hours @ 120.00 $1200.00


Unfortunately, this is what I get

Qty:

1 Programming Labor
40 Labor Programming Hours $4800.00
1 Rough-In
30 Labor Rough-In Hours $3600.00

etc.

Basically, to describe what is going on (in case you are like "and?") the quantity shows up as 1 instead of blank (or null). The word "Labor" shows up in the description because it is the Manufacturer I created.

What do you suggest? This is the sort of thing I am trying to figure out with D-Tools. Creating templates, layout, etc. for proposals so they are custom to our company, easy to read, and organized.


I appreciate any help!

Thanks again

Jon Prible

Acoustic Visions
  Reply With Quote
Old 09-28-2007, 06:14 PM   #5 (permalink)
RickC
Guest
 
Posts: n/a
Default

Originally Posted by priblejr View Post
Thanks for the reply Rick!

Optimally, I would like to have certain filters in place to organize my information as best as possible and so, if something (such as hours) needs to be changed, that is all I have to do, print it up, and done. Its a bit more work initially, however, it will pay off down the road.
Yep, I get that. That's why the design time filters are there.


Originally Posted by priblejr View Post
These are really the only issues I have, I guess. Obviously you can do a variety of filtering and such, however, rather than have to run a filter EACH time, having a template with these filters in place, labeled, and ready to go, employees who need to point, click, and print a proposal will have it without really having to understand the program. That is my goal.
Yeah, selecting filters for each time a report is generated can be a drag. It comes down to a combination of design time filters (information that is always filtered in a certain manner that is project independent) and runtime filters (for instance, location filters are only valid for a specific project) so these need to be managed in a run by run manner. Even in the case of locations, they may change between the execution of reports so the last filters may no longer be valid...

It comes down to the fact that the values of filters are, in many cases, project context specific.

Originally Posted by priblejr View Post
I am really into the report design center and determining the proper format for creating my own properties, filters, and data files that I can make standard. Unfortunately, as I said before, my programming skills aren't that great, so any assistance, such as what to type in the "datafield:" property box to acheive a certain result would be greatly appreciated.
There are a couple of ways to populate the "datafield" property on a reports control.

On the right-hand side of the designer, there are three windows, one is called "Data Explorer". If you want a "Textbox" control bound to a specific datafield, select the field in the data explorer and drag it onto the report designer. A textbox will be created and the datafield property will be preset.

The datafield property is set to a relative path in the xml based on the "recordset pattern" in the reports data source. The proposals iterate over the //dtr:ProposalItems/dtr:ProposalItem nodes in the XML so when you're working with items, this is the section in the data explorer you need to be looking at.

The other way to do this (may not available until the next SP) will be to right click on the element in the data explorer and click "Copy Datafield", then select the section or control in the report designer, go to the "datafield" property in the "Properties" window and right-click paste. and the datafield will be set.

Originally Posted by priblejr View Post
For example, right now, I am trying to use the proposal to not say Quantity "40" units of labor, but rather, something like this:

Qty:

<blank> Programming Labor
40 Hours @ 120.00 $4800.00
<blank> Rough-In Labor
30 Hours @ 120.00 $3600.00
<blank> Install Labor
10 Hours @ 120.00 $1200.00


Unfortunately, this is what I get

Qty:

1 Programming Labor
40 Labor Programming Hours $4800.00
1 Rough-In
30 Labor Rough-In Hours $3600.00

etc.


Basically, to describe what is going on (in case you are like "and?") the quantity shows up as 1 instead of blank (or null). The word "Labor" shows up in the description because it is the Manufacturer I created.

What do you suggest? This is the sort of thing I am trying to figure out with D-Tools. Creating templates, layout, etc. for proposals so they are custom to our company, easy to read, and organized.


I appreciate any help!

Thanks again

Jon Prible

Acoustic Visions
This type of thing is going to require a bit of script, no two ways around it.

The first thing to consider is that D-Tools allows for the management of labor in a number of ways. By default is based on the "Install Hours" associated with an item and then calculated based on the phase the item is associated with.

What you're working with are labor items. When you drop one into the project, it's one item so the quantity is 1. This has to do with the fact that there are a number of ways the price of this labor item can be calculated (variable, fixed, variable based on phase, fixed + variable, etc...)

What you would have to do is something like this:

Drop a textbox control onto the grpItemheader section of the report and bind it to the "InstallationHours". Sounds like you've done this.
Flip to the "Script" window.
Select "grpItemHeader" in the "Object" dropdown and "Format" in the event drop down.
You'll see a bit of script that starts like this:

If showLaborItems Then ...


buried in there is a test against the categorytype of the item.

When it is "labor", you need to add this:

ReportUtilities.SetControlVisibility(rpt, "txtQuantity", false)

when it is NOT labor, need to add this:

ReportUtilities.SetControlVisibility(rpt, "txtQuantity", true)

This will show/hide the quantity based on whether the item is a labor item, just like the "price" is being shown and hidden in that same section of script.

As for the actual rate of the labor, this is not pulled into the XML due to the number of ways the price of labor can be calculated. It is also complicated by the types of labor that can be calculated depending on the (fixed, variable, variable based on phase, etc) setting.

If you are simply doing "variable" labor, then you can do the math on this as it is the installation price of the item divided by the installation hours of the item.

Set that value to a textbox. This may be something that you would want to add a calculated field to the report for. The proposal has one already so you can probably use that as a template for how to do it.

Much information on the general behavior of the report engine we use (Active Reports) can be found here: http://www.datadynamics.com.

Hopefully this sets you on the right track.

-R
  Reply With Quote
Old 10-01-2007, 04:57 PM   #6 (permalink)
priblejr
Guest
 
Posts: n/a
Default

Rick,

Thank you very much for your assistance in this matter. This has actually helped out tremendously and I want to thank you again for your time in this endeavor. I have been able to generate a number of reports quickly and efficiently without worry how it looks at this point (meaning that I don't have to worry about formatting errors project to project). I apologize I couldn't get back to you on Friday, but alas the week ends and the weekend begins!

I am in the process of learning a variety of programming languages in an effort to better understand the functioning of not only D-Tools, but other programs as well in an effort to make life "easier" in the end. Thank you again for your time and I hope I don't have to bother you again!

Respectfully,

Jon Prible

Acoustic Visions
1839 Cherry St.
Louisville, Colorado
80027
(303) 440-1919
  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
custom formatted proposal reports garym Reports and Reporting Center 3 12-07-2008 05:47 AM
Custom Customer Proposal Report luke_p_nelson Reports and Reporting Center 3 12-03-2007 05:25 PM
Custom Proposal - Page Wise. jdhone Reports and Reporting Center 2 07-18-2007 08:33 PM


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