<?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 : tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ?</title>
  <link>http://www.erpne.org/</link>
  <description><![CDATA[XML içerik linki; ERP Nedir? | T&#252;rkiye'nin ERP Forum Platformu : ERP Muhasebe Mod&#252;l&#252; : tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 20:31:23 +0000</pubDate>
  <lastBuildDate>Mon, 16 Jun 2014 10:42:43 +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=2053</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[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : INSERT INTO TBLMUPLAN (SUBE_KODU,...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20290.html#20290</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Haziran&nbsp;2014 Saat 10:42<br /><br />&nbsp;INSERT INTO TBLMUPLAN (SUBE_KODU, ISLETME_KODU, HESAP_KODU, HS_ADI, HS_GRKOD, HS_BLKZ, CALIS_TIP, CALIS_BAG, UPDATE_KODU, ONAYTIPI, ONAYNUM)<div>&nbsp; SELECT SUBE_KODU, ISLETME_KODU, '120-01-' + CARI_KOD, LEFT(CARI_ISIM,50), '12', 'A',</div><div>&nbsp; /* 120 LERDE B 320 LERDE A OLUR */ 'B', 'H', 'H', 'X', 'A', 0&nbsp;</div><div>&nbsp; FROM TBLCASABIT&nbsp;</div><div>WHERE CARI_TIP='A' AND M_KOD IS NULL --CARI_TIP='S' ISE CARI_KOD ONUNE '320-01-' + GELIR</div><div><br></div><div>&nbsp; INSERT INTO TBLMUPLANEK (KOD) SELECT HESAP_KODU FROM TBLMUPLAN WHERE HESAP_KODU NOT IN (SELECT KOD FROM TBLMUPLANEK)</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 16 Jun 2014 10:42:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20290.html#20290</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : G&#252;naydyn,Cari kodlarymyz 6 ve...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20289.html#20289</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4515">fixmod</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Haziran&nbsp;2014 Saat 09:10<br /><br />Günaydyn,<div><br></div><div>Cari kodlarymyz 6 ve 7 karakterden olu?uyor örne?in 363870 ve 1523504 gibi.</div><div>Herhangi bir ayraç kullanylmyyor. 120-01-363870 ?eklinde açmak istiyorum.&nbsp;</div><div><br></div><div>Te?ekkürler</div>]]>
   </description>
   <pubDate>Mon, 16 Jun 2014 09:10:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20289.html#20289</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : cari kod&amp;#039;larnyz ka&#231; karakter...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20287.html#20287</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=431">mbaykan</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 16&nbsp;Haziran&nbsp;2014 Saat 08:46<br /><br />cari kod'larnyz kaç karakter arada ayraç var my? bir örnek verir misiniz?<div>4000 sayysyndan bahsediyorsunuz Muhasebede muavin açylyrken klasik xxx-xx-999&nbsp;</div><div>de?ilde xxx-xx-9999 ?eklinde olacaktyr.</div><div>yardymcy olmam için biraz detay gerekir</div><div><br></div>]]>
   </description>
   <pubDate>Mon, 16 Jun 2014 08:46:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20287.html#20287</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : Selamlar, Netsis&amp;#039;te yeni...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20285.html#20285</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=4515">fixmod</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 15&nbsp;Haziran&nbsp;2014 Saat 20:12<br /><br />Selamlar,<!--  bmi_SafeAdd&#079;nload(bmi_load,"bmi_orig_img",0);//--><div>Netsis'te yeni oldu?um için bu i?i tam çözemedim. Sorunum bu konuya yakyn.&nbsp;</div><div>Cari hesap kartlaryny programcymyz aktardy. Ama hesap planlaryny olu?turamady.&nbsp;</div><div>Hesap planlaryny olu?turup carilere ba?lamak istiyorum.&nbsp;</div><div><br></div><div>Bunun için 120-01-&#091;CariKod&#093; ?eklinde açmak istiyorum.&nbsp;</div><div>Bir kysym mü?teri hesaplaryny manuel açtym ama eksikler var ve 4 bin civary cari kart var.&nbsp;</div><div>yardymcy olabilirseniz sevinirim.&nbsp;</div><div><br></div><div>?imdiden te?ekkürler</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 15 Jun 2014 20:12:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post20285.html#20285</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : rifatgunduz bey   benim derledigim...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11551.html#11551</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2413">muzdarip</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Nisan&nbsp;2010 Saat 18:14<br /><br /><a href="http://www.erpne.org/member_profile.asp?PF=2092&amp;FID=15" target="_blank"><FONT color=#000000>rifatgunduz</FONT></A> bey <DIV>&nbsp;</DIV><DIV>benim derledigim trigger de sorunsuz çalisiyor bir sikinti yasarmiyim bu haliyle.</DIV><DIV>ilginize tesekkürler.</DIV>]]>
   </description>
   <pubDate>Mon, 12 Apr 2010 18:14:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11551.html#11551</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : arkadaslar verdiginiz fikirlerden...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11550.html#11550</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2413">muzdarip</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Nisan&nbsp;2010 Saat 18:07<br /><br /><img src="http://www.erpne.org/smileys/smiley2.gif" height="17" width="17" border="0" align="absmiddle" alt="Wink" />&nbsp; arkadaslar verdiginiz fikirlerden yola çikarak 1 2 ilaveyle istedigimi elde ettim.<DIV>&nbsp;</DIV><DIV>Çok subeli çalisan firmalar için çalisan hali asagida. '120-0x1-xxxx&nbsp;&nbsp;&nbsp; olarak'</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>çok tesekkür ediyorum. </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><FONT color=#0000ff size=2><FONT color=#0000ff size=2><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>CREATE</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>TRIGGER</FONT></FONT><FONT color=#000000 size=2> &#091;dbo&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2><FONT color=#000000>&#091;triatekd&#093; </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>ON</FONT></FONT><FONT color=#000000 size=2> &#091;dbo&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2><FONT color=#000000>&#091;TBLCASABIT&#093; </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>AFTER</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>INSERT</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2><P>NOT</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FOR</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>REPLICATION</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>AS</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>BEGIN</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>DECLARE</FONT></FONT><FONT color=#000000 size=2> @HESAP_KODU </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>VARCHAR</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>35</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>DECLARE</FONT></FONT><FONT color=#000000 size=2> @TIP </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>CHAR</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>1</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>DECLARE</FONT></FONT><FONT color=#000000 size=2> @SUBE_KODU </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>CHAR</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>1</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>DECLARE</FONT></FONT><FONT color=#000000 size=2> @CARI_ISIM </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>varchar</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>100</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>SELECT</FONT></FONT><FONT color=#000000 size=2> @SUBE_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#000000 size=2>SUBE_KODU </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2><FONT color=#000000> INSERTED</FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>SELECT</FONT></FONT><FONT color=#000000 size=2> @CARI_ISIM</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#000000 size=2>CARI_ISIM </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2><FONT color=#000000> INSERTED</FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>SELECT</FONT></FONT><FONT color=#000000 size=2> @TIP</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#000000 size=2>CARI_TIP </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2><FONT color=#000000> INSERTED </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>IF</FONT></FONT><FONT color=#000000 size=2> @TIP</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'A'</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>BEGIN</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>SELECT</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>top</FONT></FONT><FONT color=#000000 size=2> 1 @HESAP_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>CASE</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHEN</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>LEN</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(RIGHT(</FONT></FONT><FONT color=#000000 size=2>&#091;HESAP_KODU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>4</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#000000 size=2>1</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)=</FONT></FONT><FONT color=#000000 size=2>1 </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>THEN</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>LEFT(</FONT></FONT><FONT color=#000000 size=2>HESAP_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>7</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'00'</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>+</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2><P>CAST</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(RIGHT(</FONT></FONT><FONT color=#000000 size=2>&#091;HESAP_KODU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>4</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#000000 size=2>1 </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>AS</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>VARCHAR</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHEN</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2><P>LEN</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(RIGHT(</FONT></FONT><FONT color=#000000 size=2>&#091;HESAP_KODU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>4</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#000000 size=2>1</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)=</FONT></FONT><FONT color=#000000 size=2>2 </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>THEN</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>LEFT(</FONT></FONT><FONT color=#000000 size=2>HESAP_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>7</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'0'</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>+</FONT></FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>CAST</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(RIGHT(</FONT></FONT><FONT color=#000000 size=2>&#091;HESAP_KODU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>4</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#000000 size=2>1 </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>AS</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>VARCHAR</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ELSE</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>LEFT(</FONT></FONT><FONT color=#000000 size=2>HESAP_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>7</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#ff00ff size=2><FONT color=#ff00ff size=2>CAST</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(RIGHT(</FONT></FONT><FONT color=#000000 size=2>&#091;HESAP_KODU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT color=#000000 size=2>4</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)+</FONT></FONT><FONT color=#000000 size=2>1 </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>AS</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>VARCHAR</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>END</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT size=2><FONT color=#000000> &#091;TBLMUPLAN&#093; </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>WHERE</FONT></FONT><FONT color=#000000 size=2> HESAP_KODU </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>LIKE</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'120-0%'</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>AND</FONT></FONT><FONT color=#000000 size=2> AGM</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'M'</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>and</FONT></FONT><FONT color=#000000 size=2> sube_kodu</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#000000 size=2>@sube_kodu </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ORDER</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT color=#000000 size=2> HESAP_KODU </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>DESC</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>INSERT</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>INTO</FONT></FONT><FONT size=2><FONT color=#000000> TBLMUPLAN </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>SELECT</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>TOP</FONT></FONT><FONT size=2><FONT color=#000000> 1 @SUBE_KODU </FONT></P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;ISLETME_KODU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>@HESAP_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;AGM&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>@CARI_ISIM</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;HS_YD_ADI&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;HS_GRKOD&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;OLCU_BIRIM&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;HS_BLKZ&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;CALIS_TIP&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;CALIS_BAG&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;DOVIZLIMI&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;DOVIZ_TIPI&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;HESAPLAMATURU&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;DOVIZKONTROL&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;UPDATE_KODU&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;REFKODLU_CALIS&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK1&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK2&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK3&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK4&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK5&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK6&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK7&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK8&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;YEDEK9&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;KAYITYAPANKUL&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;KAYITTARIHI&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;DUZELTMEYAPANKUL&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;DUZELTMETARIHI&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;ONAYTIPI&#093; </P><P></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;ONAYNUM&#093;</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>,</FONT></FONT><FONT size=2>&#091;ENF_FARK_HESKOD&#093; </P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>FROM</FONT></FONT><FONT size=2><FONT color=#000000> &#091;TBLMUPLAN&#093; </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>WHERE</FONT></FONT><FONT color=#000000 size=2> HESAP_KODU </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>LIKE</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'120-0%'</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>AND</FONT></FONT><FONT color=#000000 size=2> AGM</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#ff0000 size=2><FONT color=#ff0000 size=2>'M'</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>ORDER</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>BY</FONT></FONT><FONT color=#000000 size=2> HESAP_KODU </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>DESC</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>INSERT</FONT></FONT><FONT color=#000000 size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>INTO</FONT></FONT><FONT color=#000000 size=2> TBLMUPLANEK</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>KOD</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>VALUES</FONT></FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>(</FONT></FONT><FONT color=#000000 size=2>@HESAP_KODU</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>)</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>UPDATE</FONT></FONT><FONT color=#000000 size=2> TBLCASABIT </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>SET</FONT></FONT><FONT color=#000000 size=2> M_KOD</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#000000 size=2>@HESAP_KODU </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>FROM</FONT></FONT><FONT color=#000000 size=2> INSERTED </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>WHERE</FONT></FONT><FONT color=#000000 size=2> TBLCASABIT</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT color=#000000 size=2>CARI_KOD</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>=</FONT></FONT><FONT color=#000000 size=2>INSERTED</FONT><FONT color=#808080 size=2><FONT color=#808080 size=2>.</FONT></FONT><FONT size=2><FONT color=#000000>CARI_KOD</FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>END</FONT></FONT><FONT size=2><FONT color=#000000> </FONT></P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>END</P></FONT></FONT></FONT></FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 12 Apr 2010 18:07:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11550.html#11550</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : Test etmelisiniz.  ALTERTRIGGER...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11549.html#11549</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2092">rifatgunduz</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Nisan&nbsp;2010 Saat 18:06<br /><br /><DIV></DIV>Test etmelisiniz.<DIV><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">ALTER&nbsp;TRIGGER &#091;dbo&#093;.&#091;TRIGGERIN_TURKCESI_TETIKLEYICIDIR&#093; <BR>ON &#091;dbo&#093;.&#091;TBLCASABIT&#093; <BR>AFTER INSERT <BR>NOT FOR REPLICATION <BR>AS <BR>BEGIN <BR>DECLARE @HESAP_KODU VARCHAR(35) <BR>DECLARE @TIP CHAR(1) <BR>SELECT @TIP=CARI_TIP,@SUBE=SUBE_KODU FROM INSERTED <BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">IF @TIP='A' <BR>BEGIN <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">IF @SUBE=0<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">BEGIN<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt 106.2pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">SELECT top 1 @HESAP_KODU=CASE WHEN LEN(RIGHT(&#091;HESAP_KODU&#093;,3)+1)=1 THEN LEFT(HESAP_KODU,7)+'00'+ <BR>CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) WHEN <BR>LEN(RIGHT(&#091;HESAP_KODU&#093;,3)+1)=2 THEN LEFT(HESAP_KODU,7)+'0'+CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) ELSE LEFT(HESAP_KODU,7)+CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) <BR>END FROM &#091;TBLMUPLAN&#093; <BR>WHERE HESAP_KODU LIKE '120-01%' AND AGM='M' ORDER BY HESAP_KODU DESC <BR><BR>INSERT INTO TBLMUPLAN <BR>SELECT TOP 1 &#091;SUBE_KODU&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;ISLETME_KODU&#093;,@HESAP_KODU,&#091;AGM&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;HS_ADI&#093;,&#091;HS_YD_ADI&#093;,&#091;HS_GRKOD&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;OLCU_BIRIM&#093;,&#091;HS_BLKZ&#093;,&#091;CALIS_TIP&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;CALIS_BAG&#093;,&#091;DOVIZLIMI&#093;,&#091;DOVIZ_TIPI&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;HESAPLAMATURU&#093;,&#091;DOVIZKONTROL&#093;,&#091;UPDATE_KODU&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;REFKODLU_CALIS&#093;,&#091;YEDEK1&#093;,&#091;YEDEK2&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK3&#093;,&#091;YEDEK4&#093;,&#091;YEDEK5&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK6&#093;,&#091;YEDEK7&#093;,&#091;YEDEK8&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK9&#093;,&#091;KAYITYAPANKUL&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;KAYITTARIHI&#093;,&#091;DUZELTMEYAPANKUL&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;DUZELTMETARIHI&#093;,&#091;ONAYTIPI&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;ONAYNUM&#093;,&#091;ENF_FARK_HESKOD&#093; <BR>FROM &#091;TBLMUPLAN&#093; <BR>WHERE HESAP_KODU LIKE '120-01%' AND AGM='M' ORDER BY HESAP_KODU DESC <BR><BR>INSERT INTO TBLMUPLANEK(KOD) <BR>VALUES(@HESAP_KODU) <BR>UPDATE TBLCASABIT SET M_KOD=@HESAP_KODU FROM INSERTED WHERE TBLCASABIT.CARI_KOD=INSERTED.CARI_KOD <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">END <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">IF @SUBE=5<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">BEGIN<o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt 106.2pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">SELECT top 1 @HESAP_KODU=CASE WHEN LEN(RIGHT(&#091;HESAP_KODU&#093;,3)+1)=1 THEN LEFT(HESAP_KODU,7)+'00'+ <BR>CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) WHEN <BR>LEN(RIGHT(&#091;HESAP_KODU&#093;,3)+1)=2 THEN LEFT(HESAP_KODU,7)+'0'+CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) ELSE LEFT(HESAP_KODU,7)+CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) <BR>END FROM &#091;TBLMUPLAN&#093; <BR>WHERE HESAP_KODU LIKE '120-05%' AND AGM='M' ORDER BY HESAP_KODU DESC <BR><BR>INSERT INTO TBLMUPLAN <BR>SELECT TOP 1 &#091;SUBE_KODU&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;ISLETME_KODU&#093;,@HESAP_KODU,&#091;AGM&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;HS_ADI&#093;,&#091;HS_YD_ADI&#093;,&#091;HS_GRKOD&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;OLCU_BIRIM&#093;,&#091;HS_BLKZ&#093;,&#091;CALIS_TIP&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;CALIS_BAG&#093;,&#091;DOVIZLIMI&#093;,&#091;DOVIZ_TIPI&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;HESAPLAMATURU&#093;,&#091;DOVIZKONTROL&#093;,&#091;UPDATE_KODU&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;REFKODLU_CALIS&#093;,&#091;YEDEK1&#093;,&#091;YEDEK2&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK3&#093;,&#091;YEDEK4&#093;,&#091;YEDEK5&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK6&#093;,&#091;YEDEK7&#093;,&#091;YEDEK8&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK9&#093;,&#091;KAYITYAPANKUL&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;KAYITTARIHI&#093;,&#091;DUZELTMEYAPANKUL&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;DUZELTMETARIHI&#093;,&#091;ONAYTIPI&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;ONAYNUM&#093;,&#091;ENF_FARK_HESKOD&#093; <BR>FROM &#091;TBLMUPLAN&#093; <BR>WHERE HESAP_KODU LIKE '120-05%' AND AGM='M' ORDER BY HESAP_KODU DESC <BR><BR>INSERT INTO TBLMUPLANEK(KOD) <BR>VALUES(@HESAP_KODU) <BR>UPDATE TBLCASABIT SET M_KOD=@HESAP_KODU FROM INSERTED WHERE TBLCASABIT.CARI_KOD=INSERTED.CARI_KOD <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt 35.4pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">END <o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR"><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; TEXT-INDENT: 35.4pt; MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-: TR">END<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 10pt" =Ms&#111;normal><FONT size=3 face=Calibri>END</FONT></P></DIV>]]>
   </description>
   <pubDate>Mon, 12 Apr 2010 18:06:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11549.html#11549</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : peki sartlari zorlayarak ayni...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11548.html#11548</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2413">muzdarip</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Nisan&nbsp;2010 Saat 16:59<br /><br /><P>peki sartlari zorlayarak ayni sirkette 2 sube çalisiyor 120-01-xxxx ve 120-05-xxxx dizisinde kod açiyoruz , bu ahvalde kod nasil olmali </P><DIV>&nbsp;</DIV><DIV>sube_kodu 5 se 120-05-xxxx sube_kodu=0 sa 120-01-xxxx mantiginda yürütmek mümkün mü ?</DIV>]]>
   </description>
   <pubDate>Mon, 12 Apr 2010 16:59:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11548.html#11548</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : Selam, Oyunun yazdigi kodta 120-01-xxx...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11547.html#11547</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2092">rifatgunduz</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Nisan&nbsp;2010 Saat 16:48<br /><br /><P>Selam,</P><DIV>Oyunun yazdigi kodta 120-01-xxx li muavin açilip baglaniyor. Sizin istediginiz 120-05-xxx olacagindan asagidaki gibi güncelleme yapabilirsiniz.</DIV><DIV>ALTER&nbsp;TRIGGER &#091;dbo&#093;.&#091;TRIGGERIN_TURKCESI_TETIKLEYICIDIR&#093; <BR>ON &#091;dbo&#093;.&#091;TBLCASABIT&#093; <BR>AFTER INSERT <BR>NOT FOR REPLICATION <BR>AS <BR>BEGIN <BR>DECLARE @HESAP_KODU VARCHAR(35) <BR>DECLARE @TIP CHAR(1) <BR>SELECT @TIP=CARI_TIP FROM INSERTED <BR>IF @TIP='A' <BR>BEGIN <BR>SELECT top 1 @HESAP_KODU=CASE WHEN LEN(RIGHT(&#091;HESAP_KODU&#093;,3)+1)=1 THEN LEFT(HESAP_KODU,7)+'00'+ <BR>CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) WHEN <BR>LEN(RIGHT(&#091;HESAP_KODU&#093;,3)+1)=2 THEN LEFT(HESAP_KODU,7)+'0'+CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) ELSE LEFT(HESAP_KODU,7)+CAST(RIGHT(&#091;HESAP_KODU&#093;,3)+1 AS VARCHAR) <BR>END FROM &#091;TBLMUPLAN&#093; <BR>WHERE HESAP_KODU LIKE '120-05%' AND AGM='M' ORDER BY HESAP_KODU DESC <BR><BR>INSERT INTO TBLMUPLAN <BR>SELECT TOP 1 &#091;SUBE_KODU&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;ISLETME_KODU&#093;,@HESAP_KODU,&#091;AGM&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;HS_ADI&#093;,&#091;HS_YD_ADI&#093;,&#091;HS_GRKOD&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;OLCU_BIRIM&#093;,&#091;HS_BLKZ&#093;,&#091;CALIS_TIP&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;CALIS_BAG&#093;,&#091;DOVIZLIMI&#093;,&#091;DOVIZ_TIPI&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;HESAPLAMATURU&#093;,&#091;DOVIZKONTROL&#093;,&#091;UPDATE_KODU&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;REFKODLU_CALIS&#093;,&#091;YEDEK1&#093;,&#091;YEDEK2&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK3&#093;,&#091;YEDEK4&#093;,&#091;YEDEK5&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK6&#093;,&#091;YEDEK7&#093;,&#091;YEDEK8&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;YEDEK9&#093;,&#091;KAYITYAPANKUL&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;KAYITTARIHI&#093;,&#091;DUZELTMEYAPANKUL&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;DUZELTMETARIHI&#093;,&#091;ONAYTIPI&#093; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,&#091;ONAYNUM&#093;,&#091;ENF_FARK_HESKOD&#093; <BR>FROM &#091;TBLMUPLAN&#093; <BR>WHERE HESAP_KODU LIKE '120-05%' AND AGM='M' ORDER BY HESAP_KODU DESC <BR><BR>INSERT INTO TBLMUPLANEK(KOD) <BR>VALUES(@HESAP_KODU) <BR>UPDATE TBLCASABIT SET M_KOD=@HESAP_KODU FROM INSERTED WHERE TBLCASABIT.CARI_KOD=INSERTED.CARI_KOD <BR>END <BR>END<SPAN style="FONT-SIZE: 10px"><BR></SPAN></DIV>]]>
   </description>
   <pubDate>Mon, 12 Apr 2010 16:48:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11547.html#11547</guid>
  </item> 
  <item>
   <title><![CDATA[tblcasabit.M_kod ve Tblmuplan.hesap_kodu  ? : sayin oyun hizli cevap verdiginiz...]]></title>
   <link>http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11545.html#11545</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.erpne.org/member_profile.asp?PF=2413">muzdarip</a><br /><strong>Konu:</strong> 2053<br /><strong>Gönderim Zamanı:</strong> 12&nbsp;Nisan&nbsp;2010 Saat 16:29<br /><br /><P>sayin oyun hizli cevap verdiginiz için tesekkür ederim </P><DIV>&nbsp;</DIV><DIV>tetikleyiciyi yarattigimda herhangi bi sorun almadim fakat </DIV><DIV>netsiste yeni cari açtigimda söyle bir hata aliyorum ;</DIV><DIV>&nbsp;</DIV><DIV>Veri taban ileminde hata!<BR>&#091;DBQuery : CariMas_Inq<BR>SQL : Insert Into CASABIT (CASABIT.SUBE_KODU, CASABIT.ISLETME_KODU, CASABIT.CARI_KOD, CASABIT.CARI_ISIM, CASABIT.CARI_TIP, CASABIT.DOVIZ_TIPI, CASABIT.HESAPTUTMASEKLI, CASABIT.DOVIZLIMI, CASABIT.UPDATE_KODU, CASABIT.C_YEDEK1, CASABIT.B_YEDEK1, CASABIT.KAYITYAPANKUL, CASABIT.KAYITTARIHI, CASABIT.ODEMETIPI)<BR>&nbsp;Values ( :CASABIT.SUBE_KODU ,&nbsp; :CASABIT.ISLETME_KODU ,&nbsp; :CASABIT.CARI_KOD ,&nbsp; :CASABIT.CARI_ISIM ,&nbsp; :CASABIT.CARI_TIP ,&nbsp; :CASABIT.DOVIZ_TIPI ,&nbsp; :CASABIT.HESAPTUTMASEKLI ,&nbsp; :CASABIT.DOVIZLIMI ,&nbsp; :CASABIT.UPDATE_KODU ,&nbsp; :CASABIT.C_YEDEK1 ,&nbsp; :CASABIT.B_YEDEK1 ,&nbsp; :CASABIT.KAYITYAPANKUL ,&nbsp; :CASABIT.KAYITTARIHI ,&nbsp; :CASABIT.ODEMETIPI )</DIV><DIV>Cannot insert the value NULL into column 'KOD', table 'ARTUT10.dbo.TBLMUPLANEK'; column does not allow nulls. INSERT fails.(NetsisMS-23000,515)<BR>The statement has been terminated.(NetsisMS-01000,3621)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>ayrica subeli çalistigimizdan 120-05-0000 sistemini kullaniyoruz. depistirmem gereken yerlerde mi yanlislik yaptim acaba ?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>tekrar tesekkür ederim</DIV>]]>
   </description>
   <pubDate>Mon, 12 Apr 2010 16:29:23 +0000</pubDate>
   <guid isPermaLink="true">http://www.erpne.org/tblcasabit-m-kod-ve-tblmuplan-hesap-kodu_topic2053_post11545.html#11545</guid>
  </item> 
 </channel>
</rss>