| 1 | <?xml version="1.0" encoding="utf-8"?>
|
|---|
| 2 | <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
|---|
| 3 | <DataSources>
|
|---|
| 4 | <DataSource Name="BAZA_REKLAM">
|
|---|
| 5 | <rd:DataSourceID>d5cd74ea-0203-4897-b23b-608b6e7c9ee7</rd:DataSourceID>
|
|---|
| 6 | <DataSourceReference>BAZA_REKLAM</DataSourceReference>
|
|---|
| 7 | </DataSource>
|
|---|
| 8 | </DataSources>
|
|---|
| 9 | <InteractiveHeight>29.7cm</InteractiveHeight>
|
|---|
| 10 | <rd:DrawGrid>true</rd:DrawGrid>
|
|---|
| 11 | <InteractiveWidth>21cm</InteractiveWidth>
|
|---|
| 12 | <rd:GridSpacing>0.25cm</rd:GridSpacing>
|
|---|
| 13 | <rd:SnapToGrid>true</rd:SnapToGrid>
|
|---|
| 14 | <RightMargin>1cm</RightMargin>
|
|---|
| 15 | <LeftMargin>1cm</LeftMargin>
|
|---|
| 16 | <BottomMargin>2.5cm</BottomMargin>
|
|---|
| 17 | <rd:ReportID>b9375294-f8e7-4520-8f81-374698915f18</rd:ReportID>
|
|---|
| 18 | <PageWidth>21cm</PageWidth>
|
|---|
| 19 | <DataSets>
|
|---|
| 20 | <DataSet Name="RankingAgentow">
|
|---|
| 21 | <Fields>
|
|---|
| 22 | <Field Name="symbol">
|
|---|
| 23 | <DataField>symbol</DataField>
|
|---|
| 24 | <rd:TypeName>System.String</rd:TypeName>
|
|---|
| 25 | </Field>
|
|---|
| 26 | <Field Name="WARTOSC">
|
|---|
| 27 | <DataField>WARTOSC</DataField>
|
|---|
| 28 | <rd:TypeName>System.Decimal</rd:TypeName>
|
|---|
| 29 | </Field>
|
|---|
| 30 | <Field Name="ILOSC">
|
|---|
| 31 | <DataField>ILOSC</DataField>
|
|---|
| 32 | <rd:TypeName>System.Int32</rd:TypeName>
|
|---|
| 33 | </Field>
|
|---|
| 34 | <Field Name="srednio">
|
|---|
| 35 | <DataField>srednio</DataField>
|
|---|
| 36 | <rd:TypeName>System.Decimal</rd:TypeName>
|
|---|
| 37 | </Field>
|
|---|
| 38 | </Fields>
|
|---|
| 39 | <Query>
|
|---|
| 40 | <DataSourceName>BAZA_REKLAM</DataSourceName>
|
|---|
| 41 | <CommandText>SELECT A.symbol,
|
|---|
| 42 | CONVERT(money, SUM(FD.NETTO)) AS WARTOSC,
|
|---|
| 43 | COUNT(distinct FD.id_faktury) AS ILOSC,
|
|---|
| 44 | CONVERT(money, SUM(FD.NETTO)) / COUNT(distinct FD.id_faktury) AS srednio
|
|---|
| 45 | FROM dbo.FAKTURY F left join
|
|---|
| 46 | FAKTURA_DETAILS FD on F.id_faktury = FD.id_faktury left join
|
|---|
| 47 | AGENCI A on F.numer_roz = A.f_roz
|
|---|
| 48 | WHERE F.numer_rok >=2009 and zaplata_data is not null
|
|---|
| 49 | GROUP BY A.[symbol]
|
|---|
| 50 | order by 2 desc</CommandText>
|
|---|
| 51 | <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
|
|---|
| 52 | </Query>
|
|---|
| 53 | </DataSet>
|
|---|
| 54 | </DataSets>
|
|---|
| 55 | <Code />
|
|---|
| 56 | <Width>19cm</Width>
|
|---|
| 57 | <Body>
|
|---|
| 58 | <ColumnSpacing>1cm</ColumnSpacing>
|
|---|
| 59 | <ReportItems>
|
|---|
| 60 | <Textbox Name="textbox6">
|
|---|
| 61 | <rd:DefaultName>textbox6</rd:DefaultName>
|
|---|
| 62 | <Top>1cm</Top>
|
|---|
| 63 | <Width>18cm</Width>
|
|---|
| 64 | <Style>
|
|---|
| 65 | <Color>Red</Color>
|
|---|
| 66 | <FontWeight>700</FontWeight>
|
|---|
| 67 | <TextAlign>Center</TextAlign>
|
|---|
| 68 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 69 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 70 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 71 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 72 | </Style>
|
|---|
| 73 | <ZIndex>2</ZIndex>
|
|---|
| 74 | <CanGrow>true</CanGrow>
|
|---|
| 75 | <Left>0.5cm</Left>
|
|---|
| 76 | <Height>0.63492cm</Height>
|
|---|
| 77 | <Value>Ranking na podstawie zapÅaconych faktur od 2009 (nie uwzglÄdnia korekt).</Value>
|
|---|
| 78 | </Textbox>
|
|---|
| 79 | <Textbox Name="textbox5">
|
|---|
| 80 | <Top>0.25cm</Top>
|
|---|
| 81 | <Width>18cm</Width>
|
|---|
| 82 | <Style>
|
|---|
| 83 | <FontSize>12pt</FontSize>
|
|---|
| 84 | <FontWeight>700</FontWeight>
|
|---|
| 85 | <TextAlign>Center</TextAlign>
|
|---|
| 86 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 87 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 88 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 89 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 90 | </Style>
|
|---|
| 91 | <ZIndex>1</ZIndex>
|
|---|
| 92 | <CanGrow>true</CanGrow>
|
|---|
| 93 | <Left>0.5cm</Left>
|
|---|
| 94 | <Height>0.63492cm</Height>
|
|---|
| 95 | <Value>RANKING AGENTÃW</Value>
|
|---|
| 96 | </Textbox>
|
|---|
| 97 | <Table Name="table1">
|
|---|
| 98 | <DataSetName>RankingAgentow</DataSetName>
|
|---|
| 99 | <Top>2cm</Top>
|
|---|
| 100 | <Width>18cm</Width>
|
|---|
| 101 | <Details>
|
|---|
| 102 | <TableRows>
|
|---|
| 103 | <TableRow>
|
|---|
| 104 | <TableCells>
|
|---|
| 105 | <TableCell>
|
|---|
| 106 | <ReportItems>
|
|---|
| 107 | <Textbox Name="SYMBOL_AKWIZYTORA">
|
|---|
| 108 | <rd:DefaultName>SYMBOL_AKWIZYTORA</rd:DefaultName>
|
|---|
| 109 | <Style>
|
|---|
| 110 | <BorderColor>
|
|---|
| 111 | <Default>LightGrey</Default>
|
|---|
| 112 | </BorderColor>
|
|---|
| 113 | <BorderStyle>
|
|---|
| 114 | <Default>Solid</Default>
|
|---|
| 115 | </BorderStyle>
|
|---|
| 116 | <BorderWidth>
|
|---|
| 117 | <Default>0.5pt</Default>
|
|---|
| 118 | </BorderWidth>
|
|---|
| 119 | <TextAlign>Center</TextAlign>
|
|---|
| 120 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 121 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 122 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 123 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 124 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 125 | </Style>
|
|---|
| 126 | <ZIndex>3</ZIndex>
|
|---|
| 127 | <CanGrow>true</CanGrow>
|
|---|
| 128 | <Value>=Fields!symbol.Value</Value>
|
|---|
| 129 | </Textbox>
|
|---|
| 130 | </ReportItems>
|
|---|
| 131 | </TableCell>
|
|---|
| 132 | <TableCell>
|
|---|
| 133 | <ReportItems>
|
|---|
| 134 | <Textbox Name="WARTOSC">
|
|---|
| 135 | <rd:DefaultName>WARTOSC</rd:DefaultName>
|
|---|
| 136 | <Style>
|
|---|
| 137 | <BorderColor>
|
|---|
| 138 | <Default>LightGrey</Default>
|
|---|
| 139 | </BorderColor>
|
|---|
| 140 | <BorderStyle>
|
|---|
| 141 | <Default>Solid</Default>
|
|---|
| 142 | </BorderStyle>
|
|---|
| 143 | <BorderWidth>
|
|---|
| 144 | <Default>0.5pt</Default>
|
|---|
| 145 | </BorderWidth>
|
|---|
| 146 | <Format>C</Format>
|
|---|
| 147 | <TextAlign>Center</TextAlign>
|
|---|
| 148 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 149 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 150 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 151 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 152 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 153 | <Language>pl</Language>
|
|---|
| 154 | </Style>
|
|---|
| 155 | <ZIndex>2</ZIndex>
|
|---|
| 156 | <CanGrow>true</CanGrow>
|
|---|
| 157 | <Value>=Fields!WARTOSC.Value</Value>
|
|---|
| 158 | </Textbox>
|
|---|
| 159 | </ReportItems>
|
|---|
| 160 | </TableCell>
|
|---|
| 161 | <TableCell>
|
|---|
| 162 | <ReportItems>
|
|---|
| 163 | <Textbox Name="ILOSC">
|
|---|
| 164 | <rd:DefaultName>ILOSC</rd:DefaultName>
|
|---|
| 165 | <Style>
|
|---|
| 166 | <BorderColor>
|
|---|
| 167 | <Default>LightGrey</Default>
|
|---|
| 168 | </BorderColor>
|
|---|
| 169 | <BorderStyle>
|
|---|
| 170 | <Default>Solid</Default>
|
|---|
| 171 | </BorderStyle>
|
|---|
| 172 | <BorderWidth>
|
|---|
| 173 | <Default>0.5pt</Default>
|
|---|
| 174 | </BorderWidth>
|
|---|
| 175 | <TextAlign>Center</TextAlign>
|
|---|
| 176 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 177 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 178 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 179 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 180 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 181 | </Style>
|
|---|
| 182 | <ZIndex>1</ZIndex>
|
|---|
| 183 | <CanGrow>true</CanGrow>
|
|---|
| 184 | <Value>=Fields!ILOSC.Value</Value>
|
|---|
| 185 | </Textbox>
|
|---|
| 186 | </ReportItems>
|
|---|
| 187 | </TableCell>
|
|---|
| 188 | <TableCell>
|
|---|
| 189 | <ReportItems>
|
|---|
| 190 | <Textbox Name="srednio">
|
|---|
| 191 | <rd:DefaultName>srednio</rd:DefaultName>
|
|---|
| 192 | <Style>
|
|---|
| 193 | <BorderColor>
|
|---|
| 194 | <Default>LightGrey</Default>
|
|---|
| 195 | </BorderColor>
|
|---|
| 196 | <BorderStyle>
|
|---|
| 197 | <Default>Solid</Default>
|
|---|
| 198 | </BorderStyle>
|
|---|
| 199 | <BorderWidth>
|
|---|
| 200 | <Default>0.5pt</Default>
|
|---|
| 201 | </BorderWidth>
|
|---|
| 202 | <Format>C</Format>
|
|---|
| 203 | <TextAlign>Center</TextAlign>
|
|---|
| 204 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 205 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 206 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 207 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 208 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 209 | <Language>pl</Language>
|
|---|
| 210 | </Style>
|
|---|
| 211 | <CanGrow>true</CanGrow>
|
|---|
| 212 | <Value>=Fields!srednio.Value</Value>
|
|---|
| 213 | </Textbox>
|
|---|
| 214 | </ReportItems>
|
|---|
| 215 | </TableCell>
|
|---|
| 216 | </TableCells>
|
|---|
| 217 | <Height>0.75cm</Height>
|
|---|
| 218 | </TableRow>
|
|---|
| 219 | </TableRows>
|
|---|
| 220 | </Details>
|
|---|
| 221 | <Header>
|
|---|
| 222 | <TableRows>
|
|---|
| 223 | <TableRow>
|
|---|
| 224 | <TableCells>
|
|---|
| 225 | <TableCell>
|
|---|
| 226 | <ReportItems>
|
|---|
| 227 | <Textbox Name="textbox1">
|
|---|
| 228 | <rd:DefaultName>textbox1</rd:DefaultName>
|
|---|
| 229 | <Style>
|
|---|
| 230 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 231 | <BorderColor>
|
|---|
| 232 | <Default>LightGrey</Default>
|
|---|
| 233 | </BorderColor>
|
|---|
| 234 | <BorderStyle>
|
|---|
| 235 | <Default>Solid</Default>
|
|---|
| 236 | </BorderStyle>
|
|---|
| 237 | <BorderWidth>
|
|---|
| 238 | <Default>0.5pt</Default>
|
|---|
| 239 | </BorderWidth>
|
|---|
| 240 | <FontWeight>700</FontWeight>
|
|---|
| 241 | <TextAlign>Center</TextAlign>
|
|---|
| 242 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 243 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 244 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 245 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 246 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 247 | </Style>
|
|---|
| 248 | <ZIndex>7</ZIndex>
|
|---|
| 249 | <CanGrow>true</CanGrow>
|
|---|
| 250 | <Value>Agent</Value>
|
|---|
| 251 | </Textbox>
|
|---|
| 252 | </ReportItems>
|
|---|
| 253 | </TableCell>
|
|---|
| 254 | <TableCell>
|
|---|
| 255 | <ReportItems>
|
|---|
| 256 | <Textbox Name="textbox2">
|
|---|
| 257 | <rd:DefaultName>textbox2</rd:DefaultName>
|
|---|
| 258 | <Style>
|
|---|
| 259 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 260 | <BorderColor>
|
|---|
| 261 | <Default>LightGrey</Default>
|
|---|
| 262 | </BorderColor>
|
|---|
| 263 | <BorderStyle>
|
|---|
| 264 | <Default>Solid</Default>
|
|---|
| 265 | </BorderStyle>
|
|---|
| 266 | <BorderWidth>
|
|---|
| 267 | <Default>0.5pt</Default>
|
|---|
| 268 | </BorderWidth>
|
|---|
| 269 | <FontWeight>700</FontWeight>
|
|---|
| 270 | <TextAlign>Center</TextAlign>
|
|---|
| 271 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 272 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 273 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 274 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 275 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 276 | </Style>
|
|---|
| 277 | <ZIndex>6</ZIndex>
|
|---|
| 278 | <CanGrow>true</CanGrow>
|
|---|
| 279 | <Value>WartoÅÄ</Value>
|
|---|
| 280 | </Textbox>
|
|---|
| 281 | </ReportItems>
|
|---|
| 282 | </TableCell>
|
|---|
| 283 | <TableCell>
|
|---|
| 284 | <ReportItems>
|
|---|
| 285 | <Textbox Name="textbox3">
|
|---|
| 286 | <rd:DefaultName>textbox3</rd:DefaultName>
|
|---|
| 287 | <Style>
|
|---|
| 288 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 289 | <BorderColor>
|
|---|
| 290 | <Default>LightGrey</Default>
|
|---|
| 291 | </BorderColor>
|
|---|
| 292 | <BorderStyle>
|
|---|
| 293 | <Default>Solid</Default>
|
|---|
| 294 | </BorderStyle>
|
|---|
| 295 | <BorderWidth>
|
|---|
| 296 | <Default>0.5pt</Default>
|
|---|
| 297 | </BorderWidth>
|
|---|
| 298 | <FontWeight>700</FontWeight>
|
|---|
| 299 | <TextAlign>Center</TextAlign>
|
|---|
| 300 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 301 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 302 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 303 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 304 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 305 | </Style>
|
|---|
| 306 | <ZIndex>5</ZIndex>
|
|---|
| 307 | <CanGrow>true</CanGrow>
|
|---|
| 308 | <Value>IloÅÄ</Value>
|
|---|
| 309 | </Textbox>
|
|---|
| 310 | </ReportItems>
|
|---|
| 311 | </TableCell>
|
|---|
| 312 | <TableCell>
|
|---|
| 313 | <ReportItems>
|
|---|
| 314 | <Textbox Name="textbox4">
|
|---|
| 315 | <rd:DefaultName>textbox4</rd:DefaultName>
|
|---|
| 316 | <Style>
|
|---|
| 317 | <BackgroundColor>WhiteSmoke</BackgroundColor>
|
|---|
| 318 | <BorderColor>
|
|---|
| 319 | <Default>LightGrey</Default>
|
|---|
| 320 | </BorderColor>
|
|---|
| 321 | <BorderStyle>
|
|---|
| 322 | <Default>Solid</Default>
|
|---|
| 323 | </BorderStyle>
|
|---|
| 324 | <BorderWidth>
|
|---|
| 325 | <Default>0.5pt</Default>
|
|---|
| 326 | </BorderWidth>
|
|---|
| 327 | <FontWeight>700</FontWeight>
|
|---|
| 328 | <TextAlign>Center</TextAlign>
|
|---|
| 329 | <VerticalAlign>Middle</VerticalAlign>
|
|---|
| 330 | <PaddingLeft>2pt</PaddingLeft>
|
|---|
| 331 | <PaddingRight>2pt</PaddingRight>
|
|---|
| 332 | <PaddingTop>2pt</PaddingTop>
|
|---|
| 333 | <PaddingBottom>2pt</PaddingBottom>
|
|---|
| 334 | </Style>
|
|---|
| 335 | <ZIndex>4</ZIndex>
|
|---|
| 336 | <CanGrow>true</CanGrow>
|
|---|
| 337 | <Value>Årednio</Value>
|
|---|
| 338 | </Textbox>
|
|---|
| 339 | </ReportItems>
|
|---|
| 340 | </TableCell>
|
|---|
| 341 | </TableCells>
|
|---|
| 342 | <Height>0.75cm</Height>
|
|---|
| 343 | </TableRow>
|
|---|
| 344 | </TableRows>
|
|---|
| 345 | </Header>
|
|---|
| 346 | <TableColumns>
|
|---|
| 347 | <TableColumn>
|
|---|
| 348 | <Width>5.25cm</Width>
|
|---|
| 349 | </TableColumn>
|
|---|
| 350 | <TableColumn>
|
|---|
| 351 | <Width>5cm</Width>
|
|---|
| 352 | </TableColumn>
|
|---|
| 353 | <TableColumn>
|
|---|
| 354 | <Width>3.25cm</Width>
|
|---|
| 355 | </TableColumn>
|
|---|
| 356 | <TableColumn>
|
|---|
| 357 | <Width>4.5cm</Width>
|
|---|
| 358 | </TableColumn>
|
|---|
| 359 | </TableColumns>
|
|---|
| 360 | <Left>0.5cm</Left>
|
|---|
| 361 | </Table>
|
|---|
| 362 | </ReportItems>
|
|---|
| 363 | <Height>3.5cm</Height>
|
|---|
| 364 | </Body>
|
|---|
| 365 | <Language>en-US</Language>
|
|---|
| 366 | <TopMargin>2.5cm</TopMargin>
|
|---|
| 367 | <PageHeight>29.7cm</PageHeight>
|
|---|
| 368 | </Report> |
|---|