Provance.ITAssetManagement.Report.EndofContracts.ReportRdl (ReportResource)

Element properties:

TypeReportResource
File NameEnd of Contract.rdl
AccessibilityPublic

Source Code:

<ReportResource ID="Provance.ITAssetManagement.Report.EndofContracts.ReportRdl" Accessibility="Public" FileName="End of Contract.rdl" HasNullStream="false" MIMEType="application/octet-stream"/>

File Content: End of Contract.rdl

<?xml version="1.0" encoding="utf-8"?>

<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body><Script>
<ReportItems>
<Rectangle Name="rectangle2">
<ReportItems>
<Tablix Name="Tablix8">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>3.80819in</Width>
</TablixColumn>
<TablixColumn>
<Width>5.65399in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox153">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<DataElementStyle>Element</DataElementStyle>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>ReportGenerated</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("RGL", "[ReportGenerated]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<ZIndex>1</ZIndex>
<DataElementName>Severity</DataElementName>
<DataElementOutput>NoOutput</DataElementOutput>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textboxDescription2">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<DataElementStyle>Element</DataElementStyle>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Now()</Label>
<Value>=Now()</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<ZIndex>2</ZIndex>
<DataElementName>ActualStartDate</DataElementName>
<DataElementOutput>Output</DataElementOutput>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox72">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<DataElementStyle>Element</DataElementStyle>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Contract Type</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("A", "[Contract Type]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<ZIndex>6</ZIndex>
<DataElementName>Severity</DataElementName>
<DataElementOutput>NoOutput</DataElementOutput>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textboxResolutionDescription2">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<DataElementStyle>Element</DataElementStyle>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIf(Join(Parameters!ContractType.Label, ", ").Contains(Code.GetLocTable("LT_Report").GetString("R", "[All]")),
Parameters!ContractType.Label(0),
Join(Parameters!ContractType.Label,", "))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<ZIndex>3</ZIndex>
<DataElementName>ActualEndDate</DataElementName>
<DataElementOutput>Output</DataElementOutput>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox11">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Supplier</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("M", "[Supplier]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox11</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox12">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(Parameters!Supplier.Value = 0 or isNothing(Parameters!Supplier.Value),Code.GetLocTable("LT_Report").GetString("R", "[All]"),First(Fields!SupplierDisplayName.Value, "ParameterDisplayName"))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox12</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.19792in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox14">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Location</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZF", "[Location]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox14</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox29">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(Parameters!LocationId.Value = 0 or isNothing(Parameters!LocationId.Value),Code.GetLocTable("LT_Report").GetString("R", "[All]"),First(Fields!LocationDisplayName.Value, "ParameterDisplayName"))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox29</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.19792in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox42">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Organization</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZH", "[Organization]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox46">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(Parameters!OrganizationId.Value = 0 or isNothing(Parameters!OrganizationId.Value),Code.GetLocTable("LT_Report").GetString("R", "[All]"),First(Fields!OrganizationDisplayName.Value, "ParameterDisplayName"))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox46</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.17708in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox30">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Cost Center</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZG", "[Cost Center]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox30</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox31">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(Parameters!CostCenterId.Value = 0 or isNothing(Parameters!CostCenterId.Value),Code.GetLocTable("LT_Report").GetString("R", "[All]"),First(Fields!CostCenterDisplayName.Value, "ParameterDisplayName"))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox31</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.20833in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox37">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Contract Manager</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox37</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox38">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(Parameters!ContractManagerId.Value = 0 or isNothing(Parameters!ContractManagerId.Value),Code.GetLocTable("LT_Report").GetString("R", "[All]"),First(Fields!ContractManagerDisplayName.Value, "ParameterDisplayName"))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox38</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox74">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<DataElementStyle>Element</DataElementStyle>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<ZIndex>9</ZIndex>
<DataElementName>Severity</DataElementName>
<DataElementOutput>NoOutput</DataElementOutput>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="textboxContactMethod3">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<DataElementStyle>Element</DataElementStyle>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(IsNothing(Parameters!EffectiveDateBegin.Value) AND IsNothing(Parameters!EffectiveDateTo.Value), Code.GetLocTable("LT_Report").GetString("R", "[All]"),
IIF(IsNothing(Parameters!EffectiveDateBegin.Value),"",Code.GetLocTable("LT_Report").GetString("I", "[From ]") + " " + Parameters!EffectiveDateBegin.Value + " ") +
IIF(IsNothing(Parameters!EffectiveDateTo.Value),"",Code.GetLocTable("LT_Report").GetString("J", "[ To ]") + " " + Parameters!EffectiveDateTo.Value))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<ZIndex>10</ZIndex>
<DataElementName>ContactMethod</DataElementName>
<DataElementOutput>Output</DataElementOutput>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIF(IsNothing(Parameters!ExpiredDateBegin.Value) AND IsNothing(Parameters!ExpiredDateTo.Value),Code.GetLocTable("LT_Report").GetString("R", "[All]"),
IIF(IsNothing(Parameters!ExpiredDateBegin.Value),"",Code.GetLocTable("LT_Report").GetString("I", "[From ]") + " " + Parameters!ExpiredDateBegin.Value + " ") +
IIF(IsNothing(Parameters!ExpiredDateTo.Value),"",Code.GetLocTable("LT_Report").GetString("J", "[ To ]") + " " + Parameters!ExpiredDateTo.Value))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox6</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.19792in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox33">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Show Only Contracts with Status of</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZE", "[Show Only Contracts with Status of]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox33</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox34">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=IIf(Join(Parameters!Threshold.Label, ", ").Contains(Code.GetLocTable("LT_Report").GetString("R", "[All]")),
Parameters!Threshold.Label(0),
Join(Parameters!Threshold.Label,", "))</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox34</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label> Expired Threshold - Contract expires in (days from today)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZC", "[Expired Threshold - Contract expires in (days from today)]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox9">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Parameters!ThresholdContractExpired.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.2in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox10">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label> Close to Expired Threshold - Contract expires within (days from today)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZD", "[Close to Expired Threshold - Contract expires within (days from today)]") &amp; " :"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox10</rd:DefaultName>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox13">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox13</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="Details7" />
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<KeepTogether>true</KeepTogether>
<DataSetName>LT_Report</DataSetName>
<Left>0.05in</Left>
<Height>2.37917in</Height>
<Width>9.46218in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Rectangle Name="RectangleDisposal">
<ReportItems>
<Textbox Name="Textbox204">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Disposal Agreements</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("C", "[Disposal Agreements]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value xml:space="preserve"> </Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Top>0.0125in</Top>
<Height>0.2in</Height>
<Width>3.92708in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="DisposalContract_Tablix">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.05884in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.30211in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox55">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox55</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox1">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementCode.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Agreement Number</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox2">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!DisplayName.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Name</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("L", "[Name]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox2</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox8">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!supplier.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Supplier</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("M", "[Supplier]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox8</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox5">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox7</rd:DefaultName>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image20">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Blank.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementCode">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementCode.Value</Value>
<Style></Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementCode</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
<Parameter Name="ContractID">
<Value>=Fields!Id.Value</Value>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="DisplayName">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!DisplayName.Value</Value>
<Style></Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DisplayName</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="supplier">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!supplier.Value</Value>
<Style></Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>supplier</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>DisposalContract</DataSetName>
<Top>0.26944in</Top>
<Height>0.65in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox82">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"DisposalContract") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"DisposalContract") / iif(CountRows("DisposalContract")=0,1,CountRows("DisposalContract")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>4.50569in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox84">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"DisposalContract") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"DisposalContract") / iif(CountRows("DisposalContract")=0,1,CountRows("DisposalContract")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>7.96124in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox83">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"DisposalContract") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"DisposalContract") / iif(CountRows("DisposalContract")=0,1,CountRows("DisposalContract")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>6.23347in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image2">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Left>4.2918in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image8">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Left>6.01958in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image14">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Left>7.74735in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>2.46643in</Top>
<Left>0.01084in</Left>
<Height>0.91944in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Visibility>
<Hidden>=Not(
(InStr(Join(Parameters!ContractType.Value, ","),"AL")&gt;0 )
Or
(InStr(Join(Parameters!ContractType.Value, ","),"DI")&gt;0)
)</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
</ReportItems>
<DataElementOutput>ContentsOnly</DataElementOutput>
<Top>0.60111in</Top>
<Left>0.05in</Left>
<Height>3.40671in</Height>
<Width>9.825in</Width>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>None</Style>
</Border>
<BottomBorder>
<Style></Style>Solid</Style>
</BottomBorder>
</Style>
</Rectangle>
<Rectangle Name="RectangleLease">
<ReportItems>
<Textbox Name="Textbox206">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Lease</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("D", "[Lease Contracts &amp; Agreements]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Height>0.2in</Height>
<Width>3.91944in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.05884in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.30211in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox58">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox58</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox17">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementCode.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Agreement Number</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox17</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox19">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!DisplayName.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Name</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("L", "[Name]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox32">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!supplier.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Supplier</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("M", "[Supplier]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox32</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox21">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox15">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox15</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image21">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Blank.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementCode2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementCode.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementCode2</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
<Parameter Name="ContractID">
<Value>=Fields!Id.Value</Value>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="DisplayName1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!DisplayName.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DisplayName1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="supplier1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!supplier.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>supplier1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details1" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>Lease</DataSetName>
<Top>0.25694in</Top>
<Height>0.65in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox88">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"Lease") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"Lease") / iif(CountRows("Lease")=0,1,CountRows("Lease")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>4.50569in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox89">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"Lease") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"Lease") / iif(CountRows("Lease")=0,1,CountRows("Lease")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>7.96124in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox90">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"Lease") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"Lease") / iif(CountRows("Lease")=0,1,CountRows("Lease")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>6.23347in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image3">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Left>4.2918in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image9">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Left>6.01958in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image15">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Left>7.74735in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>4.08264in</Top>
<Left>0.06084in</Left>
<Height>0.90694in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Visibility>
<Hidden>=Not(
(InStr(Join(Parameters!ContractType.Value, ","),"AL")&gt;0 )
Or
(InStr(Join(Parameters!ContractType.Value, ","),"LE")&gt;0)
)</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
<Rectangle Name="RectangleSWLicenseAgr">
<ReportItems>
<Textbox Name="Textbox207">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>SWLicenseAgreement</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("E", "[Software License Agreements]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Height>0.2in</Height>
<Width>3.93333in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix5">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.98318in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.3777in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox63">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox63</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox44">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementNumber.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox44</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox66">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!PublisherName.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Publisher</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("O", "[Publisher]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox66</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox35">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!LicensingProgramValue.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Program</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("P", "[Program]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox35</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox68">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox68</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox70">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox70</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image25">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Blank.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementNumber">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementNumber.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementNumber</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="PublisherName1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!PublisherName.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>PublisherName1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="LicensingProgramValue1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!LicensingProgramValue.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>LicensingProgramValue1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate2</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate2</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details3" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>SWLicenseAgreement</DataSetName>
<Top>0.26944in</Top>
<Left>0.01389in</Left>
<Height>0.65in</Height>
<Width>9.67587in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox100">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"SWLicenseAgreement") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"SWLicenseAgreement") / iif(CountRows("SWLicenseAgreement")=0,1,CountRows("SWLicenseAgreement")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>4.51958in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox101">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"SWLicenseAgreement") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"SWLicenseAgreement") / iif(CountRows("SWLicenseAgreement")=0,1,CountRows("SWLicenseAgreement")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>7.97513in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox102">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"SWLicenseAgreement") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"SWLicenseAgreement") / iif(CountRows("SWLicenseAgreement")=0,1,CountRows("SWLicenseAgreement")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>6.24736in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image7">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Left>4.30569in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image13">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Left>6.03347in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image19">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Left>7.76124in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>8.14821in</Top>
<Left>0.04695in</Left>
<Height>0.91944in</Height>
<Width>9.68983in</Width>
<ZIndex>2</ZIndex>
<Visibility>
<Hidden>=Not(
(InStr(Join(Parameters!ContractType.Value, ","),"AL")&gt;0 )
Or
(InStr(Join(Parameters!ContractType.Value, ","),"SA")&gt;0)
)</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
<Rectangle Name="RectangleSWMait">
<ReportItems>
<Textbox Name="Textbox208">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>SWMaintance</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("F", "[Software Maintenance &amp; Support Agreements]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Height>0.2in</Height>
<Width>3.93333in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix6">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>4.36095in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox71">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox71</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox65">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementNumber.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox64</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox67">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!Publisher.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Publisher</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("O", "[Publisher]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox66</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox22">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox16">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox15</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image24">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Blank.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementDimKey">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementNumber.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementDimKey</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
<Parameter Name="ContractID">
<Value />
<Omit>true</Omit>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Publisher">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Publisher.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Publisher</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate3</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate4</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details4" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>SWMaintance</DataSetName>
<Top>0.25694in</Top>
<Height>0.65in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox106">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"SWMaintance") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"SWMaintance") / iif(CountRows("SWMaintance")=0,1,CountRows("SWMaintance")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>4.50569in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox107">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"SWMaintance") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"SWMaintance") / iif(CountRows("SWMaintance")=0,1,CountRows("SWMaintance")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>7.96124in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox108">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"SWMaintance") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"SWMaintance") / iif(CountRows("SWMaintance")=0,1,CountRows("SWMaintance")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>6.23347in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image6">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Left>4.2918in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image12">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Left>6.01958in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image18">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Left>7.74735in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>7.12279in</Top>
<Left>0.06084in</Left>
<Height>0.90694in</Height>
<Width>9.67594in</Width>
<ZIndex>3</ZIndex>
<Visibility>
<Hidden>=Not(
(InStr(Join(Parameters!ContractType.Value, ","),"AL")&gt;0 )
Or
(InStr(Join(Parameters!ContractType.Value, ","),"SM")&gt;0)
)</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
<Rectangle Name="RectangleSupport">
<ReportItems>
<Textbox Name="Textbox209">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>SupportContract</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("H", "[Hardware Maintenance &amp; Support Agreements]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Height>0.2in</Height>
<Width>3.93333in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix7">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.05884in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.30211in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox75">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox75</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox18">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementCode.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox17</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox39">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!DisplayName.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Name</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("L", "[Name]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox39</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox41">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!supplier.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Supplier</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("M", "[Supplier]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox41</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox23">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox28">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image23">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Blank.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementCode1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementCode.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementCode1</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
<Parameter Name="ContractID">
<Value>=Fields!Id.Value</Value>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="DisplayName2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!DisplayName.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DisplayName2</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="supplier2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!supplier.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>supplier2</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate4">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate4</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate5</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details5" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>SupportContract</DataSetName>
<Top>0.25694in</Top>
<Height>0.65in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox112">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"SupportContract") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"SupportContract") / iif(CountRows("SupportContract")=0,1,CountRows("SupportContract")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>4.50569in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox113">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"SupportContract") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"SupportContract") / iif(CountRows("SupportContract")=0,1,CountRows("SupportContract")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>7.96124in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox114">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"SupportContract") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"SupportContract") / iif(CountRows("SupportContract")=0,1,CountRows("SupportContract")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>6.23347in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image5">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Left>4.2918in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image11">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Left>6.01958in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image17">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Left>7.74735in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<Top>6.04655in</Top>
<Left>0.06084in</Left>
<Height>0.90694in</Height>
<Width>9.67594in</Width>
<ZIndex>4</ZIndex>
<Visibility>
<Hidden>=Not(
(InStr(Join(Parameters!ContractType.Value, ","),"AL")&gt;0 )
Or
(InStr(Join(Parameters!ContractType.Value, ","),"SV")&gt;0)
)</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
<Rectangle Name="RectangleWarranty">
<ReportItems>
<Textbox Name="Textbox210">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Warranties</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("G", "[Warranty Agreements]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Height>0.2in</Height>
<Width>3.93333in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Warranties_Tablix">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.05884in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.30211in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox77">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox77</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox25">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementCode.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox17</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox40">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!DisplayName.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Name</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("L", "[Name]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox39</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox43">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!supplier.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Supplier</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("M", "[Supplier]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox41</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox27">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox21</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox24">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox15</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image22">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Blank.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementCode3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementCode.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementCode3</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
<Parameter Name="ContractID">
<Value>=Fields!Id.Value</Value>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="DisplayName3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!DisplayName.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>DisplayName3</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="supplier3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!supplier.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>supplier3</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate5">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate5</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate6</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details6" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>Warranties</DataSetName>
<Top>0.25694in</Top>
<Height>0.65in</Height>
<Width>9.67594in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox118">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"Warranties") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"Warranties") / iif(CountRows("Warranties")=0,1,CountRows("Warranties")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>4.50569in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox119">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"Warranties") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"Warranties") / iif(CountRows("Warranties")=0,1,CountRows("Warranties")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>7.96124in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox120">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"Warranties") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"Warranties") / iif(CountRows("Warranties")=0,1,CountRows("Warranties")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Left>6.23347in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image4">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Left>4.2918in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image10">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Left>6.01958in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image16">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Left>7.74735in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>5.08405in</Top>
<Left>0.06084in</Left>
<Height>0.90694in</Height>
<Width>9.67594in</Width>
<ZIndex>5</ZIndex>
<Visibility>
<Hidden>=Not(
(InStr(Join(Parameters!ContractType.Value, ","),"AL")&gt;0 )
Or
(InStr(Join(Parameters!ContractType.Value, ","),"WA")&gt;0)
)</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
<Rectangle Name="Rectangle3">
<ReportItems>
<Textbox Name="descriptionToggleTextBox">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expand this section to see a full description of this report.</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("RDL", "[Expand this section to see a full description of this report.]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<Left>0.05in</Left>
<Height>0.2in</Height>
<Width>9.775in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Rectangle Name="Rectangle_Subtitle">
<ReportItems>
<Textbox Name="Textbox26">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>The Contract Summary report contains a list of contracts and their present status - expired, about to expire, and valid. A colored icon in the first column indicates the expiry status according to preset thresholds.</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("RD", "[The Contract Summary report shows contracts having one or more of the following statuses: expired, close to expiry, valid and unknown. An unknown status indicates the Expiration Date was not entered or available. A colored icon in the first column indicates the status based on the default thresholds (retrieved from the Contract Administration Settings form).]")
&amp; " " &amp; Code.GetLocTable("LT_Report").GetString("RD2", " [Change the thresholds temporarily using the report parameters.]") &amp; " (006)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox17</rd:DefaultName>
<Top>0.05in</Top>
<Left>0.05in</Left>
<Height>0.25in</Height>
<Width>9.675in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>0.2in</Top>
<Left>0.05in</Left>
<Height>0.35in</Height>
<Width>9.775in</Width>
<ZIndex>1</ZIndex>
<Visibility>
<Hidden>true</Hidden>
<ToggleItem>descriptionToggleTextBox</ToggleItem>
</Visibility>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Height>0.55in</Height>
<Width>9.875in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Color>Silver</Color>
<Style></Style>None</Style>
</Border>
<BottomBorder>
<Style></Style>Solid</Style>
</BottomBorder>
<BackgroundColor>Gainsboro</BackgroundColor>
</Style>
</Rectangle>
<Rectangle Name="RectangleUDLicenseAgr">
<ReportItems>
<Textbox Name="Textbox211">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>User Defined Agreements</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("W", "[User Defined Agreement]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox204</rd:DefaultName>
<Top>0.11458in</Top>
<Height>0.2in</Height>
<Width>2.89166in</Width>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix9">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>0.25in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.70185in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.98318in</Width>
</TablixColumn>
<TablixColumn>
<Width>2.3777in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
<TablixColumn>
<Width>1.68157in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.4in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Textbox64">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox63</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox45">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementNumber.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Agreement Number</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("K", "[Agreement Number]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox44</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox69">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!SupplierName.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Supplier</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("M", "[Supplier]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox66</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox36">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!AgreementType.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Type</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("ZB", "[Agreement Type]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
<TextRun>
<Value xml:space="preserve"> </Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox35</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox72_2">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!EffectiveDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Effective Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("N", "[Effective Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="Textbox73">
<CanGrow>true</CanGrow>
<UserSort>
<SortExpression>=Fields!ExpirationDate.Value</SortExpression>
</UserSort>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Expiration Date</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("B", "[Expiration Date]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox70</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
</Border>
<BackgroundColor>DimGray</BackgroundColor>
<VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Image Name="Image26">
<Source>External</Source>
<Value>=IIf(Fields!Threshold.Value = "UN", "Dashes.png",
IIF(Fields!Threshold.Value = "EX", "Exceeded.png",
IIF(Fields!Threshold.Value = "CL", "Close.png","Good.png")))</Value>
<Sizing>FitProportional</Sizing>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="AgreementNumber2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementCode.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>AgreementNumber</rd:DefaultName>
<ActionInfo>
<Actions>
<Action>
<Drillthrough>
<ReportName>Provance.ITAssetManagement.Report.ContractDetail</ReportName>
<Parameters>
<Parameter Name="AgreementDimKey">
<Value>=Fields!AgreementDimKey.Value</Value>
</Parameter>
<Parameter Name="ContractID">
<Value />
<Omit>true</Omit>
</Parameter>
</Parameters>
</Drillthrough>
</Action>
</Actions>
</ActionInfo>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="PublisherName2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!SupplierName.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>PublisherName1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="LicensingProgramValue2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!AgreementType.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>LicensingProgramValue1</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="EffectiveDate6">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!EffectiveDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>EffectiveDate2</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="ExpirationDate3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!ExpirationDate.Value</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
<Format>MMM dd, yyyy</Format>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExpirationDate2</rd:DefaultName>
<Style></Style>
<Border>
<Color>LightGrey</Color>
<Style></Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<FixedData>true</FixedData>
<KeepWithGroup>After</KeepWithGroup>
<RepeatOnNewPage>true</RepeatOnNewPage>
</TablixMember>
<TablixMember>
<Group Name="Details8" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<NoRowsMessage>=Code.GetLocTable("LT_Report").GetString("V", "[No data available.]")</NoRowsMessage>
<DataSetName>UserDefined</DataSetName>
<Top>0.38402in</Top>
<Left>0.01389in</Left>
<Height>0.65in</Height>
<Width>9.67587in</Width>
<ZIndex>1</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Tablix>
<Textbox Name="Textbox103">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 10 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]")&amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "EX",1,0),"UserDefined") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "EX",1,0),"UserDefined") / iif(CountRows("UserDefined")=0,1,CountRows("UserDefined")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Top>0.11458in</Top>
<Left>3.26958in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>2</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox104">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Beyond 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("U", "[Beyond]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp; Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "GO",1,0),"UserDefined") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "GO",1,0),"UserDefined") / iif(CountRows("UserDefined")=0,1,CountRows("UserDefined")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Top>0.11458in</Top>
<Left>6.72513in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>3</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox105">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Within 365 days = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("S", "[Within]") &amp; " " &amp; Parameters!ThresholdContractCloseToExpired.Value &amp; " " &amp;
Code.GetLocTable("LT_Report").GetString("T", "[days =]") &amp; " " &amp;
sum(IIF(Fields!Threshold.Value = "CL",1,0),"UserDefined") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "CL",1,0),"UserDefined") / iif(CountRows("UserDefined")=0,1,CountRows("UserDefined")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Top>0.11458in</Top>
<Left>4.99736in</Left>
<Height>0.2in</Height>
<Width>1.5in</Width>
<ZIndex>4</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image27">
<Source>External</Source>
<Value>Exceeded.png</Value>
<Sizing>FitProportional</Sizing>
<Top>0.11458in</Top>
<Left>3.05569in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>5</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image28">
<Source>External</Source>
<Value>Close.png</Value>
<Sizing>FitProportional</Sizing>
<Top>0.11458in</Top>
<Left>4.78347in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>6</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Image Name="Image29">
<Source>External</Source>
<Value>Good.png</Value>
<Sizing>FitProportional</Sizing>
<Top>0.11458in</Top>
<Left>6.51124in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>7</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
<Textbox Name="Textbox109">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Unknown = x (xxx%)</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("Uxx", "Unknown") &amp; " = " &amp;
sum(IIF(Fields!Threshold.Value = "UN",1,0),"UserDefined") &amp; " (" &amp;
round(sum(IIF(Fields!Threshold.Value = "UN",1,0),"UserDefined") / iif(CountRows("UserDefined")=0,1,CountRows("UserDefined")) * 100,0) &amp; "%)"</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style /></Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox82</rd:DefaultName>
<Top>0.11458in</Top>
<Left>8.43902in</Left>
<Height>0.2in</Height>
<Width>1.21431in</Width>
<ZIndex>8</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image30">
<Source>External</Source>
<Value>Dashes.png</Value>
<Sizing>FitProportional</Sizing>
<Top>0.11458in</Top>
<Left>8.22513in</Left>
<Height>0.2in</Height>
<Width>0.2in</Width>
<ZIndex>9</ZIndex>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<PaddingLeft>1pt</PaddingLeft>
<PaddingRight>1pt</PaddingRight>
<PaddingTop>1pt</PaddingTop>
<PaddingBottom>1pt</PaddingBottom>
</Style>
</Image>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>9.24196in</Top>
<Height>1.03402in</Height>
<Width>9.73584in</Width>
<ZIndex>7</ZIndex>
<Visibility>
<Hidden>=Not (((InStr(Join(Parameters!ContractType.Value, ","), "AL") &gt; 0) Or (InStr(Join(Parameters!ContractType.Value, ","), "UD") &gt; 0)))</Hidden>
</Visibility>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Rectangle>
</ReportItems>
<Height>12.90092in</Height>
<Style /></Style>
</Script></Body>
<Width>9.875in</Width>
<Page>
<PageHeader>
<Height>0.59089in</Height>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
<ReportItems>
<Textbox Name="Textbox20">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Label>Contract Summary</Label>
<Value>=Code.GetLocTable("LT_Report").GetString("RN", "[ReportName]")</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox9</rd:DefaultName>
<Top>0.01389in</Top>
<Left>0.01389in</Left>
<Height>0.577in</Height>
<Width>5.587in</Width>
<ToolTip>V010</ToolTip>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<VerticalAlign>Bottom</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="Image1">
<Source>External</Source>
<Value>ReportHeaderR.png</Value>
<Sizing>FitProportional</Sizing>
<Left>5.587in</Left>
<Height>0.577in</Height>
<Width>4.287in</Width>
<ZIndex>1</ZIndex>
<ToolTip>V019</ToolTip>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</Image>
</ReportItems>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
<BackgroundColor>#bfd0ea</BackgroundColor>
</Style>
</PageHeader>
<PageFooter>
<Height>0.39583in</Height>
<PrintOnFirstPage>true</PrintOnFirstPage>
<PrintOnLastPage>true</PrintOnLastPage>
<ReportItems>
<Textbox Name="textbox252">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Globals!PageNumber &amp; "/" &amp; Globals!TotalPages</Value>
<Style></Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style></Style>
<TextAlign>Right</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<Top>0.05556in</Top>
<Left>8.82594in</Left>
<Height>0.24792in</Height>
<Width>0.95in</Width>
<Style></Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<Style></Style>
<Border>
<Style></Style>None</Style>
</Border>
</Style>
</PageFooter>
<PageHeight>8.5in</PageHeight>
<PageWidth>11in</PageWidth>
<LeftMargin>0.5in</LeftMargin>
<RightMargin>0.5in</RightMargin>
<TopMargin>0.5in</TopMargin>
<BottomMargin>0.5in</BottomMargin>
<Style /></Style>
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="DWDataMart">
<DataSourceReference>DWDataMart</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>9da4acfd-0e1a-484f-861f-00fc6eccd59e</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="Warranties">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>--Query Warranties
SELECT *
FROM (
SELECT C.AgreementNumber AgreementCode,
F.supplier,
A.Id,
A.DisplayName,
A.EffectiveDate,
A.ExpirationDate,
E.RelatedAssetCount,
D.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM WarrantyContractDimvw A
INNER JOIN WarrantyAgreementContractFactvw B ON A.WarrantyContractDimKey = B.WarrantyAgreementContainsWarrantyContract_WarrantyContractDimKey
AND B.DeletedDate IS NULL
INNER JOIN WarrantyAgreementDimvw C ON B.WarrantyAgreementDimKey = C.WarrantyAgreementDimKey
AND C.IsDeleted = 0
AND ISNULL(C.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
AND C.Status = @entityStatusActive
LEFT OUTER JOIN AgreementDimvw D ON C.BaseManagedEntityId = D.BaseManagedEntityId
LEFT OUTER JOIN
(SELECT a.HardwareAssetHasWarranty_WarrantyContractDimKey WarrantyContractDimKey,
COUNT(b.HardwareAssetDimKey) RelatedAssetCount
FROM HardwareAssetWarrantyContractFactvw a
JOIN HardwareAssetDimvw b ON a.HardwareAssetDimKey = b.HardwareAssetDimKey
AND b.IsDeleted = 0
AND ISNULL(b.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
WHERE a.DeletedDate is null
GROUP BY a.HardwareAssetHasWarranty_WarrantyContractDimKey
) E ON A.WarrantyContractDimKey = E.WarrantyContractDimKey
LEFT OUTER JOIN
(SELECT d.DisplayName supplier,
c.WarrantyAgreementDimKey,
d.CompanyDimKey
FROM AgreementDimvw a
JOIN AgreementCompanyFactvw b ON a.AgreementDimKey = b.AgreementDimKey
AND b.DeletedDate IS NULL
JOIN WarrantyAgreementDimvw c ON a.BaseManagedEntityId = c.BaseManagedEntityId
AND c.IsDeleted = 0
AND ISNULL(c.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
JOIN CompanyDimvw d ON b.AgreementSuppliedByCompany_CompanyDimKey = d.CompanyDimKey
AND d.IsDeleted = 0
AND ISNULL(d.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
WHERE a.IsDeleted =0
AND iSnull(a.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
) F ON C.WarrantyAgreementDimKey=F.WarrantyAgreementDimKey

LEFT JOIN AgreementOrganizationFactvw G ON D.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON D.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON D.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON D.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted = 0
AND (A.ObjectStatus IS NULL OR A.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
AND (('WA' in (@ContractType)) OR ('AL' in (@ContractType)))
AND ((@ExpiredDateBegin is null) or (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND ((@ExpiredDateTo is null) or (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND ((@EffectiveDateBegin is null) or (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND ((@EffectiveDateTo is null) or (A.EffectiveDate &lt;= Convert(DateTime, Convert(varchar(50),@EffectiveDateTo,102) + ' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (F.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))
) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="AgreementCode">
<DataField>AgreementCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="supplier">
<DataField>supplier</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Id">
<DataField>Id</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DisplayName">
<DataField>DisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="RelatedAssetCount">
<DataField>RelatedAssetCount</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="Lease">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>--Query Lease
SELECT *
FROM (
SELECT C.AgreementNumber AgreementCode,
F.supplier,
A.Id,
A.DisplayName,
A.EffectiveDate,
A.ExpirationDate,
E.RelatedAssetCount,
d.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM LeaseContractDimvw A
INNER JOIN LeaseAgreementContractFactvw B ON A.LeaseContractDimKey = B.LeaseAgreementContainsLeaseContract_LeaseContractDimKey
AND B.DeletedDate IS NULL
INNER JOIN LeaseAgreementDimvw C ON B.LeaseAgreementDimKey = C.LeaseAgreementDimKey
AND C.IsDeleted = 0
AND ISNULL(C.ObjectStatus,'')&lt;&gt; @objectStatusPendingDelete
AND C.Status = @entityStatusActive
LEFT OUTER JOIN AgreementDimvw D ON c.BaseManagedEntityId = D.BaseManagedEntityId
LEFT OUTER JOIN
(SELECT a.HardwareAssetHasLease_LeaseContractDimKey LeaseContractDimKey,
COUNT(b.HardwareAssetDimKey) RelatedAssetCount
FROM HardwareAssetLeaseContractFactvw a
INNER JOIN HardwareAssetDimvw b ON a.HardwareAssetDimKey = b.HardwareAssetDimKey
AND b.IsDeleted = 0
AND ISNULL(b.ObjectStatus,'')&lt;&gt; @objectStatusPendingDelete
WHERE a.DeletedDate is null
GROUP BY a.HardwareAssetHasLease_LeaseContractDimKey
) E ON A.LeaseContractDimKey = E.LeaseContractDimKey
LEFT OUTER JOIN
(SELECT d.DisplayName supplier,
c.LeaseAgreementDimKey,
d.CompanyDimKey
FROM AgreementDimvw a
INNER JOIN AgreementCompanyFactvw b ON a.AgreementDimKey = b.AgreementDimKey
AND b.DeletedDate is null
INNER JOIN LeaseAgreementDimvw c ON a.BaseManagedEntityId = c.BaseManagedEntityId
AND c.IsDeleted = 0
AND ISNULL(c.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
INNER JOIN CompanyDimvw d ON b.AgreementSuppliedByCompany_CompanyDimKey = d.CompanyDimKey
AND d.IsDeleted = 0
AND ISNULL(d.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
WHERE a.IsDeleted =0
AND (a.ObjectStatus IS NULL OR a.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
) F ON C.LeaseAgreementDimKey = F.LeaseAgreementDimKey
LEFT JOIN AgreementOrganizationFactvw G ON D.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON D.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON D.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON D.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted =0
AND (A.ObjectStatus IS NULL OR A.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
AND (('LE' IN (@ContractType)) OR ('AL' IN (@ContractType)))
AND ((@ExpiredDateBegin IS NULL) OR (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND ((@ExpiredDateTo IS NULL) OR (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND ((@EffectiveDateBegin is NULL) OR (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND ((@EffectiveDateTo is NULL) OR (A.EffectiveDate &lt;= Convert(DateTime,Convert(varchar(50),@EffectiveDateTo,102)+' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (F.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))
) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="AgreementCode">
<DataField>AgreementCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Id">
<DataField>Id</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="supplier">
<DataField>supplier</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="DisplayName">
<DataField>DisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="RelatedAssetCount">
<DataField>RelatedAssetCount</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="ContractType">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@LanguageCode">
<Value>=Code.GetReportLocLanguageCode()</Value>
</QueryParameter>
</QueryParameters>
<CommandText>--Query ContractType
create table #ContractType (label varchar(255) null, value varchar(255) null)

;WITH vContractTypes as(
SELECT ISNULL(B.DisplayName,B.SubElementName) AS label,
B.SubElementName, A.ManagementPackId,B.DisplayStringDimKey
FROM ManagementPackDim A
Left JOIN DisplayStringDim B ON A.ManagementPackId = B.ManagementPackId
AND B.LanguageCode = @LanguageCode
AND B.ElementName = 'Provance.ITAssetManagement.Report.EndofContracts2'
WHERE A.MPName = 'Provance.ServiceManager.Itam.Software.Reports'
AND B.SubElementName like '%')
--Use this section to rebuild the default values below if there are changes
--SELECT DISTINCT 'INSERT INTO #ContractType (label,value) select ''[' + OptionSet.LABEL + ']'',''' + OptionSet.VALUE + '''
--where not exists (select label from #ContractType where value = ''' + VALUE + ''')'
INSERT INTO #ContractType (label,value)
SELECT DISTINCT OptionSet.Label, OptionSet.Value
FROM
(
SELECT C.label, 'AL' AS value FROM vContractTypes C WHERE C.SubElementName = 'R' union all -- @SubElementName union all
SELECT C.label, 'WA' AS value FROM vContractTypes C WHERE C.SubElementName = 'G' union all -- @WarrantySubElementName union all
SELECT C.label, 'LE' AS value FROM vContractTypes C WHERE C.SubElementName = 'D' union all -- @LeaseSubElementName union all
SELECT C.label, 'DI' AS value FROM vContractTypes C WHERE C.SubElementName = 'C' union all -- @DisposalSubElementName union all
SELECT C.label, 'SV' AS value FROM vContractTypes C WHERE C.SubElementName = 'H' union all -- @SupportSubElementName union all
SELECT C.label, 'SM' AS value FROM vContractTypes C WHERE C.SubElementName = 'F' union all -- @MaintenanceSubElementName union all
SELECT C.label, 'SA' AS value FROM vContractTypes C WHERE C.SubElementName = 'E' union all -- @LicenseAgreementSubElementName union all
SELECT C.label, 'UD' AS value FROM vContractTypes C WHERE C.SubElementName = 'W' -- User Defined

) OptionSet

--INSERT INTO #ContractType (label,value)
--select isnull(@LanguageCode,'null'),'LanguageCode'
--where not exists (select label from #ContractType where value = 'AL')

-- Default values
-- We have seen an invalid language code being passed. These default values will allow the report to continue.
INSERT INTO #ContractType (label,value) select '[All]', 'AL' where not exists (select label from #ContractType where value = 'AL')
INSERT INTO #ContractType (label,value) select '[Warranty Agreements]', 'WA' where not exists (select label from #ContractType where value = 'WA')
INSERT INTO #ContractType (label,value) select '[Lease Schedules &amp; Agreements ]', 'LE' where not exists (select label from #ContractType where value = 'LE')
INSERT INTO #ContractType (label,value) select '[Disposal Agreements]', 'DI' where not exists (select label from #ContractType where value = 'DI')
INSERT INTO #ContractType (label,value) select '[Hardware Maintenance &amp; Support Agreements]', 'SV' where not exists (select label from #ContractType where value = 'SV')
INSERT INTO #ContractType (label,value) select '[Software Maintenance &amp; Support Agreements]', 'SM' where not exists (select label from #ContractType where value = 'SM')
INSERT INTO #ContractType (label,value) select '[Software License Agreements]', 'SA' where not exists (select label from #ContractType where value = 'SA')
INSERT INTO #ContractType (label,value) select '[User Defined Agreements]', 'UD' where not exists (select label from #ContractType where value = 'UD')



select * from #ContractType a
order by a.label

drop table #ContractType
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="label">
<DataField>label</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="value">
<DataField>value</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="LT_Report">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ManagementPackSystemName">
<Value>Provance.ServiceManager.Itam.Software.Reports</Value>
</QueryParameter>
<QueryParameter Name="@ReportSystemName">
<Value>Provance.ITAssetManagement.Report.EndofContracts2</Value>
</QueryParameter>
<QueryParameter Name="@LanguageCode">
<Value>=Code.GetReportLocLanguageCode()</Value>
</QueryParameter>
<QueryParameter Name="@Scope">
<Value>%</Value>
</QueryParameter>
</QueryParameters>
<CommandType>StoredProcedure</CommandType>
<CommandText>ReportDisplayStringGet</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="XML_F52E2B61_18A1_11d1_B105_00805F49916B">
<DataField>XML_F52E2B61-18A1-11d1-B105-00805F49916B</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="SupportContract">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>--Query SupportContract
SELECT *
FROM (
SELECT C.AgreementNumber AgreementCode,
F.supplier,
A.Id,
A.DisplayName,
A.EffectiveDate,
A.ExpirationDate,
E.RelatedAssetCount,
d.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM SupportContractDimvw A
INNER JOIN SupportAgreementContractFactvw B ON A.SupportContractDimKey = B.SupportAgreementContainsSupportContract_SupportContractDimKey
AND B.DeletedDate IS NULL
INNER JOIN SupportAgreementDimvw C ON B.SupportAgreementDimKey = C.SupportAgreementDimKey
AND C.IsDeleted = 0
AND ISNULL(C.ObjectStatus,'')&lt;&gt; @objectStatusPendingDelete
AND C.Status = @entityStatusActive
LEFT OUTER JOIN AgreementDimvw D ON c.BaseManagedEntityId = D.BaseManagedEntityId
LEFT OUTER JOIN
(SELECT a.HardwareAssetHasSupportContract_SupportContractDimKey SupportContractDimKey,
COUNT(b.HardwareAssetDimKey) RelatedAssetCount
FROM HardwareAssetSupportContractFactvw a
INNER JOIN HardwareAssetDimvw b ON a.HardwareAssetDimKey = b.HardwareAssetDimKey
AND b.IsDeleted =0
AND ISNULL(b.ObjectStatus,'')&lt;&gt; @objectStatusPendingDelete
WHERE a.DeletedDate IS NULL
GROUP BY a.HardwareAssetHasSupportContract_SupportContractDimKey
) E ON A.SupportContractDimKey = E.SupportContractDimKey
LEFT OUTER JOIN
(SELECT d.DisplayName supplier,
c.SupportAgreementDimKey,
d.CompanyDimKey
FROM AgreementDimvw a
INNER JOIN AgreementCompanyFactvw b ON a.AgreementDimKey = b.AgreementDimKey
AND b.DeletedDate IS NULL
INNER JOIN SupportAgreementDimvw c ON a.BaseManagedEntityId =c.BaseManagedEntityId
AND c.IsDeleted = 0
AND isnull(c.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
AND c.Status = @entityStatusActive
INNER JOIN CompanyDimvw d ON b.AgreementSuppliedByCompany_CompanyDimKey =d.CompanyDimKey
AND d.IsDeleted = 0
AND isnull(d.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete

WHERE a.IsDeleted =0
AND (a.ObjectStatus IS NULL OR a.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
) F on C.SupportAgreementDimKey = f.SupportAgreementDimKey
LEFT JOIN AgreementOrganizationFactvw G ON D.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON D.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON D.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON D.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted =0
AND (A.ObjectStatus IS NULL OR A.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
AND (('SV' in (@ContractType)) OR ('AL' in (@ContractType)))
AND ((@ExpiredDateBegin is null) or (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND ((@ExpiredDateTo is null) or (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND ((@EffectiveDateBegin IS NULL) or (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND ((@EffectiveDateTo IS NULL) or (A.EffectiveDate &lt;= Convert(DateTime,Convert(varchar(50),@EffectiveDateTo,102)+' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (F.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))
) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="AgreementCode">
<DataField>AgreementCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Id">
<DataField>Id</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="supplier">
<DataField>supplier</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="DisplayName">
<DataField>DisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="RelatedAssetCount">
<DataField>RelatedAssetCount</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="DisposalContract">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>--Query DisposalContract
SELECT *
FROM ( SELECT C.AgreementNumber AgreementCode,
F.supplier,
A.Id,
A.DisplayName,
A.EffectiveDate,
A.ExpirationDate,
E.relatedAssetCount,
D.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM DisposalContractDimvw A
INNER JOIN DisposalAgreementContractFactvw B ON A.DisposalContractDimKey = B.DisposalAgreementContainsDisposalContract_DisposalContractDimKey
AND B.DeletedDate IS NULL
INNER JOIN DisposalAgreementDimvw C ON B.DisposalAgreementDimKey = C.DisposalAgreementDimKey
AND C.IsDeleted = 0
AND(C.ObjectStatus IS NULL OR C.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
AND C.Status = @entityStatusActive
LEFT OUTER JOIN AgreementDimvw D ON C.BaseManagedEntityId = D.BaseManagedEntityId
LEFT OUTER JOIN
(SELECT COUNT(b.HardwareAssetDimKey) relatedAssetCount,
d.HardwareAssetDisposalHasDisposalContract_DisposalAgreementDimKey DisposalAgreementDimKey
FROM HardwareAssetDispoalAssetFactvw a
INNER JOIN HardwareAssetDimvw b ON a.HardwareAssetDimKey = b.HardwareAssetDimKey
AND b.IsDeleted = 0
AND(b.ObjectStatus IS NULL OR b.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
INNER JOIN DispoalAssetContractFactvw d ON a.HardwareAssetHasHardwareAssetDisposal_HWDisposalDimKey = d.HWDisposalDimKey
AND d.DeletedDate is null
WHERE a.DeletedDate is null
GROUP BY d.HardwareAssetDisposalHasDisposalContract_DisposalAgreementDimKey
) E ON C.DisposalAgreementDimKey = E.DisposalAgreementDimKey
LEFT OUTER JOIN
(SELECT d.DisplayName supplier,
c.DisposalAgreementDimKey,
d.CompanyDimKey
FROM AgreementDimvw a
INNER JOIN AgreementCompanyFactvw b ON a.AgreementDimKey = b.AgreementDimKey
AND b.DeletedDate IS NULL
INNER JOIN DisposalAgreementDimvw c ON a.BaseManagedEntityId = c.BaseManagedEntityId
AND c.IsDeleted = 0
AND(c.ObjectStatus IS NULL OR c.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
AND C.Status = @entityStatusActive
INNER JOIN CompanyDimvw d ON b.AgreementSuppliedByCompany_CompanyDimKey = d.CompanyDimKey
AND d.IsDeleted = 0
AND (d.ObjectStatus IS NULL OR d.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
WHERE a.IsDeleted =0
AND (a.ObjectStatus IS NULL OR a.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
) F ON C.DisposalAgreementDimKey = F.DisposalAgreementDimKey
LEFT JOIN AgreementOrganizationFactvw G ON D.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON D.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON D.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON D.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted =0
AND(A.ObjectStatus IS NULL OR A.ObjectStatus &lt;&gt; @objectStatusPendingDelete)
AND(('DI' in (@ContractType)) OR ('AL' in (@ContractType)))
AND((@ExpiredDateBegin is null) or (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND((@ExpiredDateTo is null) or (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND((@EffectiveDateBegin IS NULL) OR (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND((@EffectiveDateTo IS NULL) OR (A.EffectiveDate &lt;= Convert(DateTime,Convert(varchar(50),@EffectiveDateTo,102)+' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (F.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))
) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="AgreementCode">
<DataField>AgreementCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Id">
<DataField>Id</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="supplier">
<DataField>supplier</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="DisplayName">
<DataField>DisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="relatedAssetCount">
<DataField>relatedAssetCount</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="SWMaintance">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>--Query SWMaintance
SELECT *
FROM (
SELECT A.AgreementNumber Code,
A.DisplayName,
A.AgreementNumber,
A.EffectiveDate,
A.ExpirationDate,
B.Publisher,
d.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM SWMaintAgtDimvw A
LEFT OUTER JOIN
(SELECT a.SWMaintAgtDimKey,
b.DisplayName Publisher,
b.CompanyDimKey
FROM SWMaintAgtPublisherFactvw a
INNER JOIN CompanyDimvw b ON a.SoftwareMaintenanceAgreementHasPublisher_CompanyDimKey = b.CompanyDimKey
AND b.IsDeleted = 0
AND isnull(b.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
WHERE a.DeletedDate IS NULL
) B on A.SWMaintAgtDimKey = B.SWMaintAgtDimKey
LEFT OUTER JOIN AgreementDimvw D ON A.BaseManagedEntityId = D.BaseManagedEntityId
LEFT JOIN AgreementOrganizationFactvw G ON D.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON D.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON D.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON D.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted =0
AND isnull(A.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
AND A.Status = @entityStatusActive
AND (('SM' IN (@ContractType)) OR ('AL' IN (@ContractType)))
AND ((@ExpiredDateBegin IS NULL) OR (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND ((@ExpiredDateTo IS NULL) OR (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND ((@EffectiveDateBegin IS NULL) OR (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND ((@EffectiveDateTo IS NULL) OR (A.EffectiveDate &lt;= Convert(DateTime,Convert(varchar(50),@EffectiveDateTo,102)+' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (B.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))

) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="Code">
<DataField>Code</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementNumber">
<DataField>AgreementNumber</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="DisplayName">
<DataField>DisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="Publisher">
<DataField>Publisher</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="SWLicenseAgreement">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>--Query SWLicenseAgreement
SELECT *
FROM (
SELECT A.AgreementNumber Code,
A.AgreementNumber,
A.EffectiveDate,
A.ExpirationDate,
C.PublisherName,
B.LicensingProgramValue,
d.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM SWLicenseAgtDimvw A
LEFT JOIN LicensingProgramvw B ON A.Program_LicensingProgramId = B.LicensingProgramId
LEFT JOIN
(SELECT a.DisplayName PublisherName,
b.SWLicenseAgtDimKey,
a.CompanyDimKey
FROM CompanyDimvw a
INNER JOIN SWLicenseAgtPublisherFactvw b ON a.CompanyDimKey = b.SoftwareLicenseAgreementHasPublisher_CompanyDimKey
AND b.DeletedDate IS NULL
WHERE a.IsDeleted =0
AND isnull(a.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
) C ON A.SWLicenseAgtDimKey = C.SWLicenseAgtDimKey
LEFT OUTER JOIN AgreementDimvw D ON A.BaseManagedEntityId = D.BaseManagedEntityId
LEFT JOIN AgreementOrganizationFactvw G ON D.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON D.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON D.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON D.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted =0
AND isnull(A.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
AND A.Status = @entityStatusActive
AND (('SA' in (@ContractType)) OR ('AL' in (@ContractType)))
AND ((@ExpiredDateBegin IS NULL) OR (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND ((@ExpiredDateTo IS NULL) OR (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND ((@EffectiveDateBegin IS NULL) OR (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND ((@EffectiveDateTo IS NULL) OR (A.EffectiveDate &lt;= Convert(DateTime,Convert(varchar(50),@EffectiveDateTo,102)+' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (C.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))
) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="Code">
<DataField>Code</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementNumber">
<DataField>AgreementNumber</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="PublisherName">
<DataField>PublisherName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="LicensingProgramValue">
<DataField>LicensingProgramValue</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="Dummy">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<CommandText>select 1</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="ID">
<DataField />
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="ContractAdminSettings">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<CommandText>SELECT DISTINCT TOP 1 ExpiredThresholdDays, CloseToExpiredThresholdDays
FROM ContractAdminSettingsDim
WHERE IsDeleted = 0
--AND SourceId = @SourceId
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="ExpiredThresholdDays">
<DataField>ExpiredThresholdDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="CloseToExpiredThresholdDays">
<DataField>CloseToExpiredThresholdDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="ParameterDisplayName">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>declare @sSupplierDisplayName NVARCHAR(4000),
@sLocationDisplayName NVARCHAR(4000),
@sCostCenterDisplayName NVARCHAR(4000),
@sOrganizationDisplayName NVARCHAR(4000),
@sContractManagerDisplayName NVARCHAR(4000)

SELECT @sSupplierDisplayName = substring(A.DisplayName,1,4000)
FROM CompanyDimvw A
WHERE A.CompanyDimKey = @Supplier
AND A.IsDeleted = 0

SELECT @sLocationDisplayName = substring(A.DisplayName,1,4000)
FROM LocationDimvw A
WHERE A.LocationDimKey = @LocationId
AND A.IsDeleted = 0

SELECT @sCostCenterDisplayName = substring(A.DisplayName,1,4000)
FROM CostCenterDimvw A
WHERE A.CostCenterDimKey = @CostCenterId
AND A.IsDeleted = 0

SELECT @sOrganizationDisplayName = substring(A.DisplayName,1,4000)
FROM OrganizationDimvw A
WHERE A.OrganizationDimKey = @CostCenterId
AND A.IsDeleted = 0


SELECT @sContractManagerDisplayName = substring(A.DisplayName,1,4000)
FROM SystemUserDimVw A
WHERE A.SystemUserDimKey = @ContractManagerId
AND A.IsDeleted = 0


SELECT @sSupplierDisplayName SupplierDisplayName,
@sLocationDisplayName LocationDisplayName,
@sCostCenterDisplayName CostCenterDisplayName,
@sOrganizationDisplayName OrganizationDisplayName,
@sContractManagerDisplayName ContractManagerDisplayName
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="SupplierDisplayName">
<DataField>SupplierDisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="LocationDisplayName">
<DataField>LocationDisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="CostCenterDisplayName">
<DataField>CostCenterDisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OrganizationDisplayName">
<DataField>OrganizationDisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ContractManagerDisplayName">
<DataField>ContractManagerDisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="UserDefined">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@ThresholdContractExpired">
<Value>=Parameters!ThresholdContractExpired.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ThresholdContractCloseToExpired">
<Value>=Parameters!ThresholdContractCloseToExpired.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@objectStatusPendingDelete">
<Value>System.ConfigItem.ObjectStatusEnum.PendingDelete</Value>
</QueryParameter>
<QueryParameter Name="@LanguageCode">
<Value>=Code.GetReportLocLanguageCode()</Value>
</QueryParameter>
<QueryParameter Name="@LocationDimKeyList">
<Value>=Parameters!LocationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ContractManagerId">
<Value>=Parameters!ContractManagerId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@entityStatusActive">
<Value>EntityStatus.Active</Value>
</QueryParameter>
<QueryParameter Name="@ContractType">
<Value>=Parameters!ContractType.Value</Value>
</QueryParameter>
<QueryParameter Name="@OrganizationDimKeyList">
<Value>=Parameters!OrganizationDimKeyList.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
<QueryParameter Name="@ExpiredDateBegin">
<Value>=Parameters!ExpiredDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@ExpiredDateTo">
<Value>=Parameters!ExpiredDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateBegin">
<Value>=Parameters!EffectiveDateBegin.Value</Value>
</QueryParameter>
<QueryParameter Name="@EffectiveDateTo">
<Value>=Parameters!EffectiveDateTo.Value</Value>
</QueryParameter>
<QueryParameter Name="@Supplier">
<Value>=Parameters!Supplier.Value</Value>
</QueryParameter>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
</QueryParameter>
<QueryParameter Name="@CostCenterDimKeyList">
<Value>=Parameters!CostCenterDimKeyList.Value</Value>
</QueryParameter>
<QueryParameter Name="@Threshold">
<Value>=Parameters!Threshold.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>--Query UserDefined
SELECT *
FROM (
SELECT A.AgreementNumber AgreementCode,
A.AgreementNumber,
A.DisplayName,
A.EffectiveDate,
A.ExpirationDate,
C.SupplierName,
D.AgreementType,
E.AgreementDimKey,
case when a.ExpirationDate is null then 'UN'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractExpired then 'EX'
when datediff(d,GETDATE(),A.ExpirationDate) &lt;= @ThresholdContractCloseToExpired then 'CL'
else 'GO'
end Threshold,
datediff(d,GETDATE(),A.ExpirationDate) ExpiredDays
FROM UserDefinedAgreementDim A
LEFT OUTER JOIN UserDefinedAgreementTypevw B ON A.Type_UserDefinedAgreementTypeId = B.UserDefinedAgreementTypeId
LEFT OUTER JOIN
(SELECT c.DisplayName SupplierName,
b.EntityDimKey,
C.CompanyDimKey
FROM AgreementCompanyFactvw a
JOIN AgreementDimvw b on a.AgreementDimKey = b.AgreementDimKey AND B.IsDeleted =0
JOIN CompanyDimvw c ON a.AgreementSuppliedByCompany_CompanyDimKey = c.CompanyDimKey AND ISNULL(c.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
WHERE a.DeletedDate IS NULL
) C ON A.EntityDimKey = C.EntityDimKey
LEFT OUTER JOIN (SELECT a.UserDefinedAgreementTypeId,
ISNULL(b.DisplayName, a.UserDefinedAgreementTypeValue) AgreementType
FROM UserDefinedAgreementTypevw a
LEFT JOIN DisplayStringDimvw b ON a.EnumTypeId = b.BaseManagedEntityId
AND b.LanguageCode = @LanguageCode
) D on A.Type_UserDefinedAgreementTypeId = D.UserDefinedAgreementTypeId
LEFT OUTER JOIN AgreementDimvw E ON A.BaseManagedEntityId = E.BaseManagedEntityId
LEFT JOIN AgreementOrganizationFactvw G ON E.AgreementDimKey = G.AgreementDimKey AND G.DeletedDate IS NULL
LEFT JOIN AgreementCostCenterFactvw H ON E.AgreementDimKey = H.AgreementDimKey AND H.DeletedDate IS NULL
LEFT JOIN AgreementLocationFactvw I ON E.AgreementDimKey = I.AgreementDimKey AND I.DeletedDate IS NULL
LEFT JOIN AgreementSystemUserFactvw J ON E.AgreementDimKey = J.AgreementDimKey AND J.DeletedDate IS NULL
WHERE A.IsDeleted =0
AND ISNULL(A.ObjectStatus,'') &lt;&gt; @objectStatusPendingDelete
AND A.Status = @entityStatusActive
AND (('UD' in (@ContractType)) OR ('AL' in (@ContractType)))
AND ((@ExpiredDateBegin IS NULL) OR (A.ExpirationDate &gt;= @ExpiredDateBegin))
AND ((@ExpiredDateTo IS NULL) OR (A.ExpirationDate &lt;= Convert(DateTime,Convert(varchar(50),@ExpiredDateTo,102)+' 23:59:59',120)))
AND ((@EffectiveDateBegin IS NULL) OR (A.EffectiveDate &gt;= @EffectiveDateBegin))
AND ((@EffectiveDateTo IS NULL) OR (A.EffectiveDate &lt;= Convert(DateTime,Convert(varchar(50),@EffectiveDateTo,102)+' 23:59:59',120)))
AND ((@Supplier is null) OR (@Supplier &lt; 1) OR (C.CompanyDimKey = @Supplier))
AND ((@OrganizationId is null) OR (@OrganizationId &lt; 1) OR (G.AgreementHasOrganization_OrganizationDimKey in (@OrganizationDimKeyList)))
AND ((@CostCenterId is null) OR (@CostCenterId &lt; 1) OR (H.AgreementHasCostCenter_CostCenterDimKey in (@CostCenterDimKeyList)))
AND ((@LocationId is null) OR (@LocationId &lt; 1) OR (I.AgreementHasLocation_LocationDimKey in (@LocationDimKeyList)))
AND ((@ContractManagerId is null) OR (@ContractManagerId &lt; 1) OR (J.AgreementOwnedBySystemUser_SystemUserDimKey = @ContractManagerId))
) Z
WHERE ((Z.Threshold IN (@Threshold)) OR ('AL' IN (@Threshold)))
ORDER BY Z.ExpirationDate
</CommandText>
</Query>
<Fields>
<Field Name="AgreementCode">
<DataField>AgreementCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementNumber">
<DataField>AgreementNumber</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="EffectiveDate">
<DataField>EffectiveDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="DisplayName">
<DataField>DisplayName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpirationDate">
<DataField>ExpirationDate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="SupplierName">
<DataField>SupplierName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementType">
<DataField>AgreementType</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AgreementDimKey">
<DataField>AgreementDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="Threshold">
<DataField>Threshold</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ExpiredDays">
<DataField>ExpiredDays</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="Threshold">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@LanguageCode">
<Value>=Code.GetReportLocLanguageCode()</Value>
</QueryParameter>
</QueryParameters>
<CommandText>--Query Threshold


create table #ThresholdType (label varchar(255) null, value varchar(255) null)

;WITH vThresholdTypes as(
SELECT ISNULL(B.DisplayName,B.SubElementName) AS label,
B.SubElementName, A.ManagementPackId,B.DisplayStringDimKey
FROM ManagementPackDim A
Left JOIN DisplayStringDim B ON A.ManagementPackId = B.ManagementPackId
AND B.LanguageCode = @LanguageCode
AND B.ElementName = 'Provance.ITAssetManagement.Report.EndOfContracts2'
WHERE A.MPName = 'Provance.ServiceManager.Itam.Software.Reports'
AND B.SubElementName like '%' )
--Use this section to rebuild the default values below if there are changes
--SELECT DISTINCT 'INSERT INTO #ThresholdType (label,value) select ''[' + OptionSet.LABEL + ']'',''' + OptionSet.VALUE + '''
--where not exists (select label from #ThresholdType where value = ''' + VALUE + ''')'
INSERT INTO #ThresholdType (label,value)
SELECT DISTINCT OptionSet.Label, OptionSet.Value
FROM
(

SELECT C.label, 'AL' AS value FROM vThresholdTypes C WHERE C.SubElementName = 'R' union all
SELECT C.label, 'EX' AS value FROM vThresholdTypes C WHERE C.SubElementName = 'X' union all
SELECT C.label, 'CL' AS value FROM vThresholdTypes C WHERE C.SubElementName = 'Y' union all
SELECT C.label, 'GO' AS value FROM vThresholdTypes C WHERE C.SubElementName = 'Z' union all
SELECT C.label, 'UN' AS value FROM vThresholdTypes C WHERE C.SubElementName = 'ZA'

) OptionSet

--INSERT INTO #ThresholdType (label,value)
--select @LanguageCode,'languagecode'
--where not exists (select label from #ThresholdType where value = 'AL')

-- Default values
-- We have seen an invalid language code being passed. These default values will allow the report to continue.
INSERT INTO #ThresholdType (label,value) select '[All]','AL' where not exists (select label from #ThresholdType where value = 'AL')
INSERT INTO #ThresholdType (label,value) select '[Close]','CL' where not exists (select label from #ThresholdType where value = 'CL')
INSERT INTO #ThresholdType (label,value) select '[Expired]','EX' where not exists (select label from #ThresholdType where value = 'EX')
INSERT INTO #ThresholdType (label,value) select '[Good]','GO' where not exists (select label from #ThresholdType where value = 'GO')
INSERT INTO #ThresholdType (label,value) select '[Unknown]','UN' where not exists (select label from #ThresholdType where value = 'UN')



select * from #ThresholdType a
order by a.label

drop table #ThresholdType
</CommandText>
</Query>
<Fields>
<Field Name="label">
<DataField>label</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="value">
<DataField>value</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="LocationDimKeyQuery">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@LocationId">
<Value>=Parameters!LocationId.Value</Value>
<rd:UserDefined>true</rd:UserDefined>
</QueryParameter>
</QueryParameters>
<CommandText>CREATE TABLE #LocationDimKey (LocationDimKey int)
DECLARE @iRowcount int

IF @LocationId IS NOT NULL and @LocationId &gt; 0
BEGIN
INSERT INTO #LocationDimKey
VALUES(@LocationId)

SELECT @iRowcount = @@ROWCOUNT

WHILE @iRowcount &gt; 0
BEGIN
INSERT INTO #LocationDimKey
SELECT A.LocationContainsChildLocation_LocationDimKey
FROM LocationChildLocationFactvw A
WHERE A.DeletedDate IS NULL
AND A.LocationDimKey IN (SELECT LocationDimKey FROM #LocationDimKey)
AND A.LocationContainsChildLocation_LocationDimKey NOT IN (SELECT LocationDimKey FROM #LocationDimKey)

SELECT @iRowcount = @@ROWCOUNT
END
END
select LocationDimKey from #LocationDimKey
union
select 0
order by LocationDimKey
</CommandText>
</Query>
<Fields>
<Field Name="LocationDimKey">
<DataField>LocationDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="CostCenterDimKeyQuery">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@CostCenterId">
<Value>=Parameters!CostCenterId.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>CREATE TABLE #CostCenterDimKey (CostCenterDimKey int)
DECLARE @iRowcount int

IF @CostCenterId IS NOT NULL and @CostCenterId &gt; 0
BEGIN
INSERT INTO #CostCenterDimKey
VALUES(@CostCenterId)

SELECT @iRowcount = @@ROWCOUNT

WHILE @iRowcount &gt; 0
BEGIN
INSERT INTO #CostCenterDimKey
SELECT A.CostCenterContainsChildCostCenter_CostCenterDimKey
FROM CostCenterChildCostCenterFactvw A
WHERE A.DeletedDate IS NULL
AND A.CostCenterDimKey IN (SELECT CostCenterDimKey FROM #CostCenterDimKey)
AND A.CostCenterContainsChildCostCenter_CostCenterDimKey NOT IN (SELECT CostCenterDimKey FROM #CostCenterDimKey)

SELECT @iRowcount = @@ROWCOUNT
END
END
select CostCenterDimKey from #CostCenterDimKey
union all
select 0
order by CostCenterDimKey

drop table #CostCenterDimKey
</CommandText>
</Query>
<Fields>
<Field Name="CostCenterDimKey">
<DataField>CostCenterDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="OrganizationDimKeyQuery">
<Query>
<DataSourceName>DWDataMart</DataSourceName>
<QueryParameters>
<QueryParameter Name="@OrganizationId">
<Value>=Parameters!OrganizationId.Value</Value>
</QueryParameter>
</QueryParameters>
<CommandText>CREATE TABLE #OrganizationDimKey (OrganizationDimKey int)
DECLARE @iRowcount int

IF @OrganizationId IS NOT NULL and @OrganizationId &gt; 0
BEGIN
INSERT INTO #OrganizationDimKey
VALUES(@OrganizationId)

SELECT @iRowcount = @@ROWCOUNT

WHILE @iRowcount &gt; 0
BEGIN
INSERT INTO #OrganizationDimKey
SELECT A.OrganizationContainsChildOrganization_OrganizationDimKey
FROM OrganizationChildOrganizationFactvw A
WHERE A.DeletedDate IS NULL
AND A.OrganizationDimKey IN (SELECT OrganizationDimKey FROM #OrganizationDimKey)
AND A.OrganizationContainsChildOrganization_OrganizationDimKey NOT IN (SELECT OrganizationDimKey FROM #OrganizationDimKey)

SELECT @iRowcount = @@ROWCOUNT
END
END
select OrganizationDimKey from #OrganizationDimKey
union
select 0
order by OrganizationDimKey
</CommandText>
</Query>
<Fields>
<Field Name="OrganizationDimKey">
<DataField>OrganizationDimKey</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<ReportParameters>
<ReportParameter Name="LT_Report">
<DataType>String</DataType>
<DefaultValue>
<DataSetReference>
<DataSetName>LT_Report</DataSetName>
<ValueField>XML_F52E2B61_18A1_11d1_B105_00805F49916B</ValueField>
</DataSetReference>
</DefaultValue>
<Hidden>true</Hidden>
</ReportParameter>
<ReportParameter Name="ContractType">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>AL</Value>
</Values>
</DefaultValue>
<Prompt>Contract Type</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>ContractType</DataSetName>
<ValueField>value</ValueField>
<LabelField>label</LabelField>
</DataSetReference>
</ValidValues>
<MultiValue>true</MultiValue>
</ReportParameter>
<ReportParameter Name="ExpiredDateBegin">
<DataType>DateTime</DataType>
<Nullable>true</Nullable>
<Prompt>Expiration Date From</Prompt>
</ReportParameter>
<ReportParameter Name="ExpiredDateTo">
<DataType>DateTime</DataType>
<Nullable>true</Nullable>
<Prompt>Expiration Date To</Prompt>
</ReportParameter>
<ReportParameter Name="Supplier">
<DataType>Integer</DataType>
<Nullable>true</Nullable>
<Prompt>Supplier</Prompt>
</ReportParameter>
<ReportParameter Name="LocationId">
<DataType>Integer</DataType>
<Nullable>true</Nullable>
<Prompt>LocationId</Prompt>
</ReportParameter>
<ReportParameter Name="OrganizationId">
<DataType>Integer</DataType>
<Nullable>true</Nullable>
<Prompt>OrganizationId</Prompt>
</ReportParameter>
<ReportParameter Name="CostCenterId">
<DataType>String</DataType>
<Nullable>true</Nullable>
<Prompt>Cost Center Id</Prompt>
</ReportParameter>
<ReportParameter Name="ContractManagerId">
<DataType>Integer</DataType>
<Nullable>true</Nullable>
<Prompt>ContractManagerId</Prompt>
</ReportParameter>
<ReportParameter Name="EffectiveDateBegin">
<DataType>DateTime</DataType>
<Nullable>true</Nullable>
<Prompt>Effective Date From</Prompt>
</ReportParameter>
<ReportParameter Name="EffectiveDateTo">
<DataType>DateTime</DataType>
<Nullable>true</Nullable>
<Prompt>Effective Date To</Prompt>
</ReportParameter>
<ReportParameter Name="Threshold">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>AL</Value>
</Values>
</DefaultValue>
<Prompt>Show Only Contracts with Status of</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>Threshold</DataSetName>
<ValueField>value</ValueField>
<LabelField>label</LabelField>
</DataSetReference>
</ValidValues>
<MultiValue>true</MultiValue>
</ReportParameter>
<ReportParameter Name="ThresholdContractExpired">
<DataType>Integer</DataType>
<DefaultValue>
<DataSetReference>
<DataSetName>ContractAdminSettings</DataSetName>
<ValueField>ExpiredThresholdDays</ValueField>
</DataSetReference>
</DefaultValue>
<Prompt> Expired Threshold - Contract expires within (days from today)</Prompt>
</ReportParameter>
<ReportParameter Name="ThresholdContractCloseToExpired">
<DataType>Integer</DataType>
<DefaultValue>
<DataSetReference>
<DataSetName>ContractAdminSettings</DataSetName>
<ValueField>CloseToExpiredThresholdDays</ValueField>
</DataSetReference>
</DefaultValue>
<Prompt> Close to Expired Threshold - Contract expires within (days from today)</Prompt>
</ReportParameter>
<ReportParameter Name="LanguageCode">
<DataType>String</DataType>
<DefaultValue>
<Values>
<Value>=Code.GetReportLocLanguageCode()</Value>
</Values>
</DefaultValue>
<Hidden>true</Hidden>
</ReportParameter>
<ReportParameter Name="LocationDimKeyList">
<DataType>Integer</DataType>
<DefaultValue>
<DataSetReference>
<DataSetName>LocationDimKeyQuery</DataSetName>
<ValueField>LocationDimKey</ValueField>
</DataSetReference>
</DefaultValue>
<Hidden>true</Hidden>
<MultiValue>true</MultiValue>
</ReportParameter>
<ReportParameter Name="CostCenterDimKeyList">
<DataType>Integer</DataType>
<DefaultValue>
<DataSetReference>
<DataSetName>CostCenterDimKeyQuery</DataSetName>
<ValueField>CostCenterDimKey</ValueField>
</DataSetReference>
</DefaultValue>
<Hidden>true</Hidden>
<MultiValue>true</MultiValue>
</ReportParameter>
<ReportParameter Name="OrganizationDimKeyList">
<DataType>Integer</DataType>
<DefaultValue>
<DataSetReference>
<DataSetName>OrganizationDimKeyQuery</DataSetName>
<ValueField>OrganizationDimKey</ValueField>
</DataSetReference>
</DefaultValue>
<Hidden>true</Hidden>
<MultiValue>true</MultiValue>
</ReportParameter>
</ReportParameters>
<Code><Script>Const LocTableStringQuery As String = "R/S[@N='{0}']/text()"

Const TimeZoneParameterName As String = "TimeZone"
Const SD_BaseTypeParameterName As String = "StartDate_BaseType"
Const SD_BaseValueParameterName As String = "StartDate_BaseValue"
Const SD_OffsetTypeParameterName As String = "StartDate_OffsetType"
Const SD_OffsetValueParameterName As String = "StartDate_OffsetValue"
Const ED_BaseTypeParameterName As String = "EndDate_BaseType"
Const ED_BaseValueParameterName As String = "EndDate_BaseValue"
Const ED_OffsetTypeParameterName As String = "EndDate_OffsetType"
Const ED_OffsetValueParameterName As String = "EndDate_OffsetValue"
Const IsRelativeTimeSupported As Boolean = False
Const TimeTypeParameterName As String = "TimeType"
Const TimeWeekMapParameterName As String = "TimeWeekMap"

Dim LocTables As System.Collections.Generic.Dictionary(Of String, Microsoft.EnterpriseManagement.Reporting.XmlStringTable)
Dim ReportTimeZone As Microsoft.EnterpriseManagement.Reporting.TimeZoneCoreInformation
Dim ReportStartDate As DateTime
Dim ReportEndDate As DateTime
Dim ReportTime As Microsoft.EnterpriseManagement.Reporting.ParameterProcessor.RelativeTime
Dim ReportCulture As System.Globalization.CultureInfo
Dim ParameterProcessor As Microsoft.EnterpriseManagement.Reporting.ParameterProcessor
Dim TargetList As String

Protected Overrides Sub OnInit()
LocTables = new System.Collections.Generic.Dictionary(Of String, Microsoft.EnterpriseManagement.Reporting.XmlStringTable)()
ReportTimeZone = Microsoft.EnterpriseManagement.Reporting.TimeZoneInformation.Current
ReportStartDate = DateTime.MinValue
ReportEndDate = DateTime.MinValue
ReportTime = Nothing
ReportCulture = System.Globalization.CultureInfo.GetCultureInfo(Report.User("Language"))
ParameterProcessor = New Microsoft.EnterpriseManagement.Reporting.ParameterProcessor(ReportCulture)
TargetList =Nothing
End Sub

'Public Function GetCallingManagementGroupId() As String
' Return 'Microsoft.EnterpriseManagement.Reporting.ReportingConfiguration.M'anagementGroupId
'End Function

Public Function GetReportLocLanguageCode() As String
Return ReportCulture.ThreeLetterWindowsLanguageName
End Function

Public Function GetReportLCID() As Integer
Return ReportCulture.LCID
End Function

Public Function GetLocTable(Name As String) As Microsoft.EnterpriseManagement.Reporting.XmlStringTable
Dim LocTable As Microsoft.EnterpriseManagement.Reporting.XmlStringTable

If Not LocTables.TryGetValue(Name, LocTable) Then
LocTable = New Microsoft.EnterpriseManagement.Reporting.XmlStringTable(LocTableStringQuery, Report.Parameters(Name).Value)
LocTables.Add(Name, LocTable)
End If

Return LocTable
End Function

Public Function GetReportTimeZone() As Microsoft.EnterpriseManagement.Reporting.TimeZoneCoreInformation
If IsNothing(ReportTimeZone) Then ReportTimeZone = Microsoft.EnterpriseManagement.Reporting.TimeZoneCoreInformation.FromValueString(Report.Parameters(TimeZoneParameterName).Value)
Return ReportTimeZone
End Function

Public Function ToDbDate(ByVal DateValue As DateTime) As DateTime
return GetReportTimeZone.ToUniversalTime(DateValue)
End Function

Public Function ToReportDate(ByVal DateValue As DateTime) As DateTime
return GetReportTimeZone.ToLocalTime(DateValue)
End Function

Public Function GetReportStartDate() As DateTime
If (ReportStartDate = DateTime.MinValue) Then
If (IsRelativeTimeSupported) Then
ReportStartDate = ParameterProcessor.GetDateTime(ToReportDate(DateTime.UtcNow), Report.Parameters(SD_BaseTypeParameterName).Value, Report.Parameters(SD_BaseValueParameterName).Value, Report.Parameters(SD_OffsetTypeParameterName).Value, Report.Parameters(SD_OffsetValueParameterName).Value, Report.Parameters(TimeTypeParameterName).Value)
Else
ReportStartDate = ParameterProcessor.GetDateTime(ToReportDate(DateTime.UtcNow), Report.Parameters(SD_BaseTypeParameterName).Value, Report.Parameters(SD_BaseValueParameterName).Value, Report.Parameters(SD_OffsetTypeParameterName).Value, Report.Parameters(SD_OffsetValueParameterName).Value)
End if
End If
return ReportStartDate
End Function

Public Function GetReportEndDate() As DateTime
If (ReportEndDate = DateTime.MinValue) Then
If (IsRelativeTimeSupported) Then
ReportEndDate = ParameterProcessor.GetDateTime(ToReportDate(DateTime.UtcNow), Report.Parameters(ED_BaseTypeParameterName).Value, Report.Parameters(ED_BaseValueParameterName).Value, Report.Parameters(ED_OffsetTypeParameterName).Value, Report.Parameters(ED_OffsetValueParameterName).Value, Report.Parameters(TimeTypeParameterName).Value)
If IsBusinessHours(GetReportTimeFilter()) Then ReportEndDate = ReportCulture.Calendar.AddDays(ReportEndDate, 1)
Else
ReportEndDate = ParameterProcessor.GetDateTime(ToReportDate(DateTime.UtcNow), Report.Parameters(ED_BaseTypeParameterName).Value, Report.Parameters(ED_BaseValueParameterName).Value, Report.Parameters(ED_OffsetTypeParameterName).Value, Report.Parameters(ED_OffsetValueParameterName).Value)
End if
End If
return ReportEndDate
End Function

Public Function GetReportTimeFilter() As Microsoft.EnterpriseManagement.Reporting.ParameterProcessor.RelativeTime
If IsNothing(ReportTime) Then ReportTime = New Microsoft.EnterpriseManagement.Reporting.ParameterProcessor.RelativeTime(Report.Parameters(TimeTypeParameterName).Value, Report.Parameters(SD_BaseValueParameterName).Value, Report.Parameters(ED_BaseValueParameterName).Value, CStr(Join(Report.Parameters(TimeWeekMapParameterName).Value, ",")))
return ReportTime
End Function

Public Function IsBusinessHours(Value As Microsoft.EnterpriseManagement.Reporting.ParameterProcessor.RelativeTime) As Boolean
return (Not IsNothing(Value)) And (Value.TimeType = Microsoft.EnterpriseManagement.Reporting.ParameterProcessor.RelativeTimeType.Business)
End Function

Public Function FormatDateTime(Format As String, Value As DateTime) As String
return Value.ToString(Format, ReportCulture)
End Function

Public Function FormatNumber(Format As String, Value As Decimal) As String
return Value.ToString(Format, ReportCulture)
End Function

Public Function FormatString(Format As String, ParamArray Values() as Object) As String
return String.Format(ReportCulture, Format, Values)
End Function

Public Function NullFormatString(Format As String, Value as String) As String
return IIF(String.IsNullOrEmpty(Value), String.Empty, String.Format(ReportCulture, Format, Value))
End Function

Public Function FormatBusinessHours(Format As String, Value As Microsoft.EnterpriseManagement.Reporting.ParameterProcessor.RelativeTime) As String
Dim result As String

If IsBusinessHours(Value) Then

Dim firstDay As DayOfWeek
Dim days As System.Collections.Generic.List(Of String)

firstDay = ReportCulture.DateTimeFormat.FirstDayOfWeek
days = new System.Collections.Generic.List(Of String)()

For loopDay As DayOfWeek = DayOfWeek.Sunday To DayOfWeek.Saturday
Dim day As DayOfWeek
day = CType((CInt(loopDay) + CInt(firstDay)) Mod 7, DayOfWeek)

If value.WeekMap.Contains(day) Then days.Add(ReportCulture.DateTimeFormat.GetAbbreviatedDayName(day))
Next loopDay

result = FormatString(Format, DateTime.Today.Add(Value.StartTime).ToString(ReportCulture.DateTimeFormat.ShortTimePattern), DateTime.Today.Add(Value.EndTime).ToString(ReportCulture.DateTimeFormat.ShortTimePattern), String.Join(",", days.ToArray()))

Else
result = String.Empty
End if

return result
End Function

Public Function BuildXmlValueList(ByVal ValueList() As Object) As String
Return Microsoft.EnterpriseManagement.Reporting.MultiValueParameter.ToXml("Data", "Value", ValueList)
End Function


REM -------------------------------------------------

Dim ReportFormatList As System.Collections.Generic.Dictionary(Of String, IDataFormatter)
Const FormatListParameterName As String = "DataFormat"

REM -------------------------------------------------

Public Interface IDataFormatter
Function FormatData(ByVal Value As String) As String
End Interface

Public Class RankDataFormatter
Implements IDataFormatter

Private Series As System.Collections.Generic.SortedDictionary(Of Decimal, String)
Private Culture As System.Globalization.CultureInfo

Public Sub New(ByVal Config As System.Xml.XmlNode, ByVal ReportCulture As System.Globalization.CultureInfo)
Culture = ReportCulture
Series = New System.Collections.Generic.SortedDictionary(Of Decimal, String)()

For Each SeriesXml As System.Xml.XmlNode In Config.ChildNodes
Series.Add(Decimal.Parse(SeriesXml.Attributes("Rank").Value), SeriesXml.Attributes("Format").Value)
Next
End Sub

Public Function FormatData(ByVal Value As String) As String Implements IDataFormatter.FormatData
Dim Result As String = CDec(Value).ToString("G", Culture)

For Each FormatItem As System.Collections.Generic.KeyValuePair(Of Decimal, String) In Series
Dim RunningValue As Decimal = Math.Round(Value / FormatItem.Key)
If RunningValue &gt; 0 Then
Result = String.Format(Culture, FormatItem.Value, RunningValue.ToString("G", Culture))
Else
Exit For
End If
Next

Return Result
End Function
End Class

Public Class LookupDataFormatter
Implements IDataFormatter

Private MappingTable As System.Collections.Generic.IDictionary(Of String, String)

Public Sub New(ByVal Config As System.Xml.XmlNode)
MappingTable = New System.Collections.Generic.Dictionary(Of String, String)(StringComparer.OrdinalIgnoreCase)
For Each SeriesXml As System.Xml.XmlNode In Config.ChildNodes
MappingTable.Add(Decimal.Parse(SeriesXml.Attributes("Value").Value), SeriesXml.Attributes("Label").Value)
Next
End Sub

Public Function FormatData(ByVal Value As String) As String Implements IDataFormatter.FormatData
Dim Result As String
If MappingTable.ContainsKey(Value) Then
Result = MappingTable(Value)
Else
Result = Value
End If
Return Result
End Function
End Class

Public Function GetReportFormatList() As System.Collections.Generic.Dictionary(Of String, IDataFormatter)
If IsNothing(ReportFormatList) Then
Dim Xml As System.Xml.XmlDocument = New System.Xml.XmlDocument()
Xml.LoadXml(Report.Parameters(FormatListParameterName).Value)

ReportFormatList = New System.Collections.Generic.Dictionary(Of String, IDataFormatter)(StringComparer.OrdinalIgnoreCase)
For Each Node As System.Xml.XmlNode In Xml.DocumentElement.ChildNodes
Dim Formatter As IDataFormatter = Nothing

Select Case Node.Attributes("Type").Value.ToUpper()
Case "RANK"
Formatter = New RankDataFormatter(Node, ReportCulture)
Case "LOOKUP"
Formatter = New LookupDataFormatter(Node)
End Select

If Not IsNothing(Formatter) Then
ReportFormatList.Add(Node.Attributes("Name").Value, Formatter)
End If
Next
End If
Return ReportFormatList
End Function

Public Function FormatData(ByVal FormatName As String, ByVal DataType As String, ByVal Value As String)
Dim FormatList As System.Collections.Generic.Dictionary(Of String, IDataFormatter) = GetReportFormatList()
If Not String.IsNullOrEmpty(FormatName) And Not IsNothing(FormatList) Then
If FormatList.ContainsKey(FormatName) Then
Return FormatList(FormatName).FormatData(Value)
End If
End If

If Not String.IsNullOrEmpty(DataType) Then
If DataType = "DateTime" Then
Return FormatDateTime("g", CDate(Value))
ElseIf DataType.StartsWith("UInt") Then
Return FormatNumber("G", Value)
End If
End If

Return Value
End Function

REM ----------------------------------------

Public Dim CurrentObjectList As String

Public Function InitList(ByRef List As String) As String
List = String.Empty
Return List
End Function

Public Function AddListItem(ByRef List As String, Item as String) As String
List = List + Item
Return List
End Function

Public Function GetObjectList(ByVal OptionsXml As String) As String()
Dim Xml As System.Xml.XmlDocument
Xml = New System.Xml.XmlDocument()
Xml.LoadXml(OptionsXml)

Dim Result As System.Collections.Generic.List(Of String)
Result = New System.Collections.Generic.List(Of String)
For Each ObjectNode As System.Xml.XmlNode In Xml.SelectNodes("/Value/Object")
If Not Result.Contains(ObjectNode.InnerText) Then
Result.Add(ObjectNode.InnerText)
End If
Next

Return Result.ToArray()
End Function
</Script></Code>
<Language>en-US</Language>
<CodeModules>
<CodeModule>Microsoft.EnterpriseManagement.Reporting.Code, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</CodeModule>
<CodeModule>System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</CodeModule>
</CodeModules>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>9bf3e609-5344-43d6-b1aa-066d834bca0b</rd:ReportID>
</Report>