Reply
 
LinkBack Thread Tools Display Modes
Old 03-27-2008, 05:17 AM   #1 (permalink)
Senior Member
 
Join Date: Jul 2006
Posts: 182
Memphix is on a distinguished road
Default Line Item Installed Price showing Owner Furnished

On the Line Item Installed Price, it just doesn't display a price if its owner furnished.

I have come across the utility dtr:OwnerFurnishedEquipment, but using this provides a true or false field. Ideally it would just say owner furnished if it is and nothing if it isn't. Does this require some knowledgeable scripting or just tweaking some fields?

This use to be displayed with SI4 (if you chose product description... however using the client description did not show it).
Memphix is offline   Reply With Quote
Old 03-27-2008, 02:10 PM   #2 (permalink)
RickC
Guest
 
Posts: n/a
Default

Originally Posted by Memphix View Post
On the Line Item Installed Price, it just doesn't display a price if its owner furnished.

I have come across the utility dtr:OwnerFurnishedEquipment, but using this provides a true or false field. Ideally it would just say owner furnished if it is and nothing if it isn't. Does this require some knowledgeable scripting or just tweaking some fields?

This use to be displayed with SI4 (if you chose product description... however using the client description did not show it).
You can probably add a textbox control to your report and set the text to "OFE" or whatever you want to call it.

In the script, in the "Format" event of the respective section, you may be able to do something like:

Code:
' Get the current item
Dim currentItem as DTools.SystemIntegrator.Reporting.Item = ReportUtilities.ReturnItem(rpt)

'Test for null
If currentItem isnot nothing then
Assumes the control is named "TextBox1" ReportUtilities.SetControlVisibility(rpt, "TextBox1", itm.OwnerFurnishedEquipment)
end if
RE: SI4 and OFE. OFE was never noted as a field in the DB. When a user checked "Owner Furnished", it stuck the string "OFE" onto the end of the product description in the project. and then OFE was tested for by checking if the description ended in "OFE". This was problematic for a lot of reasons. The side effect was that products in proposals were automatically flagged as OFE. Which I suppose you could simply modify the description of the product and forget about the above suggestion.

-R
  Reply With Quote
Old 03-27-2008, 10:37 PM   #3 (permalink)
Senior Member
 
Join Date: Jul 2006
Posts: 182
Memphix is on a distinguished road
Default

Thanks for your reply...

I received the folling validation errors:
Report Script Compile Error on line 71 Error = Name 'itm' is not declared.
Report Script Compile Error on line 355 Error = Access of shared member, constant member, enum member or nexted type through an instance; qualifying expression will not be evaluated.

First error is referring to the line " 'Assumes the control Is named "TextBox4" "
and second to a line that is blank?

I've included the report as a zip (its a customised Line Item Installed Price... in the process of adding extra fields such as cost price). It publishes without errors prior to this addition.

Sorry my scripting isn't there yet (was not able to expand on what you provided). What language is that your using (VB/VB.NET/C etc) ??
Attached Files:
File Type: zip OFE.zip (16.7 KB, 2 views)
Memphix is offline   Reply With Quote
Old 03-28-2008, 11:35 AM   #4 (permalink)
RickC
Guest
 
Posts: n/a
Default

ah...typos when free wheeling a bit of script...

Hopefully, I caught them all this time.

Needed a comment marker in front of the line that starts with "Assumes"
variable name is "currentItem", not "itm"


The language is VB.NET, but AR supports C# too. The script for all the reports is written in VB.NET though since it's more readable and more people who have created marcos or done any MS Office scripting will be more familiar with the syntax.

-R


Code:
' Get the current item
Dim currentItem as DTools.SystemIntegrator.Reporting.Item = ReportUtilities.ReturnItem(rpt)

'Test for null
If currentItem isnot nothing then
'Assumes the control is named "TextBox1" ReportUtilities.SetControlVisibility(rpt, "TextBox1", currentItem.OwnerFurnishedEquipment)
end if
  Reply With Quote
Old 06-25-2008, 04:29 AM   #5 (permalink)
Senior Member
 
Join Date: Jul 2006
Posts: 182
Memphix is on a distinguished road
Default

I've tried to add this new script to my report, it received no compile errors - promising.

Then I got no results, tried filter for OFE only and then said there was no result. Then I remembered why, the OFE check box disapears (a current bug that)... Owner furnished equipment

Are there plans for a small update soon. This is very restricting.
Memphix is offline   Reply With Quote
Old 06-25-2008, 06:10 PM   #6 (permalink)
Member
 
garym's Avatar
 
Join Date: Mar 2006
Posts: 70
garym is on a distinguished road
Default

What are you trying to accomplish? If you're just trying to communicate to the client that these line items are his gear, I have a "manufacture" in my database called "Client Supplied", it has all the items that client's generally supplies (displays, audio, and video sources... etc.), they have the proper labor and accessories attached and the client knows easily from the report that this is his stuff. Once the project is closed, I can easily replace these with the correct model.
__________________
MP3... what is that... a new Mazda?

CIdocs.com

Go Cubs!

Last edited by garym; 06-25-2008 at 06:13 PM.
garym is offline   Reply With Quote
Old 06-30-2008, 07:38 AM   #7 (permalink)
Senior Member
 
Join Date: Jul 2006
Posts: 182
Memphix is on a distinguished road
Default

Thanks for your input, the option of changing the Manufacturer to an "Owner Furnished" manufacturer is a possibility.

But I am still keen to see this bug fixed as I don't want to sift through these big projects for each OFE item.
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
How to add sales tax to the Installed Price on an item basis Francisco Felix Reports and Reporting Center 6 04-01-2011 08:50 PM
Breaking out accessories jpol Reports and Reporting Center 6 05-05-2008 02:09 PM
Line Item Installed Price w/ Packages jgore.maxsecurity Suggestions and Feature Requests 4 07-26-2007 09:48 PM
Line Item List Price Report by Location by Zone Sort order? jims SI4 Quick Tips and Customizations 15 08-22-2006 03:50 PM
Line Item List Price Report with * for Items with hidden Accessories? jims SI4 Quick Tips and Customizations 1 06-06-2006 03:32 AM


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