<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="ABW">
<rd:DataSourceID>6ca04f3a-82a3-4a5d-b9b2-0596e03fd056</rd:DataSourceID>
<DataSourceReference>ABW</DataSourceReference>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<ReportParameters>
<ReportParameter Name="CompanyCode">
<DataType>String</DataType>
<Prompt>CompanyCode</Prompt>
</ReportParameter>
<ReportParameter Name="CompanyName">
<DataType>String</DataType>
<Prompt>CompanyName</Prompt>
</ReportParameter>
<ReportParameter Name="param_1">
<DataType>Boolean</DataType>
<DefaultValue>
<Values>
<Value>false</Value>
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>param_1</Prompt>
</ReportParameter>
<ReportParameter Name="param_2">
<DataType>Boolean</DataType>
<DefaultValue>
<Values>
<Value>False</Value>
</Values>
</DefaultValue>
<AllowBlank>true</AllowBlank>
<Prompt>param_2</Prompt>
</ReportParameter>
</ReportParameters>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:GridSpacing>0.03in</rd:GridSpacing>
<rd:SnapToGrid>true</rd:SnapToGrid>
<RightMargin>0.125in</RightMargin>
<LeftMargin>0.125in</LeftMargin>
<BottomMargin>0.125in</BottomMargin>
<rd:ReportID>30e18a41-723e-407c-b014-1884a1395174</rd:ReportID>
<PageWidth>11in</PageWidth>
<DataSets>
<DataSet Name="ABW">
<Fields>
<Field Name="CompanyCode">
<DataField>CompanyCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ABCCode">
<DataField>ABCCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Description">
<DataField>Description</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="AnnualUsePercent">
<DataField>AnnualUsePercent</DataField>
<rd:TypeName>System.Float</rd:TypeName>
</Field>
<Field Name="AutoUpdate">
<DataField>AutoUpdate</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="Active">
<DataField>Active</DataField>
<rd:TypeName>System.Boolean</rd:TypeName>
</Field>
<Field Name="WorkDaysBetweenCycleCount">
<DataField>WorkDaysBetweenCycleCount</DataField>
</Field>
</Fields>
<Query>
<DataSourceName>ABW</DataSourceName>
<CommandType>StoredProcedure</CommandType>
<CommandText>rpt_ABCCodes_ALL</CommandText>
<QueryParameters>
<QueryParameter Name="@CompanyCode">
<Value>=Parameters!CompanyCode.Value</Value>
</QueryParameter>
</QueryParameters>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
</DataSet>
</DataSets>
<Code>Public rowsPerPage as Integer = 6
Public Function CheckForInactive(ByVal Str As String) As Boolean
If InStr(UCase(Trim(Str)), UCase("inactive")) > 0 Then
Return True
End If
Return False
End Function</Code>
<Width>10.5in</Width>
<Body>
<ReportItems>
<Table Name="table">
<DataSetName>ABW</DataSetName>
<Top>0.03in</Top>
<TableGroups>
<TableGroup>
<Grouping Name="PageBreak_Group">
<GroupExpressions>
<GroupExpression>=Floor((RowNumber(Nothing) - 1) / Code.rowsPerPage)</GroupExpression>
</GroupExpressions>
</Grouping>
<Footer>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox10">
<rd:DefaultName>textbox10</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>7</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox11">
<rd:DefaultName>textbox11</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox12">
<rd:DefaultName>textbox12</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox13">
<rd:DefaultName>textbox13</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>4</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
</TableRows>
</Footer>
</TableGroup>
</TableGroups>
<Width>9.64833in</Width>
<Details>
<TableRows>
<TableRow>
<Visibility>
<Hidden>=Parameters!param_1.Value=true</Hidden>
</Visibility>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="Field2">
<rd:DefaultName>Field2</rd:DefaultName>
<Style>
<Color>=IIF(code.CheckForInactive(Fields!ABCCode.Value)=True,"Red","Black")</Color>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>15</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!ABCCode.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Field3">
<rd:DefaultName>Field3</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>14</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!Description.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox2">
<Style>
<FontFamily>Times New Roman</FontFamily>
<Format>N2</Format>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>13</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!WorkDaysBetweenCycleCount.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Field6">
<rd:DefaultName>Field6</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Center</TextAlign>
</Style>
<ZIndex>12</ZIndex>
<CanGrow>true</CanGrow>
<Value>=iif(Fields!Active.Value=true,"Yes","No")</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.24in</Height>
</TableRow>
<TableRow>
<Visibility>
<Hidden>=Parameters!param_1.Value=false</Hidden>
</Visibility>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="ABCCode">
<rd:DefaultName>ABCCode</rd:DefaultName>
<Style>
<Color>=IIF(code.CheckForInactive(Fields!ABCCode.Value)=True,"Red","Black")</Color>
<FontFamily>Times New Roman</FontFamily>
</Style>
<ZIndex>11</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!ABCCode.Value & "Rectangle2"</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox4">
<rd:DefaultName>textbox4</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>10</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox5">
<rd:DefaultName>textbox5</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<Format>N2</Format>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>9</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox6">
<rd:DefaultName>textbox6</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Center</TextAlign>
</Style>
<ZIndex>8</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
<TableRow>
<Visibility>
<Hidden>=Parameters!param_1.Value=false and Parameters!param_2.Value=false</Hidden>
</Visibility>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox3">
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<Color>=IIF(code.CheckForInactive(Fields!ABCCode.Value)=True,"Red","Black")</Color>
<FontFamily>Times New Roman</FontFamily>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!ABCCode.Value & "Rectangle3"</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox7">
<rd:DefaultName>textbox7</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox8">
<rd:DefaultName>textbox8</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<Format>N2</Format>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox9">
<rd:DefaultName>textbox9</rd:DefaultName>
<Style>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Center</TextAlign>
</Style>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
</TableRows>
</Details>
<Header>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ColSpan>3</ColSpan>
<ReportItems>
<Textbox Name="Text7">
<rd:DefaultName>Text7</rd:DefaultName>
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
<Bottom>Double</Bottom>
</BorderStyle>
<BorderWidth>
<Bottom>1pt</Bottom>
</BorderWidth>
<FontStyle>Italic</FontStyle>
<FontFamily>Times New Roman</FontFamily>
<FontSize>14pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>21</ZIndex>
<CanGrow>true</CanGrow>
<Value>ABC Codes:</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Text8">
<rd:DefaultName>Text8</rd:DefaultName>
<Style>
<BorderColor>
<Bottom>Black</Bottom>
</BorderColor>
<BorderStyle>
<Bottom>Double</Bottom>
</BorderStyle>
<BorderWidth>
<Bottom>1pt</Bottom>
</BorderWidth>
<FontFamily>Times New Roman</FontFamily>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>20</ZIndex>
<CanGrow>true</CanGrow>
<Value>[ABCCodes_ALL] </Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.33in</Height>
</TableRow>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="Text2">
<rd:DefaultName>Text2</rd:DefaultName>
<Style>
<BorderColor>
<Top>Black</Top>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<BorderWidth>
<Top>1pt</Top>
</BorderWidth>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>19</ZIndex>
<CanGrow>true</CanGrow>
<Value>ABC Code</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Text3">
<rd:DefaultName>Text3</rd:DefaultName>
<Style>
<BorderColor>
<Top>Black</Top>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<BorderWidth>
<Top>1pt</Top>
</BorderWidth>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>18</ZIndex>
<CanGrow>true</CanGrow>
<Value>Description</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox1">
<Style>
<BorderColor>
<Top>Black</Top>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<BorderWidth>
<Top>1pt</Top>
</BorderWidth>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>17</ZIndex>
<CanGrow>true</CanGrow>
<Value>Work Days Between Cycle Count</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="Text6">
<rd:DefaultName>Text6</rd:DefaultName>
<Style>
<BorderColor>
<Top>Black</Top>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<BorderWidth>
<Top>1pt</Top>
</BorderWidth>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
</Style>
<ZIndex>16</ZIndex>
<CanGrow>true</CanGrow>
<Value>Active</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.21in</Height>
</TableRow>
</TableRows>
</Header>
<TableColumns>
<TableColumn>
<Width>1.11in</Width>
</TableColumn>
<TableColumn>
<Width>4.59in</Width>
</TableColumn>
<TableColumn>
<Width>2.49in</Width>
</TableColumn>
<TableColumn>
<Width>1.45833in</Width>
</TableColumn>
</TableColumns>
</Table>
</ReportItems>
<Height>1.56in</Height>
</Body>
<Language>en-US</Language>
<PageFooter>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textboxpf14">
<rd:DefaultName>textboxpf14</rd:DefaultName>
<Top>0.03in</Top>
<Width>0.125in</Width>
<Style>
<FontFamily>Times New Roman</FontFamily>
</Style>
<ZIndex>7</ZIndex>
<CanGrow>true</CanGrow>
<Left>5.25in</Left>
<Value>-</Value>
</Textbox>
<Textbox Name="textboxpf13">
<rd:DefaultName>textboxpf13</rd:DefaultName>
<Top>0.03in</Top>
<Width>3.375in</Width>
<Style>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Left>5.375in</Left>
<Value>=Parameters!CompanyName.Value</Value>
</Textbox>
<Textbox Name="textboxpf8">
<rd:DefaultName>textboxpf8</rd:DefaultName>
<Top>0.03in</Top>
<Width>2.375in</Width>
<Style>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Left>2.875in</Left>
<Value>=Parameters!CompanyCode.Value</Value>
</Textbox>
<Line Name="linepf1">
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
<ZIndex>4</ZIndex>
<Height>0in</Height>
</Line>
<Textbox Name="textboxpf12">
<Top>0.03in</Top>
<Style>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Left>10in</Left>
<Value>=Globals!PageNumber</Value>
</Textbox>
<Textbox Name="textboxpf11">
<rd:DefaultName>textboxpf11</rd:DefaultName>
<Top>0.03in</Top>
<Width>1in</Width>
<Style>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Left>9in</Left>
<Value>Page:</Value>
</Textbox>
<Textbox Name="textboxpf10">
<Top>0.03in</Top>
<Width>0.875in</Width>
<Style>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<Format>T</Format>
<TextAlign>Left</TextAlign>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Left>1.875in</Left>
<Value>=Globals!ExecutionTime</Value>
</Textbox>
<Textbox Name="textboxpf9">
<rd:DefaultName>textboxpf9</rd:DefaultName>
<Top>0.03in</Top>
<Width>1.75in</Width>
<Style>
<FontFamily>Times New Roman</FontFamily>
<FontWeight>700</FontWeight>
<Format>MMMM dd, yyyy</Format>
<TextAlign>Left</TextAlign>
</Style>
<CanGrow>true</CanGrow>
<Value>=Globals!ExecutionTime</Value>
</Textbox>
</ReportItems>
<Height>0.28in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageFooter>
<TopMargin>0.125in</TopMargin>
<PageHeight>8.5in</PageHeight>
</Report>
|