<?xml version="1.0" encoding="utf-8"?>
<Report Location="Microsoft Reporting Services" Host="bnbdatabase1" Path="Sales_Order_Detail_2008R2">
	<Group Name="Report Information">
		<Property Name="Description"><![CDATA[Purpose: Detail report. Displays details for a range of orders, and is a drillthrough report for an individual sales order from Employee_Sales_Summary_2008R2. Includes free form layout, tablix used as list and table, a subreport, session variables for calculating running page totals, custom code, image, expression-based page breaks based on the number of detail rows, page names, page numbering with report and within group, and conditionally hidden text.]]></Property>
		<Property Name="Author"><![CDATA[Mary Lingel MSFT based on report by Robert Bruckner MSFT.]]></Property>
		<Property Name="Initial Page Name"><![CDATA[SalesOrder]]></Property>
		<Property Name="ReportID"><![CDATA[602b0e43-347c-4a5b-8326-d0c562c9ddcb]]></Property>
	</Group>
	<Group Name="Data Sources">
		<Group Name="AdventureWorks2008R2">
			<Property Name="Name"><![CDATA[AdventureWorks2008R2]]></Property>
			<Property Name="Security Type"><![CDATA[None]]></Property>
		</Group>
	</Group>
	<Group Name="Datasets">
		<Group Name="SalesOrders">
			<Property Name="Name"><![CDATA[SalesOrders]]></Property>
			<Group Name="Query">
				<Property Name="Data Source"><![CDATA[AdventureWorks2008R2]]></Property>
				<Property Name="CommandText"><![CDATA[SELECT SOH.SalesOrderNumber, S.BusinessEntityID, S.Name, 
  SOH.SalesOrderID, SOH.SalesPersonID, SOH.TotalDue,
  SOH.OrderDate, SOH.PurchaseOrderNumber,
  SOH.BillToAddressID, SOH.ShipToAddressID, SOH.ShipMethodID,
  SM.Name AS ShipMethod, BA.AddressLine1 AS BillAddress1, BA.City AS BillCity, 
  BA.PostalCode AS BillPostalCode, BSP.Name AS BillStateProvince, 
  BCR.Name AS BillCountryRegion, 
  SA.AddressLine1 AS ShipAddress1,SA.City AS ShipCity, SA.PostalCode AS ShipPostalCode, 
  SSP.Name AS ShipStateProvince, SCR.Name AS ShipCountryRegion,
  e.JobTitle, per.[FirstName] + N' ' + per.[LastName] AS [SalesPerson], 
  ph.PhoneNumber,
  SD.SalesOrderDetailID, SD.OrderQty, SD.UnitPrice, 
  CASE WHEN SD.UnitPriceDiscount IS NULL THEN 0 ELSE SD.UnitPriceDiscount END 
     AS UnitPriceDiscount, 
  SD.LineTotal, SD.CarrierTrackingNumber, P.Name as ProductName, P.ProductNumber
  FROM [Sales].[SalesOrderHeader] SOH 
    INNER JOIN Sales.Customer C ON SOH.CustomerID = C.CustomerID
    INNER JOIN Sales.Store S ON C.StoreID = S.BusinessEntityID
    INNER JOIN Person.Address SA ON SA.AddressID = SOH.ShipToAddressID -- Shipping address
    INNER JOIN Person.StateProvince SSP ON SA.StateProvinceID = SSP.StateProvinceID 
    INNER JOIN Person.CountryRegion SCR ON SSP.CountryRegionCode = SCR.CountryRegionCode 
    INNER JOIN Person.Address BA ON SOH.BillToAddressID = BA.AddressID -- Billing Address
    INNER JOIN Person.StateProvince BSP ON BA.StateProvinceID = BSP.StateProvinceID 
    INNER JOIN Person.CountryRegion BCR ON BSP.CountryRegionCode = BCR.CountryRegionCode 
    INNER JOIN Purchasing.ShipMethod SM ON SOH.ShipMethodID = SM.ShipMethodID 
    INNER JOIN [Sales].[SalesPerson] sp ON sp.[BusinessEntityID] = SOH.[SalesPersonID]  
    INNER JOIN [HumanResources].[Employee] e ON SOH.[SalesPersonID] = e.[BusinessEntityID] 
    INNER JOIN [Person].[Person] per ON per.[BusinessEntityID] = sp.[BusinessEntityID]
    INNER JOIN Person.PersonPhone ph ON per.[BusinessEntityID] = ph.[BusinessEntityID]
    INNER JOIN Sales.SalesOrderDetail SD ON SD.SalesOrderID = SOH.SalesOrderID
    INNER JOIN Production.Product P ON SD.ProductID = P.ProductID 
WHERE (SOH.SalesOrderID BETWEEN (@SalesOrderIDStart) AND (@SalesOrderIDEnd))]]></Property>
				<Group Name="Parameters">
					<Property Name="@SalesOrderIDStart"><![CDATA[=Parameters!SalesOrderIDStart.Value]]></Property>
					<Property Name="@SalesOrderIDEnd"><![CDATA[=Parameters!SalesOrderIDEnd.Value]]></Property>
				</Group>
			</Group>
			<Group Name="Fields">
				<Group Name="SalesOrderNumber">
					<Property Name="Name"><![CDATA[SalesOrderNumber]]></Property>
					<Property Name="Source"><![CDATA[SalesOrderNumber]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BusinessEntityID">
					<Property Name="Name"><![CDATA[BusinessEntityID]]></Property>
					<Property Name="Source"><![CDATA[BusinessEntityID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="Name">
					<Property Name="Name"><![CDATA[Name]]></Property>
					<Property Name="Source"><![CDATA[Name]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="SalesOrderID">
					<Property Name="Name"><![CDATA[SalesOrderID]]></Property>
					<Property Name="Source"><![CDATA[SalesOrderID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="SalesPersonID">
					<Property Name="Name"><![CDATA[SalesPersonID]]></Property>
					<Property Name="Source"><![CDATA[SalesPersonID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="TotalDue">
					<Property Name="Name"><![CDATA[TotalDue]]></Property>
					<Property Name="Source"><![CDATA[TotalDue]]></Property>
					<Property Name="Data Type"><![CDATA[Decimal]]></Property>
				</Group>
				<Group Name="OrderDate">
					<Property Name="Name"><![CDATA[OrderDate]]></Property>
					<Property Name="Source"><![CDATA[OrderDate]]></Property>
					<Property Name="Data Type"><![CDATA[DateTime]]></Property>
				</Group>
				<Group Name="PurchaseOrderNumber">
					<Property Name="Name"><![CDATA[PurchaseOrderNumber]]></Property>
					<Property Name="Source"><![CDATA[PurchaseOrderNumber]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BillToAddressID">
					<Property Name="Name"><![CDATA[BillToAddressID]]></Property>
					<Property Name="Source"><![CDATA[BillToAddressID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="ShipToAddressID">
					<Property Name="Name"><![CDATA[ShipToAddressID]]></Property>
					<Property Name="Source"><![CDATA[ShipToAddressID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="ShipMethodID">
					<Property Name="Name"><![CDATA[ShipMethodID]]></Property>
					<Property Name="Source"><![CDATA[ShipMethodID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="ShipMethod">
					<Property Name="Name"><![CDATA[ShipMethod]]></Property>
					<Property Name="Source"><![CDATA[ShipMethod]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BillAddress1">
					<Property Name="Name"><![CDATA[BillAddress1]]></Property>
					<Property Name="Source"><![CDATA[BillAddress1]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BillCity">
					<Property Name="Name"><![CDATA[BillCity]]></Property>
					<Property Name="Source"><![CDATA[BillCity]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BillPostalCode">
					<Property Name="Name"><![CDATA[BillPostalCode]]></Property>
					<Property Name="Source"><![CDATA[BillPostalCode]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BillStateProvince">
					<Property Name="Name"><![CDATA[BillStateProvince]]></Property>
					<Property Name="Source"><![CDATA[BillStateProvince]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="BillCountryRegion">
					<Property Name="Name"><![CDATA[BillCountryRegion]]></Property>
					<Property Name="Source"><![CDATA[BillCountryRegion]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ShipAddress1">
					<Property Name="Name"><![CDATA[ShipAddress1]]></Property>
					<Property Name="Source"><![CDATA[ShipAddress1]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ShipCity">
					<Property Name="Name"><![CDATA[ShipCity]]></Property>
					<Property Name="Source"><![CDATA[ShipCity]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ShipPostalCode">
					<Property Name="Name"><![CDATA[ShipPostalCode]]></Property>
					<Property Name="Source"><![CDATA[ShipPostalCode]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ShipStateProvince">
					<Property Name="Name"><![CDATA[ShipStateProvince]]></Property>
					<Property Name="Source"><![CDATA[ShipStateProvince]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ShipCountryRegion">
					<Property Name="Name"><![CDATA[ShipCountryRegion]]></Property>
					<Property Name="Source"><![CDATA[ShipCountryRegion]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="JobTitle">
					<Property Name="Name"><![CDATA[JobTitle]]></Property>
					<Property Name="Source"><![CDATA[JobTitle]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="SalesPerson">
					<Property Name="Name"><![CDATA[SalesPerson]]></Property>
					<Property Name="Source"><![CDATA[SalesPerson]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="PhoneNumber">
					<Property Name="Name"><![CDATA[PhoneNumber]]></Property>
					<Property Name="Source"><![CDATA[PhoneNumber]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="SalesOrderDetailID">
					<Property Name="Name"><![CDATA[SalesOrderDetailID]]></Property>
					<Property Name="Source"><![CDATA[SalesOrderDetailID]]></Property>
					<Property Name="Data Type"><![CDATA[Int32]]></Property>
				</Group>
				<Group Name="OrderQty">
					<Property Name="Name"><![CDATA[OrderQty]]></Property>
					<Property Name="Source"><![CDATA[OrderQty]]></Property>
					<Property Name="Data Type"><![CDATA[Int16]]></Property>
				</Group>
				<Group Name="UnitPrice">
					<Property Name="Name"><![CDATA[UnitPrice]]></Property>
					<Property Name="Source"><![CDATA[UnitPrice]]></Property>
					<Property Name="Data Type"><![CDATA[Decimal]]></Property>
				</Group>
				<Group Name="UnitPriceDiscount">
					<Property Name="Name"><![CDATA[UnitPriceDiscount]]></Property>
					<Property Name="Source"><![CDATA[UnitPriceDiscount]]></Property>
					<Property Name="Data Type"><![CDATA[Decimal]]></Property>
				</Group>
				<Group Name="LineTotal">
					<Property Name="Name"><![CDATA[LineTotal]]></Property>
					<Property Name="Source"><![CDATA[LineTotal]]></Property>
					<Property Name="Data Type"><![CDATA[Decimal]]></Property>
				</Group>
				<Group Name="CarrierTrackingNumber">
					<Property Name="Name"><![CDATA[CarrierTrackingNumber]]></Property>
					<Property Name="Source"><![CDATA[CarrierTrackingNumber]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ProductName">
					<Property Name="Name"><![CDATA[ProductName]]></Property>
					<Property Name="Source"><![CDATA[ProductName]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
				<Group Name="ProductNumber">
					<Property Name="Name"><![CDATA[ProductNumber]]></Property>
					<Property Name="Source"><![CDATA[ProductNumber]]></Property>
					<Property Name="Data Type"><![CDATA[String]]></Property>
				</Group>
			</Group>
		</Group>
	</Group>
	<Group Name="Parameters">
		<Group Name="SalesOrderIDStart">
			<Property Name="Name"><![CDATA[SalesOrderIDStart]]></Property>
			<Property Name="Data Type"><![CDATA[Integer]]></Property>
			<Property Name="Prompt"><![CDATA[First Order ID?]]></Property>
			<Group Name="Default Value">
				<Group Name="Dataset Reference" />
				<Property Name="Values"><![CDATA[57030
]]></Property>
			</Group>
			<Group Name="Valid Value">
				<Group Name="Dataset Reference" />
			</Group>
		</Group>
		<Group Name="SalesOrderIDEnd">
			<Property Name="Name"><![CDATA[SalesOrderIDEnd]]></Property>
			<Property Name="Data Type"><![CDATA[Integer]]></Property>
			<Property Name="Prompt"><![CDATA[Last Order ID?]]></Property>
			<Group Name="Default Value">
				<Group Name="Dataset Reference" />
				<Property Name="Values"><![CDATA[=Parameters!SalesOrderIDStart.Value + 2
]]></Property>
			</Group>
			<Group Name="Valid Value">
				<Group Name="Dataset Reference" />
			</Group>
		</Group>
		<Group Name="ShowAll">
			<Property Name="Name"><![CDATA[ShowAll]]></Property>
			<Property Name="Data Type"><![CDATA[Boolean]]></Property>
			<Property Name="Prompt"><![CDATA[Show all information?]]></Property>
			<Group Name="Default Value">
				<Group Name="Dataset Reference" />
				<Property Name="Values"><![CDATA[false
]]></Property>
			</Group>
			<Group Name="Valid Value">
				<Group Name="Dataset Reference" />
			</Group>
		</Group>
	</Group>
	<Group Name="Embedded Images">
		<Group Name="AdventureWorksLogo">
			<Property Name="Name"><![CDATA[AdventureWorksLogo]]></Property>
			<Property Name="Type"><![CDATA[jpeg]]></Property>
		</Group>
	</Group>
	<Group Name="Custom Code"><![CDATA[Public Function AddToVariable(var As Microsoft.ReportingServices.ReportProcessing.OnDemandReportObjectModel.Variable, ByVal increment As Double) As Double 
   var.Value = var.Value + increment
   return var.Value
End Function 

Public Function GetOrResetVariable(var As Microsoft.ReportingServices.ReportProcessing.OnDemandReportObjectModel.Variable, ByVal executeReset As Boolean) 
   if executeReset then
       var.Value = 0
   end if 
   return var.Value
End Function 


]]></Group>
	<Group Name="Variables">
		<Group Name="RunningTotal">
			<Property Name="Name"><![CDATA[RunningTotal]]></Property>
			<Property Name="Value"><![CDATA[=0.0]]></Property>
		</Group>
	</Group>
	<Group Name="Page Header">
		<Group Name="Report Items">
			<Group Name="ReportName">
				<Property Name="Name"><![CDATA[ReportName]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Globals!ReportName
Page Name: =Globals!PageName]]></Property>
			</Group>
			<Group Name="tbPageNumbers">
				<Property Name="Name"><![CDATA[tbPageNumbers]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Sales Order Page: =Globals!PageNumber of =Globals!TotalPages
Report Page: =Globals!OverallPageNumber of =Globals!OverallTotalPages]]></Property>
			</Group>
			<Group Name="tbBackInstructions">
				<Property Name="Name"><![CDATA[tbBackInstructions]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[To return to the main report, use the browser Back button.]]></Property>
			</Group>
		</Group>
	</Group>
	<Group Name="Body">
		<Group Name="Report Items">
			<Group Name="tbToggle">
				<Property Name="Name"><![CDATA[tbToggle]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Click + to view the scenario story.]]></Property>
			</Group>
			<Group Name="tbScenarioText">
				<Property Name="Name"><![CDATA[tbScenarioText]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[As a stand-alone report, specify a start and end sales order number. By default, the end order number is the start order number + 2. As a drillthrough report, specify the start and end number as the same sales order.]]></Property>
				<Group Name="Visibility">
					<Property Name="Show or hide based on expression"><![CDATA[true]]></Property>
					<Property Name="Display can be toggled by this report item"><![CDATA[tbToggle]]></Property>
				</Group>
			</Group>
			<Group Name="rectSalesOrderContents">
				<Property Name="Name"><![CDATA[rectSalesOrderContents]]></Property>
				<Property Name="Type"><![CDATA[Rectangle]]></Property>
			</Group>
			<Group Name="rectOrderHeaderContents">
				<Property Name="Name"><![CDATA[rectOrderHeaderContents]]></Property>
				<Property Name="Type"><![CDATA[Rectangle]]></Property>
			</Group>
			<Group Name="Logo">
				<Property Name="Name"><![CDATA[Logo]]></Property>
				<Property Name="Type"><![CDATA[Image]]></Property>
				<Property Name="Source Type"><![CDATA[Embedded Image Name]]></Property>
				<Property Name="Embedded Image Name"><![CDATA[AdventureWorksLogo]]></Property>
			</Group>
			<Group Name="Textbox8">
				<Property Name="Name"><![CDATA[Textbox8]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Sales Order
Order #: =Fields!SalesOrderNumber.Value]]></Property>
			</Group>
			<Group Name="tbBillToLabel">
				<Property Name="Name"><![CDATA[tbBillToLabel]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Bill to:]]></Property>
			</Group>
			<Group Name="tbBillTo">
				<Property Name="Name"><![CDATA[tbBillTo]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!Name.Value
=Fields!BillAddress1.Value
=Fields!BillCity.Value, =Fields!BillStateProvince.Value =Fields!BillPostalCode.Value
=Fields!BillCountryRegion.Value]]></Property>
			</Group>
			<Group Name="tbShipToLabel">
				<Property Name="Name"><![CDATA[tbShipToLabel]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Ship To:]]></Property>
			</Group>
			<Group Name="tbShipTo">
				<Property Name="Name"><![CDATA[tbShipTo]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!Name.Value
=Fields!ShipAddress1.Value
=Fields!ShipCity.Value, =Fields!ShipStateProvince.Value =Fields!ShipPostalCode.Value
=Fields!ShipCountryRegion.Value]]></Property>
			</Group>
			<Group Name="tbContactLabel">
				<Property Name="Name"><![CDATA[tbContactLabel]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Contact:]]></Property>
			</Group>
			<Group Name="tbProcessedDate">
				<Property Name="Name"><![CDATA[tbProcessedDate]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Date
=Globals!ExecutionTime]]></Property>
			</Group>
			<Group Name="tbOrderDate">
				<Property Name="Name"><![CDATA[tbOrderDate]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Order Date
=Fields!OrderDate.Value]]></Property>
			</Group>
			<Group Name="tbSalesPerson">
				<Property Name="Name"><![CDATA[tbSalesPerson]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Sales Person
=Fields!SalesPerson.Value,  =Fields!JobTitle.Value 
=Fields!PhoneNumber.Value]]></Property>
			</Group>
			<Group Name="tbPurchaseOrder">
				<Property Name="Name"><![CDATA[tbPurchaseOrder]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Purchase Order
=Fields!PurchaseOrderNumber.Value]]></Property>
			</Group>
			<Group Name="tbShipMethod">
				<Property Name="Name"><![CDATA[tbShipMethod]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Shipment Method
=Fields!ShipMethod.Value]]></Property>
			</Group>
			<Group Name="Textbox38">
				<Property Name="Name"><![CDATA[Textbox38]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Line]]></Property>
			</Group>
			<Group Name="Textbox19">
				<Property Name="Name"><![CDATA[Textbox19]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Order Qty]]></Property>
			</Group>
			<Group Name="Textbox21">
				<Property Name="Name"><![CDATA[Textbox21]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Product Number]]></Property>
			</Group>
			<Group Name="Textbox23">
				<Property Name="Name"><![CDATA[Textbox23]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Product Name]]></Property>
			</Group>
			<Group Name="Textbox25">
				<Property Name="Name"><![CDATA[Textbox25]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Carrier Tracking Number]]></Property>
			</Group>
			<Group Name="Textbox27">
				<Property Name="Name"><![CDATA[Textbox27]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Unit Price]]></Property>
			</Group>
			<Group Name="Textbox29">
				<Property Name="Name"><![CDATA[Textbox29]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Subtotal]]></Property>
			</Group>
			<Group Name="Textbox31">
				<Property Name="Name"><![CDATA[Textbox31]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Discount]]></Property>
			</Group>
			<Group Name="Textbox33">
				<Property Name="Name"><![CDATA[Textbox33]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Line Total]]></Property>
			</Group>
			<Group Name="Textbox39">
				<Property Name="Name"><![CDATA[Textbox39]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=RowNumber("tblxTable_SalesOrderDetails")]]></Property>
			</Group>
			<Group Name="OrderQty">
				<Property Name="Name"><![CDATA[OrderQty]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!OrderQty.Value]]></Property>
			</Group>
			<Group Name="ProductNumber">
				<Property Name="Name"><![CDATA[ProductNumber]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!ProductNumber.Value]]></Property>
			</Group>
			<Group Name="ProductName">
				<Property Name="Name"><![CDATA[ProductName]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!ProductName.Value]]></Property>
			</Group>
			<Group Name="CarrierTrackingNumber">
				<Property Name="Name"><![CDATA[CarrierTrackingNumber]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!CarrierTrackingNumber.Value]]></Property>
			</Group>
			<Group Name="UnitPrice">
				<Property Name="Name"><![CDATA[UnitPrice]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!UnitPrice.Value]]></Property>
			</Group>
			<Group Name="UnitPrice1">
				<Property Name="Name"><![CDATA[UnitPrice1]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!OrderQty.Value * Fields!UnitPrice.Value]]></Property>
			</Group>
			<Group Name="UnitPriceDiscount">
				<Property Name="Name"><![CDATA[UnitPriceDiscount]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=0 - Fields!UnitPrice.Value * Fields!OrderQty.Value * Fields!UnitPriceDiscount.Value]]></Property>
			</Group>
			<Group Name="tbLineTotal">
				<Property Name="Name"><![CDATA[tbLineTotal]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Fields!LineTotal.Value]]></Property>
			</Group>
			<Group Name="Textbox12">
				<Property Name="Name"><![CDATA[Textbox12]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Sales Order Total:]]></Property>
			</Group>
			<Group Name="Textbox15">
				<Property Name="Name"><![CDATA[Textbox15]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Sum(Fields!LineTotal.Value, "SalesOrderID")]]></Property>
			</Group>
			<Group Name="Textbox16">
				<Property Name="Name"><![CDATA[Textbox16]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
			</Group>
			<Group Name="Textbox17">
				<Property Name="Name"><![CDATA[Textbox17]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Total Discount:]]></Property>
			</Group>
			<Group Name="Textbox18">
				<Property Name="Name"><![CDATA[Textbox18]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Sum(Fields!UnitPrice.Value * Fields!OrderQty.Value * Fields!UnitPriceDiscount.Value)]]></Property>
			</Group>
			<Group Name="Textbox20">
				<Property Name="Name"><![CDATA[Textbox20]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Total:]]></Property>
			</Group>
			<Group Name="Textbox22">
				<Property Name="Name"><![CDATA[Textbox22]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[=Sum(Fields!LineTotal.Value)]]></Property>
			</Group>
		</Group>
		<Group Name="Data Regions">
			<Group Name="tblxList_SalesOrder">
				<Property Name="Name"><![CDATA[tblxList_SalesOrder]]></Property>
				<Property Name="Type"><![CDATA[Table]]></Property>
				<Group Name="Row Member 1">
					<Group Name="SalesOrderID">
						<Property Name="Name"><![CDATA[SalesOrderID]]></Property>
						<Property Name="Expressions"><![CDATA[=Fields!SalesOrderID.Value]]></Property>
					</Group>
					<Property Name="Sort Expressions"><![CDATA[=Fields!SalesOrderID.Value]]></Property>
				</Group>
				<Property Name="Source Dataset"><![CDATA[SalesOrders]]></Property>
			</Group>
			<Group Name="tblxTable_SalesOrderDetails">
				<Property Name="Name"><![CDATA[tblxTable_SalesOrderDetails]]></Property>
				<Property Name="Type"><![CDATA[Table]]></Property>
				<Group Name="Row Member 1">
					<Group Name="PageBreakEvery25Rows">
						<Property Name="Name"><![CDATA[PageBreakEvery25Rows]]></Property>
						<Property Name="Expressions"><![CDATA[=Ceiling(RowNumber("tblxTable_SalesOrderDetails")/25)]]></Property>
					</Group>
				</Group>
				<Group Name="Row Member 1">
					<Group Name="Details">
						<Property Name="Name"><![CDATA[Details]]></Property>
					</Group>
				</Group>
				<Group Name="Row Member 2" />
				<Property Name="Source Dataset"><![CDATA[SalesOrders]]></Property>
			</Group>
		</Group>
		<Group Name="Subreports">
			<Group Name="subStoreContacts">
				<Property Name="Name"><![CDATA[subStoreContacts]]></Property>
				<Property Name="Subreport Name/Location"><![CDATA[Store_Contacts_2008R2]]></Property>
				<Group Name="Parameters">
					<Group Name="StoreID">
						<Property Name="Name"><![CDATA[StoreID]]></Property>
						<Property Name="Value"><![CDATA[=Fields!BusinessEntityID.Value]]></Property>
					</Group>
				</Group>
			</Group>
		</Group>
	</Group>
	<Group Name="Page Footer">
		<Group Name="Report Items">
			<Group Name="tbDescription">
				<Property Name="Name"><![CDATA[tbDescription]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Purpose: Detail report. Displays details for a range of orders, and is a drillthrough report for an individual sales order from Employee_Sales_Summary_2008R2. Includes free form layout, tablix used as list and table, a subreport, session variables for calculating running page totals, custom code, image, expression-based page breaks based on the number of detail rows, page names, page numbering with report and within group, and conditionally hidden text.

]]></Property>
				<Group Name="Visibility">
					<Property Name="Show or hide based on expression"><![CDATA[=NOT Parameters!ShowAll.Value]]></Property>
				</Group>
			</Group>
			<Group Name="tbRunningTotalCalculations">
				<Property Name="Name"><![CDATA[tbRunningTotalCalculations]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
				<Property Name="Content"><![CDATA[Previous Page Total: =Code.GetOrResetVariable(Variables!RunningTotal, Globals!OverallPageNumber = 1)
This Page Total: =Sum(ReportItems!tbLineTotal.Value)
Running Total: =Code.AddToVariable(Variables!RunningTotal, Sum(Reportitems!tbLineTotal.Value))]]></Property>
			</Group>
			<Group Name="tbSpacer">
				<Property Name="Name"><![CDATA[tbSpacer]]></Property>
				<Property Name="Type"><![CDATA[Text Box]]></Property>
			</Group>
		</Group>
	</Group>
</Report>