Zbiór zmian 236 dla trunk/RaportySQL

Pokaż
Ignoruj:
Data:
2009-01-25 17:54:44 (17 years ago)
Autor:
dorota
Opis:

fixes #17 - dodana kolumna FV, ktora wskazuje czy wartosc emisji byla zafakturowana w 2009, czy tez wylioczona na podstawie danych z 2008

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/RaportySQL/ListaReklamNaWydanieNr.rdl

    r196 r236  
    194194          <rd:TypeName>System.Decimal</rd:TypeName> 
    195195        </Field> 
     196        <Field Name="zafakturowana"> 
     197          <DataField>zafakturowana</DataField> 
     198          <rd:TypeName>System.Boolean</rd:TypeName> 
     199        </Field> 
    196200      </Fields> 
    197201      <Query> 
     
    200204                      [UKAÅ»E SIĘ W NR].[Nr Wydania] AS NR, R.[ZATWIERDZONO DO DRUKU], R.GRZBIET, REKLAMA_STRONA.STRONA, A.Symbol AS agencja,  
    201205                      R.[SYMBOL AKWIZYTORA], R.KROTNOŚĆ, R.NETTO, G.Nazwa AS nazwaGrzbietu, A2.ID_AGENTA, R.[CENA JEDN], R.[RABAT WARTOŚĆ],  
    202                       [UKAÅ»E SIĘ W NR].netto AS nettoZEmisji 
     206                      [UKAÅ»E SIĘ W NR].netto AS nettoZEmisji,  [UKAÅ»E SIĘ W NR].zafakturowana 
    203207FROM         AGENCI AS A2 LEFT OUTER JOIN 
    204208                      AGENCJE AS A ON A.Id_agencji = A2.ID_AGENCJI INNER JOIN 
     
    336340  </DataSets> 
    337341  <Code /> 
    338   <Width>20.47646cm</Width> 
     342  <Width>20.02646cm</Width> 
    339343  <Body> 
    340344    <ColumnSpacing>1cm</ColumnSpacing> 
     
    428432                        <Language>pl-PL</Language> 
    429433                      </Style> 
    430                       <ZIndex>12</ZIndex> 
     434                      <ZIndex>13</ZIndex> 
    431435                      <CanGrow>true</CanGrow> 
    432436                      <Value>=Left(Fields!agencja.Value,10)</Value> 
     
    458462                        <Language>pl-PL</Language> 
    459463                      </Style> 
    460                       <ZIndex>11</ZIndex> 
     464                      <ZIndex>12</ZIndex> 
    461465                      <CanGrow>true</CanGrow> 
    462466                      <Value>=Fields!ID_REKLAMY.Value</Value> 
     
    488492                        <Language>pl-PL</Language> 
    489493                      </Style> 
    490                       <ZIndex>10</ZIndex> 
     494                      <ZIndex>11</ZIndex> 
    491495                      <CanGrow>true</CanGrow> 
    492496                      <Value>=Fields!SZER.Value</Value> 
     
    518522                        <Language>pl-PL</Language> 
    519523                      </Style> 
    520                       <ZIndex>9</ZIndex> 
     524                      <ZIndex>10</ZIndex> 
    521525                      <CanGrow>true</CanGrow> 
    522526                      <Value>=Fields!WYS.Value</Value> 
     
    547551                        <Language>pl-PL</Language> 
    548552                      </Style> 
    549                       <ZIndex>8</ZIndex> 
     553                      <ZIndex>9</ZIndex> 
    550554                      <CanGrow>true</CanGrow> 
    551555                      <Value>=Fields!MOD_TYP.Value</Value> 
     
    576580                        <Language>pl-PL</Language> 
    577581                      </Style> 
    578                       <ZIndex>7</ZIndex> 
     582                      <ZIndex>8</ZIndex> 
    579583                      <CanGrow>true</CanGrow> 
    580584                      <Value>=Fields!KOLOR.Value</Value> 
     
    604608                        <Language>pl-PL</Language> 
    605609                      </Style> 
    606                       <ZIndex>6</ZIndex> 
     610                      <ZIndex>7</ZIndex> 
    607611                      <CanGrow>true</CanGrow> 
    608612                      <Value>=Left(Fields!NICK_NAME.Value,15)</Value> 
     
    632636                        <Language>pl-PL</Language> 
    633637                      </Style> 
    634                       <ZIndex>5</ZIndex> 
     638                      <ZIndex>6</ZIndex> 
    635639                      <CanGrow>true</CanGrow> 
    636640                      <Value>=Fields!lokalizacja.Value</Value> 
     
    662666                        <Language>pl-PL</Language> 
    663667                      </Style> 
    664                       <ZIndex>4</ZIndex> 
     668                      <ZIndex>5</ZIndex> 
    665669                      <CanGrow>true</CanGrow> 
    666670                      <Value>=Fields!RABAT.Value</Value> 
     
    692696                        <Language>pl</Language> 
    693697                      </Style> 
    694                       <ZIndex>3</ZIndex> 
     698                      <ZIndex>4</ZIndex> 
    695699                      <CanGrow>true</CanGrow> 
    696700                      <Value>=iif(Fields!KROTNOŚĆ.Value&lt;&gt;0,Fields!NETTO.Value/Fields!KROTNOŚĆ.Value,"NAN")</Value> 
     
    722726                        <Language>pl</Language> 
    723727                      </Style> 
     728                      <ZIndex>3</ZIndex> 
     729                      <CanGrow>true</CanGrow> 
     730                      <Value>=Fields!nettoZEmisji.Value</Value> 
     731                    </Textbox> 
     732                  </ReportItems> 
     733                </TableCell> 
     734                <TableCell> 
     735                  <ReportItems> 
     736                    <Textbox Name="textbox18"> 
     737                      <rd:DefaultName>textbox18</rd:DefaultName> 
     738                      <Style> 
     739                        <BorderColor> 
     740                          <Default>LightGrey</Default> 
     741                        </BorderColor> 
     742                        <BorderStyle> 
     743                          <Default>Solid</Default> 
     744                        </BorderStyle> 
     745                        <BorderWidth> 
     746                          <Default>0.5pt</Default> 
     747                        </BorderWidth> 
     748                        <FontSize>7pt</FontSize> 
     749                        <FontWeight>700</FontWeight> 
     750                        <TextAlign>Center</TextAlign> 
     751                        <VerticalAlign>Middle</VerticalAlign> 
     752                        <PaddingLeft>2pt</PaddingLeft> 
     753                        <PaddingRight>2pt</PaddingRight> 
     754                        <PaddingTop>2pt</PaddingTop> 
     755                        <PaddingBottom>2pt</PaddingBottom> 
     756                      </Style> 
    724757                      <ZIndex>2</ZIndex> 
    725758                      <CanGrow>true</CanGrow> 
    726                       <Value>=Fields!nettoZEmisji.Value</Value> 
     759                      <Value>=iif(Fields!zafakturowana.Value = true,1,"")</Value> 
    727760                    </Textbox> 
    728761                  </ReportItems> 
     
    832865                        <Language>pl-PL</Language> 
    833866                      </Style> 
    834                       <ZIndex>28</ZIndex> 
     867                      <ZIndex>30</ZIndex> 
    835868                      <CanGrow>true</CanGrow> 
    836869                      <Value>=Count(Fields!ReklamaID.Value) &amp; " REK" &amp; "          " &amp; Sum(Fields!WYS.Value*Fields!SZER.Value) &amp; " MOD" &amp; "          " &amp; Round(Sum(Fields!WYS.Value*Fields!SZER.Value)/64) &amp; " stron"</Value> 
     
    868901                        <Language>pl</Language> 
    869902                      </Style> 
    870                       <ZIndex>27</ZIndex> 
     903                      <ZIndex>29</ZIndex> 
    871904                      <CanGrow>true</CanGrow> 
    872905                      <Value>=Sum(Fields!CENA_JEDN.Value) - Sum(Fields!RABAT_WARTOŚĆ.Value)</Value> 
     
    875908                </TableCell> 
    876909                <TableCell> 
    877                   <ColSpan>4</ColSpan> 
     910                  <ColSpan>5</ColSpan> 
    878911                  <ReportItems> 
    879912                    <Textbox Name="textbox15"> 
     
    904937                        <Language>pl</Language> 
    905938                      </Style> 
    906                       <ZIndex>26</ZIndex> 
     939                      <ZIndex>28</ZIndex> 
    907940                      <CanGrow>true</CanGrow> 
    908941                      <Value>=Sum(Fields!nettoZEmisji.Value)</Value> 
     
    940973                        <Language>pl-PL</Language> 
    941974                      </Style> 
    942                       <ZIndex>25</ZIndex> 
     975                      <ZIndex>27</ZIndex> 
    943976                      <CanGrow>true</CanGrow> 
    944977                      <Value>Agencja</Value> 
     
    9711004                        <Language>pl-PL</Language> 
    9721005                      </Style> 
    973                       <ZIndex>24</ZIndex> 
     1006                      <ZIndex>26</ZIndex> 
    9741007                      <CanGrow>true</CanGrow> 
    9751008                      <Value>Symbol </Value> 
     
    10021035                        <Language>pl-PL</Language> 
    10031036                      </Style> 
    1004                       <ZIndex>23</ZIndex> 
     1037                      <ZIndex>25</ZIndex> 
    10051038                      <CanGrow>true</CanGrow> 
    10061039                      <Value>S</Value> 
     
    10331066                        <Language>pl-PL</Language> 
    10341067                      </Style> 
    1035                       <ZIndex>22</ZIndex> 
     1068                      <ZIndex>24</ZIndex> 
    10361069                      <CanGrow>true</CanGrow> 
    10371070                      <Value>W</Value> 
     
    10641097                        <Language>pl-PL</Language> 
    10651098                      </Style> 
    1066                       <ZIndex>21</ZIndex> 
     1099                      <ZIndex>23</ZIndex> 
    10671100                      <CanGrow>true</CanGrow> 
    10681101                      <Value>Moduł</Value> 
     
    10951128                        <Language>pl-PL</Language> 
    10961129                      </Style> 
    1097                       <ZIndex>20</ZIndex> 
     1130                      <ZIndex>22</ZIndex> 
    10981131                      <CanGrow>true</CanGrow> 
    10991132                      <Value>KOLOR</Value> 
     
    11261159                        <Language>pl-PL</Language> 
    11271160                      </Style> 
    1128                       <ZIndex>19</ZIndex> 
     1161                      <ZIndex>21</ZIndex> 
    11291162                      <CanGrow>true</CanGrow> 
    11301163                      <Value>Klient</Value> 
     
    11571190                        <Language>pl-PL</Language> 
    11581191                      </Style> 
    1159                       <ZIndex>18</ZIndex> 
     1192                      <ZIndex>20</ZIndex> 
    11601193                      <CanGrow>true</CanGrow> 
    11611194                      <Value>Lokalizacja</Value> 
     
    11881221                        <Language>pl-PL</Language> 
    11891222                      </Style> 
    1190                       <ZIndex>17</ZIndex> 
     1223                      <ZIndex>19</ZIndex> 
    11911224                      <CanGrow>true</CanGrow> 
    11921225                      <Value>Rabat</Value> 
     
    12181251                        <PaddingBottom>2pt</PaddingBottom> 
    12191252                      </Style> 
    1220                       <ZIndex>16</ZIndex> 
     1253                      <ZIndex>18</ZIndex> 
    12211254                      <CanGrow>true</CanGrow> 
    12221255                      <Value>CJ</Value> 
     
    12481281                        <PaddingBottom>2pt</PaddingBottom> 
    12491282                      </Style> 
    1250                       <ZIndex>15</ZIndex> 
     1283                      <ZIndex>17</ZIndex> 
    12511284                      <CanGrow>true</CanGrow> 
    12521285                      <Value>Netto z emisji</Value> 
     1286                    </Textbox> 
     1287                  </ReportItems> 
     1288                </TableCell> 
     1289                <TableCell> 
     1290                  <ReportItems> 
     1291                    <Textbox Name="textbox14"> 
     1292                      <rd:DefaultName>textbox14</rd:DefaultName> 
     1293                      <Style> 
     1294                        <BackgroundColor>WhiteSmoke</BackgroundColor> 
     1295                        <BorderColor> 
     1296                          <Default>LightGrey</Default> 
     1297                        </BorderColor> 
     1298                        <BorderStyle> 
     1299                          <Default>Solid</Default> 
     1300                        </BorderStyle> 
     1301                        <BorderWidth> 
     1302                          <Default>0.5pt</Default> 
     1303                        </BorderWidth> 
     1304                        <FontSize>7pt</FontSize> 
     1305                        <FontWeight>700</FontWeight> 
     1306                        <TextAlign>Center</TextAlign> 
     1307                        <VerticalAlign>Middle</VerticalAlign> 
     1308                        <PaddingLeft>2pt</PaddingLeft> 
     1309                        <PaddingRight>2pt</PaddingRight> 
     1310                        <PaddingTop>2pt</PaddingTop> 
     1311                        <PaddingBottom>2pt</PaddingBottom> 
     1312                      </Style> 
     1313                      <ZIndex>16</ZIndex> 
     1314                      <CanGrow>true</CanGrow> 
     1315                      <Value>FV</Value> 
    12531316                    </Textbox> 
    12541317                  </ReportItems> 
     
    12791342                        <Language>pl-PL</Language> 
    12801343                      </Style> 
    1281                       <ZIndex>14</ZIndex> 
     1344                      <ZIndex>15</ZIndex> 
    12821345                      <CanGrow>true</CanGrow> 
    12831346                      <Value>Str</Value> 
     
    13101373                        <Language>pl-PL</Language> 
    13111374                      </Style> 
    1312                       <ZIndex>13</ZIndex> 
     1375                      <ZIndex>14</ZIndex> 
    13131376                      <CanGrow>true</CanGrow> 
    13141377                      <Value>Grzbiet</Value> 
     
    13441407          </TableColumn> 
    13451408          <TableColumn> 
    1346             <Width>4.05cm</Width> 
     1409            <Width>3cm</Width> 
    13471410          </TableColumn> 
    13481411          <TableColumn> 
     
    13541417          <TableColumn> 
    13551418            <Width>1.5cm</Width> 
     1419          </TableColumn> 
     1420          <TableColumn> 
     1421            <Width>0.6cm</Width> 
    13561422          </TableColumn> 
    13571423          <TableColumn>