Changing a List PRICE Report TO AN INSTALLED PRICE REPoRT

To change a List Price report into an Installed Price report, follow these steps:

1)     Set the DataField to from dtr:Price to dtr:InstallationPrice for all fields, including:

a.     Price textbox in the Details section

b.    Subtotal textboxes in all of the group header and/or footer sections

c.     Price textboxes in the Details section of the level2 and level3 subreports (if detail prices for packages and/or accessories are to be shown)

                                          i.    Alternatively, you could just bind the child item sub report (in the grpItemFooter section) to one of the following sub reports:

·         Proposal Level2 Items (Install Price)

·         Proposal Level2 Items With Images (Install Price)

2)       Remove this bit of script from the grpItemHeader_Format method:

 ' if we are showing labor items, then we need to hide the price field
 If showLaborItems Then
 
  Dim categoryType As String = ""
  try
   categoryType = ReportUtilities.ReturnTextBoxValue(rpt,"grpItemHeader","txtCategoryType").ToString
   If categoryType.ToLower = "labor" Then
    ReportUtilities.SetControlVisibility(rpt, "txtPrice", false)
   Else
    ReportUtilities.SetControlVisibility(rpt, "txtPrice", showItemPrice)
   End If
  catch
  End try
  
 End If