<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="5.4.6" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Varsayılan" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="42822.8867793866" ReportOptions.Description.Text="" ReportOptions.LastChange="42822.9393781829" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="Baslik" DataSetName="Başlık"/>
    <item DataSet="satis" DataSetName="Satışlar"/>
  </Datasets>
  <Variables>
    <item Name="DEPO" Value="3"/>
    <item Name="KASA" Value="2"/>
    <item Name="PERSONEL" Value="1"/>
    <item Name="BANKA" Value="1"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxFDQuery Name="Baslik" UserName="Başlık" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="Declare @Depo Int, @Personel Int, @Kasa Int, @Banka Int                          &#13;&#10;&#13;&#10;Set @Depo = :DEPO           &#13;&#10;Set @Personel = :PERSONEL                   &#13;&#10;Set @Kasa = :KASA           &#13;&#10;Set @Banka = :Banka                &#13;&#10; &#13;&#10;SELECT &#13;&#10;  D.KOD AS DEPOKOD, D.ACIKLAMA AS DEPOACIKLAMA,&#13;&#10;  B.BANKAKODU, B.BANKAADI,&#13;&#10;  K.KASAADI, K.ACIKLAMA AS KASAACIKLAMA,&#13;&#10;  AD + ' ' + SOYAD AS PERSONEL&#13;&#10;From TBLDEPOLAR D, TBLPERSONEL P, TBLBANKALAR B, TBLKASALAR K&#13;&#10;WHERE D.KARTNO = @Depo AND P.KARTNO = @Personel AND B.KARTNO = @Banka AND K.ID = @Kasa&#13;&#10;  &#13;&#10;    " PropData=" "/>
    <TfrxFDQuery Name="satis" UserName="Satışlar" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" Master="Baslik" IgnoreDupParams="False" SQL.Text="Set DateFormat DMY &#13;&#10;Declare @Tarih DateTime, @Depo Int, @Personel Int, @Kasa Int&#13;&#10;&#13;&#10;Set @Depo = :DEPO           &#13;&#10;Set @Personel = :PER                            &#13;&#10;&#13;&#10;Set @Tarih = GETDATE()&#13;&#10;&#13;&#10;SELECT &#13;&#10;  STOKID, STOKKODU, CINSI, SUM(MIKTARI) AS MIKTARI, BIRIMADI FROM(&#13;&#10;Select &#13;&#10;  H.STOKID, SUM(MIKTARI) AS MIKTARI, BIRIMADI&#13;&#10;from TBLSATFATBASLIK B &#13;&#10;LEFT OUTER JOIN TBLSATFATHAREKET H WITH(INDEX=TBLSATFATHAREKET_FATURAID) ON H.FATURAID = B.KARTNO&#13;&#10;LEFT OUTER JOIN TBLBIRIMLEREX BX WITH(INDEX=TBLBIRIMLEREX_KARTNO) ON BX.KARTNO = H.BIRIMID&#13;&#10;WHERE ISNULL(B.DELETED, 0) = 0 AND B.DEPOID = @Depo AND PERSONELID = @Personel AND CONVERT(VARCHAR, TARIH, 104) = CONVERT(VARCHAR, @Tarih, 104) &#13;&#10;GROUP BY H.STOKID, BX.BIRIMADI&#13;&#10;UNION ALL&#13;&#10;Select &#13;&#10;  H.STOKID, SUM(MIKTARI), BIRIMADI&#13;&#10;from TBLSATIRSBASLIK B &#13;&#10;LEFT OUTER JOIN TBLSATIRSHAREKET H WITH(INDEX=TBLSATIRSHAREKET_FATURAID) ON H.FATURAID = B.KARTNO&#13;&#10;LEFT OUTER JOIN TBLBIRIMLEREX BX WITH(INDEX=TBLBIRIMLEREX_KARTNO) ON BX.KARTNO = H.BIRIMID&#13;&#10;WHERE ISNULL(B.DELETED, 0) = 0 AND ISNULL(B.FATURALASTI, 0) = 0 AND B.DEPOID = @Depo AND PERSONELID = @Personel AND CONVERT(VARCHAR, TARIH, 104) = CONVERT(VARCHAR, @Tarih, 104)&#13;&#10;GROUP BY H.STOKID, BX.BIRIMADI&#13;&#10;) AS A&#13;&#10;LEFT OUTER JOIN TBLSTOKLAR S WITH(INDEX=TBLSTOKLAR_KARTNO) ON S.KARTNO = A.STOKID&#13;&#10;GROUP BY A.STOKID, A.BIRIMADI, S.STOKKODU, S.CINSI&#13;&#10;ORDER BY MIKTARI DESC              " PropData="05704C656674038C000470546F7003C4000A506172616D65746572730101063D204E616D653D224445504F222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B4445504F262336323B2200010640204E616D653D22504552222044617461547970653D226674496E7465676572222045787072657373696F6E3D22262336303B504552534F4E454C262336323B220000"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="68.03154" Left="0" Top="472.44125" Width="718.1107">
      <TfrxLineView Name="Line3" Left="7.55906" Top="11.33859" Width="699.21305" Height="0" Color="0" Frame.Typ="4"/>
      <TfrxMemoView Name="Memo10" Left="3.77953" Top="15.11812" Width="498.89796" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Date] Tarihinde PARADOKS (http://www.elibolyazilim.com) ile yazdırılmıştır."/>
      <TfrxMemoView Name="Memo11" Left="536.69326" Top="18.89765" Width="170.07885" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Sayfa : [Page] / [TotalPages#]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxPageFooter>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="139.84261" Left="0" Top="18.89765" Width="718.1107">
      <TfrxMemoView Name="Memo1" Left="15.11812" Top="11.33859" Width="680.3154" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="PARADOKS Ürün Satışları"/>
      <TfrxMemoView Name="Memo2" Left="521.57514" Top="45.35436" Width="173.85838" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[Date]"/>
      <TfrxMemoView Name="Memo3" Left="18.89765" Top="71.81107" Width="94.48825" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Personel : "/>
      <TfrxMemoView Name="Memo4" Left="18.89765" Top="95.82684" Width="94.48825" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Depo : "/>
      <TfrxMemoView Name="BalkPERSONEL" Left="117.16543" Top="71.81107" Width="400.63018" Height="18.89765" DataField="PERSONEL" DataSet="Baslik" DataSetName="Başlık" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Başlık.&#34;PERSONEL&#34;]"/>
      <TfrxMemoView Name="BalkDEPOACIKLAMA" Left="117.16543" Top="95.82684" Width="321.26005" Height="18.89765" DataField="DEPOACIKLAMA" DataSet="Baslik" DataSetName="Başlık" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Başlık.&#34;DEPOACIKLAMA&#34;]"/>
    </TfrxReportTitle>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="45.35436" Left="0" Top="181.41744" Width="718.1107">
      <TfrxMemoView Name="Memo6" Left="7.55906" Top="15.11812" Width="128.50402" Height="18.89765" DataSet="satis" DataSetName="Satışlar" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Stok Kodu"/>
      <TfrxMemoView Name="Memo7" Left="177.63791" Top="15.11812" Width="404.40971" Height="18.89765" DataSet="satis" DataSetName="Satışlar" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" ParentFont="False" Text="Cinsi"/>
      <TfrxMemoView Name="Memo8" Left="593.38621" Top="15.11812" Width="120.94496" Height="18.89765" DataSet="satis" DataSetName="Satışlar" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="Miktarı"/>
      <TfrxLineView Name="Line1" Left="4.55906" Top="38.01577" Width="702.99258" Height="0" Color="0" Frame.Typ="4"/>
    </TfrxPageHeader>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18.8976378" Left="0" Top="287.24428" Width="718.1107" ColumnWidth="0" ColumnGap="0" DataSet="satis" DataSetName="Satışlar" RowCount="0">
      <TfrxMemoView Name="SatlarSTOKKODU" Left="7.55906" Top="0" Width="128.50402" Height="18.89765" DataField="STOKKODU" DataSet="satis" DataSetName="Satışlar" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Satışlar.&#34;STOKKODU&#34;]"/>
      <TfrxMemoView Name="Memo5" Left="177.63791" Top="0" Width="404.40971" Height="18.89765" DataField="CINSI" DataSet="satis" DataSetName="Satışlar" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[Satışlar.&#34;CINSI&#34;]"/>
      <TfrxMemoView Name="SatlarMIKTARI" Left="593.38621" Top="0" Width="120.94496" Height="18.89765" DataSet="satis" DataSetName="Satışlar" DisplayFormat.FormatStr="#,#0.#0" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[Satışlar.&#34;MIKTARI&#34;] [Satışlar.&#34;BIRIMADI&#34;]"/>
    </TfrxMasterData>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="83.14966" Left="0" Top="366.61441" Width="718.1107">
      <TfrxMemoView Name="Memo9" Left="411.96877" Top="26.45671" Width="147.40167" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Çeşit Sayısı : "/>
      <TfrxMemoView Name="Memo12" Left="411.96877" Top="48.69295" Width="147.40167" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="Toplam Parça Sayısı: "/>
      <TfrxMemoView Name="Memo13" Left="608.50433" Top="26.45671" Width="98.26778" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[COUNT(MasterData1)]"/>
      <TfrxMemoView Name="Memo14" Left="608.50433" Top="48.69295" Width="98.26778" Height="18.89765" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[SUM(&#60;Satışlar.&#34;MIKTARI&#34;&#62;,MasterData1)]"/>
      <TfrxLineView Name="Line2" Left="415.7483" Top="11.33859" Width="294.80334" Height="0" Color="0" Frame.Typ="4"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
