<?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 : Genel Toplam Alamıyorum</title>
  <link>http://www.erpne.org/</link>
  <description><![CDATA[XML içerik linki; ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : ERP Rapor Haz&#305;rlama  : Genel Toplam Alamıyorum]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 17:01:48 +0000</pubDate>
  <lastBuildDate>Wed, 03 Sep 2014 12:25:24 +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=3850</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[Genel Toplam Alamıyorum : WITH CTE_TOP AS (SELECT STOK_KODU,&amp;#039;~TOPLAM...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20500.html#20500</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 12:25<br /><br />WITH CTE_TOP AS (SELECT STOK_KODU,'~TOPLAM ' ACIKLAMA,<div>SUM(CASE WHEN STHAR_GCKOD='G' THEN STHAR_GCMIK ELSE 0 END) GIRIS, --TBLCAHAR'DA BORC ve ALACAK OLARAK AYRI ZATEN</div><div>SUM(CASE WHEN STHAR_GCKOD='C' THEN STHAR_GCMIK ELSE 0 END) CIKIS</div><div>FROM TBLSTHAR</div><div>GROUP BY STOK_KODU),</div><div>CTE_1ST AS (SELECT LEFT(STOK_KODU,1) ILK,'~ '+LEFT(STOK_KODU,1)+' ILE BASLAYANLARIN TOP. ' ACIKLAMA,</div><div>SUM(CASE WHEN STHAR_GCKOD='G' THEN STHAR_GCMIK ELSE 0 END) GIRIS, --TBLCAHAR'DA BORC ve ALACAK OLARAK AYRI ZATEN</div><div>SUM(CASE WHEN STHAR_GCKOD='C' THEN STHAR_GCMIK ELSE 0 END) CIKIS</div><div>FROM TBLSTHAR</div><div>GROUP BY LEFT(STOK_KODU,1)),</div><div>CTE_ALL AS (SELECT '~~ GENEL TOPLAM ' ACIKLAMA,</div><div>SUM(CASE WHEN STHAR_GCKOD='G' THEN STHAR_GCMIK ELSE 0 END) GIRIS, --TBLCAHAR'DA BORC ve ALACAK OLARAK AYRI ZATEN</div><div>SUM(CASE WHEN STHAR_GCKOD='C' THEN STHAR_GCMIK ELSE 0 END) CIKIS</div><div>FROM TBLSTHAR</div><div>)</div><div>SELECT ZZ.STOK_KODU,B.STOK_ADI,STHAR_TARIH,FISNO, ACIKLAMA ,GIRIS,CIKIS</div><div>FROM&nbsp;</div><div>(SELECT STOK_KODU,STHAR_TARIH,FISNO,STHAR_ACIKLAMA ACIKLAMA,</div><div>CASE WHEN STHAR_GCKOD='G' THEN STHAR_GCMIK ELSE 0 END GIRIS, --TBLCAHAR'DA BORC ve ALACAK OLARAK AYRI ZATEN</div><div>CASE WHEN STHAR_GCKOD='C' THEN STHAR_GCMIK ELSE 0 END CIKIS</div><div>FROM TBLSTHAR</div><div>UNION ALL</div><div>(SELECT ILK+'~',NULL,NULL,ACIKLAMA,GIRIS,CIKIS</div><div>FROM CTE_1ST</div><div>UNION ALL</div><div>(SELECT STOK_KODU,NULL,NULL,ACIKLAMA,GIRIS,CIKIS</div><div>FROM CTE_TOP</div><div>UNION ALL</div><div>SELECT '~~',NULL,NULL,ACIKLAMA,GIRIS,CIKIS</div><div>FROM CTE_ALL</div><div>))</div><div>) ZZ</div><div>LEFT JOIN TBLSTSABIT B ON ZZ.STOK_KODU=B.STOK_KODU</div><div>ORDER BY STOK_KODU DESC,STHAR_TARIH,ACIKLAMA DESC</div><div><br></div><div>kod syralamasy için ek kolona ihtiyaç var. Ben kestirmeden Stok kodunu azalan (DESC)&nbsp;</div><div>yaparak görünümü çözdüm</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 12:25:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20500.html#20500</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Kod i&#231;in te?ekk&#252;rler mbaykan.Raporunuz,...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20499.html#20499</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4541">xenium</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 12:09<br /><br />Kod için te?ekkürler mbaykan.<div><br></div><div>Raporunuz, a?a?ydaki mantykla bir sonuç veriyor. Yani her ürün için ayry ayry toplam alyyor.</div><div><br></div><div><table border="0" cellpadding="0" cellspacing="0" width="460" style="color: rgb0, 0, 0; font-size: 12px; line-height: 16.799999237060547px; border-collapse: collapse; width: 345pt; : rgb251, 251, 253;"><t><tr height="20" style="height: 15pt;"><td height="20" ="xl66"="" width="268" style="height: 15pt; width: 201pt;"><font size="2"><b>STOK KODI</b></font></td><td ="xl66"="" width="64" style="width: 48pt;"><font size="2"><b>ADI</b></font></td><td ="xl66"="" width="64" style="width: 48pt;"><font size="2"><b>MYKTAR</b></font></td><td ="xl66"="" width="64" style="width: 48pt;"><font size="2"><b>TUTAR</b></font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">A-001</font></td><td><font size="2">STOK 1</font></td><td align="right"><font size="2">1</font></td><td align="right"><font size="2">10</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">A-001</font></td><td><font size="2">STOK 1</font></td><td align="right"><font size="2">1</font></td><td align="right"><font size="2">10</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">A-001</font></td><td><font size="2">STOK 1</font></td><td align="right"><font size="2">1</font></td><td align="right"><font size="2">10</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" ="xl65"="" style="height: 15pt;"><font size="2"><b>A-001 YN TOPLAMI</b></font></td><td ="xl65"=""></td><td ="xl65"="" align="right"><font size="2"><b>3</b></font></td><td ="xl65"="" align="right"><font size="2"><b>30</b></font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">B-002</font></td><td><font size="2">STOK 2</font></td><td align="right"><font size="2">5</font></td><td align="right"><font size="2">50</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">B-002</font></td><td><font size="2">STOK 2</font></td><td align="right"><font size="2">5</font></td><td align="right"><font size="2">50</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">B-002</font></td><td><font size="2">STOK 2</font></td><td align="right"><font size="2">5</font></td><td align="right"><font size="2">50</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" ="xl65"="" style="height: 15pt;"><font size="2"><b>B-002 YN TOPLAMI</b></font></td><td ="xl65"=""></td><td ="xl65"="" align="right"><font size="2"><b>15</b></font></td><td ="xl65"="" align="right"><font size="2"><b>150</b></font></td></tr></t></table><br></div><div><br></div><div>Ama ben ?u ?ekilde almak istiyordum; mümkün müdür teknik olarak?</div><div><br></div><div><table border="0" cellpadding="0" cellspacing="0" width="460" style="color: rgb0, 0, 0; font-size: 12px; line-height: 16.799999237060547px; border-collapse: collapse; width: 345pt; : rgb251, 251, 253;"><t><tr height="20" style="height: 15pt;"><td height="20" ="xl66"="" width="268" style="height: 15pt; width: 201pt;"><font size="2"><b>STOK KODI</b></font></td><td ="xl66"="" width="64" style="width: 48pt;"><font size="2"><b>ADI</b></font></td><td ="xl66"="" width="64" style="width: 48pt;"><font size="2"><b>MYKTAR</b></font></td><td ="xl66"="" width="64" style="width: 48pt;"><font size="2"><b>TUTAR</b></font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">A-001</font></td><td><font size="2">STOK 1</font></td><td align="right"><font size="2">1</font></td><td align="right"><font size="2">10</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">A-002</font></td><td><font size="2">STOK 2</font></td><td align="right"><font size="2">1</font></td><td align="right"><font size="2">10</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">A-003</font></td><td><font size="2">STOK 3</font></td><td align="right"><font size="2">1</font></td><td align="right"><font size="2">10</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" ="xl65"="" style="height: 15pt;"><font size="2"><b>A YLE BA?LAYANLARIN TOPLAMI</b></font></td><td ="xl65"=""></td><td ="xl65"="" align="right"><font size="2"><b>3</b></font></td><td ="xl65"="" align="right"><font size="2"><b>30</b></font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">B-001</font></td><td><font size="2">STOK 1</font></td><td align="right"><font size="2">5</font></td><td align="right"><font size="2">50</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">B-002</font></td><td><font size="2">STOK 2</font></td><td align="right"><font size="2">5</font></td><td align="right"><font size="2">50</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" style="height: 15pt;"><font size="2">B-003</font></td><td><font size="2">STOK 3</font></td><td align="right"><font size="2">5</font></td><td align="right"><font size="2">50</font></td></tr><tr height="20" style="height: 15pt;"><td height="20" ="xl65"="" style="height: 15pt;"><font size="2"><b>B YLE BA?LAYANLARIN TOPLAMI</b></font></td><td ="xl65"=""></td><td ="xl65"="" align="right"><font size="2"><b>15</b></font></td><td ="xl65"="" align="right"><font size="2"><b>150</b></font></td></tr></t></table></div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 12:09:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20499.html#20499</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Merhaba Conari,The identifier...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20498.html#20498</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4541">xenium</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 11:48<br /><br />Merhaba Conari,<div><br></div><div><br></div><div><div style=": rgb251, 251, 253;"><font color="#cc6633">The identifier that starts with ',',',',sum(TBLCAHAR.BORC),sum(TBLCAHAR.ALACAK)</font></div><div style=": rgb251, 251, 253;"><font color="#cc6633">from TBLCAHAR LEFT JOIN TBLCASABIT ON TBLCAHAR.CARI_KOD=TBLCASABIT.CARI_KOD</font></div><div style=": rgb251, 251, 253;"><font color="#cc6633">WHERE TBLCASABIT.M_KOD LIKE ' is too long. Maximum length is 128.</font></div></div><div><br></div><div>iletisini görünce çok fazla ara?tyrmadym; aksi takdirde tabi ki iyice kontrol ederdim.</div><div>Ve dünden 1 saatimi genel toplam alma ilgili internette döküman okumayaa ayyrdym, yani emek sarfetmeden sizi rahatsyz etmek niyetinde de?ilim.</div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 11:48:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20498.html#20498</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Raporunuza detayly bakamadym,...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20497.html#20497</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 10:28<br /><br />Raporunuza detayly bakamadym, ama toplamly (ara toplamly) bir sorgu<div>a?a?ydaki gibi olur. (yazdyktan sonra CTE'ye gerek olamady?yny da gördüm ama de?i?tirmedim)</div><div><br></div><div><div><div>WITH CTE_TOP AS (SELECT STOK_KODU,'~TOPLAM ' ACIKLAMA,</div><div>SUM(CASE WHEN STHAR_GCKOD='G' THEN STHAR_GCMIK ELSE 0 END) GIRIS, --TBLCAHAR'DA BORC ve ALACAK OLARAK AYRI ZATEN</div><div>SUM(CASE WHEN STHAR_GCKOD='C' THEN STHAR_GCMIK ELSE 0 END) CIKIS</div><div>FROM TBLSTHAR</div><div>GROUP BY STOK_KODU)</div><div>SELECT ZZ.STOK_KODU,B.STOK_ADI,STHAR_TARIH,FISNO, ACIKLAMA ,GIRIS,CIKIS</div><div>FROM&nbsp;</div><div>(SELECT STOK_KODU,STHAR_TARIH,FISNO,STHAR_ACIKLAMA ACIKLAMA,</div><div>CASE WHEN STHAR_GCKOD='G' THEN STHAR_GCMIK ELSE 0 END GIRIS, --TBLCAHAR'DA BORC ve ALACAK OLARAK AYRI ZATEN</div><div>CASE WHEN STHAR_GCKOD='C' THEN STHAR_GCMIK ELSE 0 END CIKIS</div><div>FROM TBLSTHAR</div><div>UNION ALL</div><div>SELECT STOK_KODU,NULL,NULL,ACIKLAMA,GIRIS,CIKIS</div><div>FROM CTE_TOP) ZZ</div><div>JOIN TBLSTSABIT B ON ZZ.STOK_KODU=B.STOK_KODU</div><div>ORDER BY STOK_KODU,ACIKLAMA DESC</div></div></div><span style="font-size:10px"><br /><br />Düzenleyen mbaykan - 03&nbsp;Eylül&nbsp;2014 Saat 10:31</span>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 10:28:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20497.html#20497</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Arkada? &#246;?renmek istiyorsun iyi...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20495.html#20495</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 10:14<br /><br />Arkada? ö?renmek istiyorsun iyi güzelde bu ?ekilde çok zor,<br />Kod hata verdi yerine neresinde hata oldu?unu bulmaya çaly?saydyn..<br /><br />Kodu test etmeden, örneklemek için yazdyk.<br />Yoksa iki cümleyi birle?tirir verirdik.<br /><br />Bir iki deneme yanylma yap, çözemezsen yardymcy oluruz tabii ki.<br /><br />@Mbaykan hocam pat diye scripti veriyor. ma?allah]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 10:14:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20495.html#20495</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Bu arada yazdy?ym raporu payla?ayym,genel...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20493.html#20493</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4541">xenium</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 10:01<br /><br />Bu arada yazdy?ym raporu payla?ayym,<div>genel toplamy bu ve buna benzer raporlarda uygulayacapym..</div><div><br></div><div><div><font color="#cc0000"><b>SELECT&nbsp;</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>STOK_KODU,</b></font></div><div><font color="#cc0000"><b>(SELECT STOK_ADI FROM TBLSTSABIT WHERE TBLSTSABIT.STOK_KODU=TBLSTHAR.STOK_KODU) AS 'STOK ADI',</b></font></div><div><font color="#cc0000"><b>IRSALIYE_NO,STHAR_SIPNUM,</b></font></div><div><font color="#cc0000"><b>STHAR_BGTIP AS 'HAR.TYP',</b></font></div><div><font color="#cc0000"><b>CASE&nbsp;</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_BGTIP='I' THEN 'YRSALYYEDEN'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_BGTIP='F' THEN 'FATURADAN'</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>ELSE '0' END AS 'HAREKET NERDEN',</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>STHAR_GCKOD,STHAR_GCMIK AS MIKTAR,</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>&nbsp;ISNULL(STHAR_NF*STHAR_GCMIK,0) AS 'NET ÇIKI? TUTAR',(SELECT OLCU_BR1 FROM TBLSTSABIT WHERE TBLSTSABIT.STOK_KODU=TBLSTHAR.STOK_KODU) AS 'Br',</b></font></div><div><font color="#cc0000"><b>&nbsp;(SELECT DEPO_KODU FROM TBLSTSABIT WHERE TBLSTSABIT.STOK_KODU=TBLSTHAR.STOK_KODU) AS 'DEPO KODU',STHAR_TARIH,</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>LISTE_NO AS 'LYSTEDEKY KAÇINCI FYYAT',LISTE_FIAT AS 'HANGY LYSTE FYYATI',</b></font></div><div><font color="#cc0000"><b>STHAR_SATISK AS 'SATIR YSK.',</b></font></div><div><font color="#cc0000"><b>STHAR_SATISK2 AS '2.YSKONTO',STRA_SATISK3 AS '3.YSKONTO',</b></font></div><div><font color="#cc0000"><b>STRA_SATISK4 AS '4.YSKONTO',STRA_SATISK5 AS '5.YSKONTO',</b></font></div><div><font color="#cc0000"><b>STRA_SATISK6 AS '6.YSKONTO',</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>STHAR_ODEGUN,</b></font></div><div><font color="#cc0000"><b>DEPO_KODU,</b></font></div><div><font color="#cc0000"><b>FISNO,STHAR_CARIKOD AS 'CARY',&nbsp;</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>STHAR_KOD1,</b></font></div><div><font color="#cc0000"><b>STHAR_KOD2,</b></font></div><div><font color="#cc0000"><b>KOSULKODU,</b></font></div><div><font color="#cc0000"><b>STHAR_HTUR,</b></font></div><div><font color="#cc0000"><b>CASE&nbsp;</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='A' THEN 'DEVYR'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='B' THEN 'DEPOLAR ARASI TRF.'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='C' THEN 'ÜRETYM'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='D' THEN 'MUHTELYF'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='E' THEN 'MYKTARSIZ MALYYET'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='F' THEN 'KONSYNYE'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='H' THEN 'YRSALYYE TYPLY HAR.'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='I' THEN 'KAPALI FATURA'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_HTUR='J' THEN 'AÇIK FATURA'</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>ELSE '0' END AS 'HAREKET',</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>STHAR_ODEGUN,VADE_TARIHI,</b></font></div><div><font color="#cc0000"><b>STHAR_FTIRSIP AS 'FAT.TIP',</b></font></div><div><font color="#cc0000"><b>CASE&nbsp;</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='1' THEN 'SATI? FATURASI'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='2' THEN 'ALI? FATURASI'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='3' THEN 'SATI? YRSALYYESY'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='4' THEN 'ALI? YRSALYYESY'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='5' THEN 'SATI? FATURASI'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='6' THEN 'MÜ?TERY SYPARY?Y'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='7' THEN 'SATICI SYPARY?Y'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='8' THEN 'DEPO ARASI TRF. GYRY?'</b></font></div><div><font color="#cc0000"><b>WHEN STHAR_FTIRSIP='9' THEN 'DEPO ARASI TRF. ÇIKI?'</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>ELSE '0' END AS 'FAT TYPY'</b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b>&nbsp;FROM</b></font></div><div><font color="#cc0000"><b>TBLSTHAR</b></font></div><div><font color="#cc0000"><b>WHERE FISNO IS NOT NULL&nbsp;</b></font></div><div><font color="#cc0000"><b>AND STHAR_GCKOD='C' AND STHAR_TARIH = '2014-08-25'</b></font></div><div><font color="#cc0000"><b>AND STHAR_HTUR='J' AND STOK_KODU LIKE 'M-%'</b></font></div></div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 10:01:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20493.html#20493</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Hayyr hayyr kesinlikle kurnazlyk...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20491.html#20491</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4541">xenium</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 09:57<br /><br />Hayyr hayyr kesinlikle kurnazlyk de?il&nbsp;<img src="http://www.erpne.org/smileys/smiley36.gif" border="0" alt="LOL" title="LOL" />&nbsp;Üzüldüm ?imdi, hiç yapmady?ym bir ?eydir, bi daha soru sormayayym o zaman :)<div><br></div><div>Sadece manty?yny çözmek istiyorum. Ylk gönderdi?im raporu rastgele gönderdim size. Amaç neyi yapmak istedi?imi size ifade etmekti.</div><div><br></div><div>Rapor falan istemiyorum, nasyl yapylyr onu ö?renmek istiyorum.</div><div><br></div><div>Bu arada sizin rapor çaly?ty ama borç ve alacak toplamy yapty?ym testte do?ru çykmady sanki (belki tam test edemedim).</div><div>&nbsp;Conari nin raporu ise ?u hatayy verdi:</div><div><font color="#cc6633"><br></font></div><div><div><font color="#cc6633">Msg 156, Level 15, State 1, Line 13</font></div><div><font color="#cc6633">Incorrect syntax near the keyword 'UNION'.</font></div><div><font color="#cc6633">Msg 103, Level 15, State 4, Line 16</font></div><div><font color="#cc6633">The identifier that starts with ',',',',sum(TBLCAHAR.BORC),sum(TBLCAHAR.ALACAK)</font></div><div><font color="#cc6633">from TBLCAHAR LEFT JOIN TBLCASABIT ON TBLCAHAR.CARI_KOD=TBLCASABIT.CARI_KOD</font></div><div><font color="#cc6633">WHERE TBLCASABIT.M_KOD LIKE ' is too long. Maximum length is 128.</font></div><div><font color="#cc6633">Msg 105, Level 15, State 1, Line 18</font></div><div><font color="#cc6633">Unclosed quotation mark after the character string '</font></div><div><font color="#cc6633">Group by</font></div><div><font color="#cc6633">TBLCAHAR.CARI_KOD</font></div><div><font color="#cc6633">ORDER BY ACIKLAMA</font></div><div><font color="#cc6633">'.</font></div></div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 09:57:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20491.html#20491</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : siz biraz kurnazlyk yapyyorsunuz..&#246;nceki...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20490.html#20490</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 09:08<br /><br />siz biraz kurnazlyk yapyyorsunuz..<img src="http://www.erpne.org/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><div>önceki sogu CAHAR/CASABIT iken</div><div>?imdi STHAR/STSABIT'li bir rapor istedi?inizi söylüyorsunuz.</div><div>Cevaby conari ve benim yazdyklarymy birle?tirin</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 09:08:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20490.html#20490</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : Te?ekk&#252;rler, mbaykan ve Conari.Aslynda...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20489.html#20489</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4541">xenium</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 03&nbsp;Eylül&nbsp;2014 Saat 09:02<br /><br />Te?ekkürler, mbaykan ve Conari.<div><br></div><div>Aslynda istedi?im ?öyle bir sonuç almakty.. Genel toplam aldy?ymyz bir yerlere " where STOK_KODU LIKE 'A%' gibi bir?ey yazmak mümkün mü?&nbsp;</div><div><br></div><div><table border="0" cellpadding="0" cellspacing="0" width="460" style="border-collapse:   collapse;width:345pt"> <colgroup><col width="268" style="mso-width-source:userset;mso-width-alt:9801;width:201pt"> <col width="64" span="3" style="width:48pt"> </colgroup><t><tr height="20" style="height:15.0pt">  <td height="20" ="xl66" width="268" style="height:15.0pt;width:201pt"><font size="2"><b>STOK  KODI</b></font></td>  <td ="xl66" width="64" style="width:48pt"><font size="2"><b>ADI</b></font></td>  <td ="xl66" width="64" style="width:48pt"><font size="2"><b>MYKTAR</b></font></td>  <td ="xl66" width="64" style="width:48pt"><font size="2"><b>TUTAR</b></font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" style="height:15.0pt"><font size="2">A-001</font></td>  <td><font size="2">STOK 1</font></td>  <td align="right"><font size="2">1</font></td>  <td align="right"><font size="2">10</font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" style="height:15.0pt"><font size="2">A-002</font></td>  <td><font size="2">STOK 2</font></td>  <td align="right"><font size="2">1</font></td>  <td align="right"><font size="2">10</font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" style="height:15.0pt"><font size="2">A-003</font></td>  <td><font size="2">STOK 3</font></td>  <td align="right"><font size="2">1</font></td>  <td align="right"><font size="2">10</font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" ="xl65" style="height:15.0pt"><font size="2"><b>A YLE BA?LAYANLARIN TOPLAMI</b></font></td>  <td ="xl65"></td>  <td ="xl65" align="right"><font size="2"><b>3</b></font></td>  <td ="xl65" align="right"><font size="2"><b>30</b></font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" style="height:15.0pt"><font size="2">B-001</font></td>  <td><font size="2">STOK 1</font></td>  <td align="right"><font size="2">5</font></td>  <td align="right"><font size="2">50</font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" style="height:15.0pt"><font size="2">B-002</font></td>  <td><font size="2">STOK 2</font></td>  <td align="right"><font size="2">5</font></td>  <td align="right"><font size="2">50</font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" style="height:15.0pt"><font size="2">B-003</font></td>  <td><font size="2">STOK 3</font></td>  <td align="right"><font size="2">5</font></td>  <td align="right"><font size="2">50</font></td> </tr> <tr height="20" style="height:15.0pt">  <td height="20" ="xl65" style="height:15.0pt"><font size="2"><b>B YLE BA?LAYANLARIN TOPLAMI</b></font></td>  <td ="xl65"></td>  <td ="xl65" align="right"><font size="2"><b>15</b></font></td>  <td ="xl65" align="right"><font size="2"><b>150</b></font></td> </tr></t></table></div>]]>
   </description>
   <pubDate>Wed, 03 Sep 2014 09:02:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20489.html#20489</guid>
  </item> 
  <item>
   <title><![CDATA[Genel Toplam Alamıyorum : WITH CTE_TOPLAM as (SELECT &amp;#039;z...]]></title>
   <link>http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20484.html#20484</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 3850<br /><strong>Gönderim Zamanı:</strong> 02&nbsp;Eylül&nbsp;2014 Saat 18:09<br /><br />WITH CTE_TOPLAM as (SELECT 'z TOPLAM' ACIKLAMA,SUM(BORC) BORC_T,SUM(ALACAK) ALACAK_T<div>FROM TBLCAHAR A</div><div>INNER JOIN TBLCASABIT B ON A.CARI_KOD=B.CARI_KOD</div><div>WHERE B.M_KOD LIKE '120%')</div><div>SELECT * FROM&nbsp;</div><div>(select</div><div>TBLCAHAR.CARI_KOD,TBLCASABIT.CARI_ISIM,TBLCASABIT.M_KOD AS 'MUH.KOD',TBLCASABIT.ISKONTO_ORANI AS 'YSK.ORAN',TBLCAHAR.BELGE_NO,TBLCAHAR.TARIH,TBLCAHAR.ACIKLAMA,</div><div>TBLCAHAR.BORC,TBLCAHAR.ALACAK</div><div>from TBLCAHAR</div><div>INNER JOIN TBLCASABIT ON TBLCAHAR.CARI_KOD=TBLCASABIT.CARI_KOD</div><div>WHERE TBLCASABIT.M_KOD LIKE '120%'</div><div>UNION ALL</div><div>SELECT NULL,NULL,NULL,0,NULL,NULL,ACIKLAMA,BORC_T,ALACAK_T</div><div>FROM CTE_TOPLAM) VV</div><div>ORDER BY ACIKLAMA</div><div><br></div><div>biraz uzun oldu</div><div>CTE'yi daha güzel kullanyp kysaltabilirsiniz</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 02 Sep 2014 18:09:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/genel-toplam-alamiyorum_topic3850_post20484.html#20484</guid>
  </item> 
 </channel>
</rss>