<?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 : birden fazla view&#039;i tek bir viewe baglama</title>
  <link>http://www.erpne.org/</link>
  <description><![CDATA[XML içerik linki; ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : ERP Rapor Mod&#252;l&#252; : birden fazla view&#039;i tek bir viewe baglama]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 17 Apr 2026 23:25:23 +0000</pubDate>
  <lastBuildDate>Wed, 05 Aug 2009 16:58:42 +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=1689</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[birden fazla view&#039;i tek bir viewe baglama : Ben view mantigini anlatayim siz...]]></title>
   <link>http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9386.html#9386</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 1689<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2009 Saat 16:58<br /><br />Ben view mantigini anlatayim siz view'lari revize dersiniz.<br /><br />önce tüm view'lari group by yapmadan tek bir view'a toplayin. örnegin<br />CREATE VIEW MY_VIEW AS <br />SELECT sthar_tarih as tarih,A.STOK_KODU,B.STOK_ADI,STHAR_GCMIK URETIM,<br />0 hurda ,0 tamir1,0 tamir2,0 hurda2<br />FROM TBLSTHAR A,TBLSTSABIT B<br />WHERE sthar_tarih,A.STOK_KODU=B.STOK_KODU AND STHAR_GCKOD='G' AND STHAR_ACIKLAMA='Uretim' --(üretim için kullandiginiz kosul)<br />UNION ALL SELECT STHAR_TARIH,A.STOK_KODU,B.STOK_ADI,0,STHAR_GCMIK,0,0,0 <br />SELECT FROM TBLSTHAR A,TBLSTSABIT B<br />WHERE A.STOK_KODU=B.STOK_KODU AND STHAR_GCKOD='C' AND STHAR_ACIKLAMA='30-50' --(Hurda için kosullar)<br />UNION ALL <br />SELECT STHAR_TARIH,A.STOK_KODU,B.STOK_ADI,0,0,STHAR_GCMIK,0,0 <br />SELECT FROM TBLSTHAR A,TBLSTSABIT B<br />WHERE A.STOK_KODU=B.STOK_KODU AND STHAR_GCKOD='C' AND STHAR_ACIKLAMA='' --(Ariza için kosuular)<br /><br /><br />benzer sekilde diger 2 bölüm içinde bu view!i uzatirsak<br />Artik son sorguyu söyle yazariz<br />SELECT TARIH,STOK_KODU,STOK_ADI,SUM(URETIM),SUM(HURDA), ...<br />FROM MY_VIEW<br />GROUP BY STOK_KODU,STOK_ADI<br />WHERE TARIH BETWEEN '2009-07-01' AND '2009-07-31'<br />seklinde raporu alabilirz.<br />stok_karti ve hareketlerdeki diger sahalari view'a eklemedim. eklenebilir, ya da gerekmeyebilir.<br />Kolay gelsin<span style="font-size:10px"><br /><br />Düzenleyen mbaykan - 05&nbsp;Ağustos&nbsp;2009 Saat 16:59</span>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 16:58:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9386.html#9386</guid>
  </item> 
  <item>
   <title><![CDATA[birden fazla view&#039;i tek bir viewe baglama : diger viewler bu sekilde sadece...]]></title>
   <link>http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9383.html#9383</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=523">jung</a><br /><strong>Konu:</strong> 1689<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2009 Saat 13:50<br /><br /><P>diger viewler bu sekilde sadece STHAR_ACIKLAMA'nin kisiti degisiyor.</P>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 13:50:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9383.html#9383</guid>
  </item> 
  <item>
   <title><![CDATA[birden fazla view&#039;i tek bir viewe baglama : 2. view   SELECT TOP (100)...]]></title>
   <link>http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9382.html#9382</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=523">jung</a><br /><strong>Konu:</strong> 1689<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2009 Saat 13:48<br /><br />2. view<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>SELECT&nbsp;&nbsp;&nbsp;&nbsp; TOP (100) PERCENT dbo.TBLSTHAR.STOK_KODU AS STOKKODU, SUM(dbo.TBLSTHAR.STHAR_GCMIK) AS GIRCIKMIK, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTHAR.STHAR_TARIH AS TARIH, dbo.TBLSTHAR.STHAR_ACIKLAMA AS ACIKLAMA, COUNT(*) AS Expr2, dbo.TBLSTSABIT.GRUP_KODU, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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bo.TBLSTSABIT.KOD_1, dbo.TBLSTSABIT.KOD_2, dbo.TBLSTSABIT.KOD_3, dbo.TBLSTSABIT.KOD_4, dbo.TBLSTSABIT.KOD_5, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTHAR.DEPO_KODU, dbo.TBLSTHAR.EKALAN1, dbo.TBLSTHAR.EKALAN, dbo.TBLSTHAR.STHAR_HTUR, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTHAR.STHAR_GCKOD<BR>HAVING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (dbo.TBLSTHAR.DEPO_KODU = 30) AND (dbo.TBLSTHAR.STHAR_ACIKLAMA = '30-50')<BR>ORDER BY dbo.TBLSTSABIT.KOD_1, dbo.TBLSTSABIT.KOD_2, STOKKODU, ACIKLAMA</DIV>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 13:48:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9382.html#9382</guid>
  </item> 
  <item>
   <title><![CDATA[birden fazla view&#039;i tek bir viewe baglama : viewleri incelemek lazim ]]></title>
   <link>http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9380.html#9380</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=483">Conari</a><br /><strong>Konu:</strong> 1689<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2009 Saat 13:47<br /><br />viewleri incelemek lazim]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 13:47:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9380.html#9380</guid>
  </item> 
  <item>
   <title><![CDATA[birden fazla view&#039;i tek bir viewe baglama : 1. view     SELECT TOP (100)...]]></title>
   <link>http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9381.html#9381</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=523">jung</a><br /><strong>Konu:</strong> 1689<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2009 Saat 13:47<br /><br /><DIV>1. view </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>SELECT&nbsp;&nbsp;&nbsp;&nbsp; TOP (100) PERCENT dbo.TBLSTHAR.STOK_KODU AS STOKKODU, SUM(dbo.TBLSTHAR.STHAR_GCMIK) AS GIRCIKMIK, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTHAR.STHAR_TARIH AS TARIH, dbo.TBLSTHAR.STHAR_ACIKLAMA AS ACIKLAMA, COUNT(*) AS Expr2, dbo.TBLSTSABIT.GRUP_KODU, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTSABIT.KOD_1, dbo.TBLSTSABIT.KOD_2, dbo.TBLSTSABIT.KOD_3, dbo.TBLSTSABIT.KOD_4, dbo.TBLSTSABIT.KOD_5, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTHAR.DEPO_KODU, dbo.TBLSTHAR.EKALAN1, dbo.TBLSTHAR.EKALAN, dbo.TBLSTHAR.STHAR_HTUR, <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbo.TBLSTHAR.STHAR_GCKOD<BR>HAVING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (dbo.TBLSTHAR.DEPO_KODU = 30) AND (dbo.TBLSTHAR.STHAR_ACIKLAMA = 'Uretim')<BR>ORDER BY dbo.TBLSTSABIT.KOD_1, dbo.TBLSTSABIT.KOD_2, STOKKODU, ACIKLAMA</DIV>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 13:47:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9381.html#9381</guid>
  </item> 
  <item>
   <title><![CDATA[birden fazla view&#039;i tek bir viewe baglama :    Merhabalar ,  Stok hareketleri...]]></title>
   <link>http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9378.html#9378</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=523">jung</a><br /><strong>Konu:</strong> 1689<br /><strong>Gönderim Zamanı:</strong> 05&nbsp;Ağustos&nbsp;2009 Saat 13:10<br /><br /><DIV></DIV><DIV></DIV>&nbsp;<DIV>&nbsp;&nbsp; Merhabalar ,</DIV><DIV>&nbsp;</DIV><DIV>Stok hareketleri ile ilgili 5 tane view kaydettim. </DIV><DIV>1. view de&nbsp;stoklarin günlük&nbsp;üretim miktarlari</DIV><DIV>2.&nbsp;view de stoklarin günlük hurda depoya transferleri</DIV><DIV>3. view de stoklarin günlük tamir depoya transferleri.</DIV><DIV>4...</DIV><DIV>5...</DIV><DIV>&nbsp;</DIV><DIV>tüm bu vieweri yeni bir viewin altina koydum ve raporlamam gereken sütunlari seçtim</DIV><DIV>viewler arasinda sadece stok kodu bölümlerini iliskilendirerek&nbsp;raporu çalistirdim ama rapor bos çikiyor .</DIV><DIV>&nbsp;</DIV><DIV>Her bir view kendi basinayken çalisiyor ancak hepsini bir baska viewle birlestirdigimde view çalismiyor.</DIV><DIV>bir baska sütunu dahami iliskilendirmem lazim</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Almaya çalistigim rapor&nbsp;su sekilde</DIV><DIV>&nbsp;</DIV><DIV>Iki tarih araliginda;</DIV><DIV>stok kodu&nbsp;&nbsp; stok adi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; üretim miktari&nbsp;&nbsp;&nbsp;&nbsp; hurdaya giden&nbsp;&nbsp;&nbsp;&nbsp; tamire giden&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tamirden gelen&nbsp;&nbsp;&nbsp;&nbsp; tamirden hurdaya giden</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>basliklarin tek satirda hesaplanmasi gerekmekte </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>baska bir yol varmi önerilere açigim</DIV><DIV>:)</DIV><DIV>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 13:10:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/birden-fazla-viewi-tek-bir-viewe-baglama_topic1689_post9378.html#9378</guid>
  </item> 
 </channel>
</rss>