<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : sql stok hareket</title>
  <link>http://www.erpne.org/</link>
  <description><![CDATA[XML içerik linki; ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : SQL Veri Taban&#305; &#304;&#351;lemleri : sql stok hareket]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:34:01 +0000</pubDate>
  <lastBuildDate>Tue, 09 Feb 2010 10:48:18 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.10</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.erpne.org/RSS_post_feed.asp?TID=1926</WebWizForums:feedURL>
  <image>
   <title><![CDATA[ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu]]></title>
   <url>http://www.erpne.org/forum_images/logotype.png</url>
   <link>http://www.erpne.org/</link>
  </image>
  <item>
   <title><![CDATA[sql stok hareket : Merhaba.d&#252;zeltmek isterim.sanirim...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10884.html#10884</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2100">yckn</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Şubat&nbsp;2010 Saat 10:48<br /><br />Merhaba.<br>düzeltmek isterim.sanirim birkac stok hareketinde A tipli çikis islemi yapilmis düzeltildi.<br>sunu da söylemek isterim hatayi bulmamiza ve düzeltmemize vesile oldu.<br>iyi çalismalar.<br>]]>
   </description>
   <pubDate>Tue, 09 Feb 2010 10:48:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10884.html#10884</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : A tipli &#231;ikis hareketimi varki...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10874.html#10874</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Şubat&nbsp;2010 Saat 09:44<br /><br /><P>A tipli çikis hareketimi varki <strong><FONT color=#66ccff size=2>a.STHAR_GCKOD='G'</FONT></strong><BR>eklediniz?</P><DIV>Iyi çalismalar.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Feb 2010 09:44:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10874.html#10874</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : select STOK_KODU, sum(sthar_gcmik)...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10865.html#10865</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2100">yckn</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Şubat&nbsp;2010 Saat 16:25<br /><br /><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">select</font></font><font size="2"> STOK_KODU</font><font color="#808080" size="2"><font color="#808080" size="2">,</font></font><font size="2"> </font><font color="#ff00ff" size="2"><font color="#ff00ff" size="2">sum</font></font><font color="#808080" size="2"><font color="#808080" size="2">(</font></font><font size="2">sthar_gcmik</font><font color="#808080" size="2"><font color="#808080" size="2">)</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">AS</font></font><font size="2"> CMIK </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">from</font></font><font size="2"> tblsthar B </font></p><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">where</font></font><font size="2"> sthar_gckod</font><font color="#808080" size="2"><font color="#808080" size="2">=</font></font><font color="#ff0000" size="2"><font color="#ff0000" size="2">'C'</font></font><font size="2"> </font><font color="#808080" size="2"><font color="#808080" size="2">and</font></font><font size="2"> STHAR_HTUR</font><font color="#808080" size="2"><font color="#808080" size="2">&lt;&gt;</font></font><font color="#ff0000" size="2"><font color="#ff0000" size="2">'A'</font></font><font size="2"> </font><font color="#808080" size="2"><font color="#808080" size="2">AND</font></font></p><p><font size="2">INCKEYNO </font><font color="#808080" size="2"><font color="#808080" size="2">&lt;=</font></font><font size="2"> </font><font color="#808080" size="2"><font color="#808080" size="2">(</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">SELECT</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">TOP</font></font><font size="2"> 1 INCKEYNO </font></p><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">FROM</font></font><font size="2"> TBLSTHAR A </font></p><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">WHERE</font></font><font size="2"> A</font><font color="#808080" size="2"><font color="#808080" size="2">.</font></font><font size="2">STOK_KODU</font><font color="#808080" size="2"><font color="#808080" size="2">=</font></font><font size="2">B</font><font color="#808080" size="2"><font color="#808080" size="2">.</font></font><font size="2">STOK_KODU <strong>and a.STHAR_HTUR='A' <font color="#66ccff">and <br></font></strong></font></p><p><font size="2"><strong><font color="#66ccff">a.STHAR_GCKOD='G'</font><br></strong></font></p><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">ORDER</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">BY</font></font><font size="2"> INCKEYNO </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">ASC</font></font><font color="#808080" size="2"><font color="#808080" size="2">)</font></font></p><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">GROUP</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">BY</font></font><font size="2"> B</font><font color="#808080" size="2"><font color="#808080" size="2">.</font></font><font size="2">STOK_KODU</font></p><p><font size="2">ekleyince tam oluyor.</font></p><p><font size="2">cok tesekkür ederim.<br></font></p>]]>
   </description>
   <pubDate>Mon, 08 Feb 2010 16:25:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10865.html#10865</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : select STOK_KODU, sum(sthar_gcmik)...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10835.html#10835</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 08&nbsp;Şubat&nbsp;2010 Saat 13:10<br /><br /><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>select</FONT></FONT><FONT size=2> STOK_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2> </FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>sum</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>sthar_gcmik</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>AS</FONT></FONT><FONT size=2> CMIK </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>from</FONT></FONT><FONT size=2> tblsthar B </FONT></P><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>where</FONT></FONT><FONT size=2> sthar_gckod</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'C'</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>and</FONT></FONT><FONT size=2> STHAR_HTUR</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>&lt;&gt;</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'A'</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>AND</FONT></FONT></P><FONT size=2></FONT><P><FONT size=2>INCKEYNO </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>&lt;=</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SELECT</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>TOP</FONT></FONT><FONT size=2> 1 INCKEYNO </FONT></P><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2> TBLSTHAR A </FONT></P><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHERE</FONT></FONT><FONT size=2> A</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>STOK_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2>B</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>STOK_KODU <strong>and a.STHAR_HTUR='A'</strong></FONT></P><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ORDER</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT size=2> INCKEYNO </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ASC</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT></P><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT><P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>GROUP</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT size=2> B</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>STOK_KODU</P><DIV></DIV><DIV></DIV><DIV></DIV>Eklemeliydik sanirim.</FONT>]]>
   </description>
   <pubDate>Mon, 08 Feb 2010 13:10:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10835.html#10835</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : select STOK_KODU, sum(sthar_gcmik)...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10819.html#10819</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2100">yckn</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 06&nbsp;Şubat&nbsp;2010 Saat 16:47<br /><br /><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">select</font></font><font size="2"> STOK_KODU</font><font color="#808080" size="2"><font color="#808080" size="2">,</font></font><font size="2"> </font><font color="#ff00ff" size="2"><font color="#ff00ff" size="2">sum</font></font><font color="#808080" size="2"><font color="#808080" size="2">(</font></font><font size="2">sthar_gcmik</font><font color="#808080" size="2"><font color="#808080" size="2">)</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">AS</font></font><font size="2"> CMIK </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">from</font></font><font size="2"> tblsthar B </font></p><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">where</font></font><font size="2"> sthar_gckod</font><font color="#808080" size="2"><font color="#808080" size="2">=</font></font><font color="#ff0000" size="2"><font color="#ff0000" size="2">'C'</font></font><font size="2"> </font><font color="#808080" size="2"><font color="#808080" size="2">and</font></font><font size="2"> STHAR_HTUR</font><font color="#808080" size="2"><font color="#808080" size="2">&lt;&gt;</font></font><font color="#ff0000" size="2"><font color="#ff0000" size="2">'A'</font></font><font size="2"> </font><font color="#808080" size="2"><font color="#808080" size="2">AND</font></font></p><font size="2"></font><p><font size="2">INCKEYNO </font><font color="#808080" size="2"><font color="#808080" size="2">&lt;=</font></font><font size="2"> </font><font color="#808080" size="2"><font color="#808080" size="2">(</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">SELECT</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">TOP</font></font><font size="2"> 1 INCKEYNO </font></p><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">FROM</font></font><font size="2"> TBLSTHAR A </font></p><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">WHERE</font></font><font size="2"> A</font><font color="#808080" size="2"><font color="#808080" size="2">.</font></font><font size="2">STOK_KODU</font><font color="#808080" size="2"><font color="#808080" size="2">=</font></font><font size="2">B</font><font color="#808080" size="2"><font color="#808080" size="2">.</font></font><font size="2">STOK_KODU </font></p><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">ORDER</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">BY</font></font><font size="2"> INCKEYNO </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">ASC</font></font><font color="#808080" size="2"><font color="#808080" size="2">)</font></font></p><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><p><font color="#0000ff" size="2"><font color="#0000ff" size="2">GROUP</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">BY</font></font><font size="2"> B</font><font color="#808080" size="2"><font color="#808080" size="2">.</font></font><font size="2">STOK_KODU</font></p><p><font size="2">bunu kullandigimizda sonuç güzel.fakat bir sorunvar.devir hareketinden önce birden fazla çikis hareketi var iseinckeyno'ya göre ilk çikis hareketini topluyor.ilk hareketi devirinckeyno dan küçük olanlarin tüm çikislarini toplatmak gerekiyor.</font></p><p><font size="2">örnek deneme sql:SELECT INCKEYNO,STOK_KODU,STHAR_GCMIK,STHAR_GCKOD AS G_C,STHAR_HTUR FROM TBLSTHAR WHERE STOK_KODU='8888'<br>ORDER BY INCKEYNO ASC</font></p><p><font size="2">SONUC: <font color="#ff0000">3747&nbsp;&nbsp;&nbsp; 8888&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; H</font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000">3749&nbsp;&nbsp;&nbsp; 8888&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; H</font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#009900">3750&nbsp;&nbsp;&nbsp; 8888&nbsp;&nbsp;&nbsp; 3.00000000&nbsp;&nbsp;&nbsp; G&nbsp;&nbsp;&nbsp; A</font><br><br>select STOK_KODU, sum(sthar_gcmik ) AS CMIK from tblsthar B<br><br>where sthar_gckod='C' and STHAR_HTUR&lt;&gt;'A' AND<br><br>INCKEYNO &lt;= (SELECT TOP 1 INCKEYNO<br><br>FROM TBLSTHAR A<br><br>WHERE A.STOK_KODU=B.STOK_KODU AND STOK_KODU='8888'<br><br>ORDER BY INCKEYNO ASC)<br><br>GROUP BY B.STOK_KODU</font></p><p><font size="2">Kullaninca sonuc:</font><font size="2">&nbsp; 8888&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp; <br></font></p><p><font size="2">( Toplam 2 sonucunu nasil bulabiliriz)</font></p>]]>
   </description>
   <pubDate>Sat, 06 Feb 2010 16:47:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10819.html#10819</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : Tarihe bakmaksizin istediginizi...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10779.html#10779</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Şubat&nbsp;2010 Saat 08:32<br /><br /><P>Tarihe bakmaksizin istediginizi verir. SIRA numarasina göre islem yapiyor.</P><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>select</FONT></FONT><FONT size=2> STOK_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2> </FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>sum</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT size=2>sthar_gcmik</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>AS</FONT></FONT><FONT size=2> CMIK </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>from</FONT></FONT><FONT size=2> tblsthar B </P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>where</FONT></FONT><FONT size=2> sthar_gckod</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'C'</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>and</FONT></FONT><FONT size=2> STHAR_HTUR</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>&lt;&gt;</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'A'</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>AND</P></FONT></FONT><FONT size=2><P>INCKEYNO </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>&lt;=</FONT></FONT><FONT size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SELECT</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>TOP</FONT></FONT><FONT size=2> 1 INCKEYNO </P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>FROM</FONT></FONT><FONT size=2> TBLSTHAR A </P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>WHERE</FONT></FONT><FONT size=2> A</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>STOK_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT size=2>B</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>STOK_KODU </P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>ORDER</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT size=2> INCKEYNO </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ASC</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</P></FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>GROUP</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT size=2> B</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2>STOK_KODU</P></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 05 Feb 2010 08:32:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10779.html#10779</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : stok giris,&#231;ikis ve bakiyelerini...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10776.html#10776</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2100">yckn</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2010 Saat 15:37<br /><br />stok giris,çikis ve bakiyelerini normal olarak alabiliyorum onda bir sorun yok.<br>&nbsp;örnek cümle - örnek sonuç<br>örnek cümle :SELECT stok_kodu,sthar_gckod,inckeyno,sthar_gcmik,sthar_ftirsip,sthar_htur<br>from tblsthar <br>WHERE <br>(stok_kodu='043002')<br>order by inckeyno asc<br><br>örnek sonuç:<br><br>043002&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; 912&nbsp; &nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; H<br>043002&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; 1905&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; H<br>043002&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; 2772&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; H<br>043002&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; 3147&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; H<br>043002&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp; 3282&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp; H<br><font color="#ff0000"><font color="#000000">043002&nbsp;&nbsp;&nbsp; G&nbsp;&nbsp;&nbsp; 3640&nbsp;&nbsp;&nbsp; 1.00000000&nbsp;&nbsp;&nbsp; 9 &nbsp;&nbsp; A</font><br></font><br><br>&nbsp;* örnekte 5 stok çikisi yapilmis ve fatura irsaliye tipli olup devir içermemektedir.<br>&nbsp;* çikis hareketinden önce devir islemi yoktur.<br>&nbsp;* 1 tane de giris yapilmis ve bu da devir hareketidir.<br>?<br><br>bulunmak istenen sonuç ise&nbsp; devir hareketinden önceki çikan stok toplami.<br><br><br>]]>
   </description>
   <pubDate>Thu, 04 Feb 2010 15:37:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10776.html#10776</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : ilk devir hareketi dediginiz nedir?...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10772.html#10772</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2010 Saat 13:57<br /><br />ilk devir hareketi dediginiz nedir? <DIV>&nbsp;</DIV><DIV>select stok_kodu, </DIV><DIV>sum(case when sthar_gckod='G' then sthar_gcmik else 0 end) as GMIK,</DIV><DIV><DIV>sum(case when sthar_gckod='C' then sthar_gcmik else 0 end) as CMIK,</DIV><DIV>from tblsthar where </DIV><DIV>sthar_htur&lt;&gt;'A'</DIV><DIV>group by stok_kodu</DIV><DIV>&nbsp;</DIV><DIV>"A" devir hareketlerini gösterir. bu cümle devir hariç giris çikislari toplar.</DIV></DIV><span style="font-size:10px"><br /><br />Düzenleyen Conari - 04&nbsp;Şubat&nbsp;2010 Saat 13:58</span>]]>
   </description>
   <pubDate>Thu, 04 Feb 2010 13:57:10 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10772.html#10772</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : Sn.conariEvet.Devir harici ne...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10771.html#10771</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2100">yckn</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2010 Saat 11:41<br /><br />Sn.conari<br>Evet.Devir harici ne girmis ne çikmis onu istiyorum fakat <u>giris ve çikislar ilk devir hareketinden önce olanlar</u> olacak.<br>ilginiz için tesekkür ederim<br>]]>
   </description>
   <pubDate>Thu, 04 Feb 2010 11:41:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10771.html#10771</guid>
  </item> 
  <item>
   <title><![CDATA[sql stok hareket : Ben tam olarak anlayamadim. Devir...]]></title>
   <link>http://www.erpne.org/sql-stok-hareket_topic1926_post10769.html#10769</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1926<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2010 Saat 11:17<br /><br />Ben tam olarak anlayamadim. Devir harici ne girmis ne kadar çikmis onun bilgisini mi istiyorsunuz?]]>
   </description>
   <pubDate>Thu, 04 Feb 2010 11:17:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/sql-stok-hareket_topic1926_post10769.html#10769</guid>
  </item> 
 </channel>
</rss>