<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Atiker Yaz&#305;l&#305;m | Forum : Belge Numarası Türetmek</title>
  <link>http://www.atikeryazilim.com.tr/</link>
  <description><![CDATA[XML içerik linki; Atiker Yaz&#305;l&#305;m | Forum : &#214;zel Ekran : Belge Numarası Türetmek]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 19:28:25 +0000</pubDate>
  <lastBuildDate>Thu, 25 Oct 2018 14:39:39 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.atikeryazilim.com.tr/RSS_post_feed.asp?TID=327</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Atiker Yaz&#305;l&#305;m | Forum]]></title>
   <url>http://www.atikeryazilim.com.tr/forum_images/logo.png</url>
   <link>http://www.atikeryazilim.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Belge Numarası Türetmek : &#214;zel ekran &#231;al&#305;&#351;malar&#305;nda belge...]]></title>
   <link>http://www.atikeryazilim.com.tr/forum_posts.asp?TID=327&amp;PID=326&amp;title=belge-numarasi-turetmek#326</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://www.atikeryazilim.com.tr/member_profile.asp?PF=59">mervenur.demic</a><br /><strong>Konu:</strong> 327<br /><strong>Gönderim Zamanı:</strong> 25&nbsp;Ekim&nbsp;2018 Saat 14:39<br /><br /><p ="Ms&#111;normal">Özel ekran çalışmalarında belge numarası türetmek için gereklifonksiyon şu şekildedir;<o:p></o:p></p><p ="Ms&#111;normal"><i>function Fn_YeniBelgeNo(Kayit: string; BelgeTipi:string):String;<o:p></o:p></i></p><p ="Ms&#111;normal"><i>begin<o:p></o:p></i></p><p ="Ms&#111;normal"><i>result := '';<o:p></o:p></i></p><p ="Ms&#111;normal"><i>with AppQuery do<o:p></o:p></i></p><p ="Ms&#111;normal"><i>begin<o:p></o:p></i></p><p ="Ms&#111;normal"><i>SQL.Text := 'DECLARE @BELGE_NO AyoDbBelgeNo';<o:p></o:p></i></p><p ="Ms&#111;normal"><i>SQL.Text := SQL.Text + ' EXEC PrgProcBtMasBelgeNo’ +QuotedStr(BelgeTipi)+','''','''','+QuotedStr(Kayit)+','+ QuotedStr(IntToStr(AppInfo.AppSube_Kodu)) + ',''000'',@BELGE_NO OUTPUT';<o:p></o:p></i></p><p ="Ms&#111;normal"><i>SQL.Text := SQL.Text + ' SELECT @BELGE_NO AS BELGE_NO';<o:p></o:p></i></p><p ="Ms&#111;normal"><i>Open;<o:p></o:p></i></p><p ="Ms&#111;normal"><i>if Found then<o:p></o:p></i></p><p ="Ms&#111;normal"><i>result := FieldByName('BELGE_NO').AsString;<o:p></o:p></i></p><p ="Ms&#111;normal"><i>end;<o:p></o:p></i></p><p ="Ms&#111;normal"><i>end;<o:p></o:p></i></p><p ="Ms&#111;normal"><o:p>&nbsp;</o:p></p><p ="Ms&#111;normal">Bu fonksiyon<b style="mso-bidi-font-weight:normal"> <i>Kayit</i></b>ve <b style="mso-bidi-font-weight:normal"><i>BelgeTipi</i> </b>olarak ikiparametre almaktadır.<o:p></o:p></p><p ="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--if !supLists--><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:  Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></span><!----><b style="mso-bidi-font-weight:normal"><i>Kayit: </i></b>E ya da H olabilir. E seçimi Belge numaratörünü bir arttırır. H seçimi<span style="mso-spacerun:yes">&nbsp;</span>yeni belge numarasını getirir fakat sonnumarayı arttırmaz. <o:p></o:p></p><p ="MsoListParagraph">(H <span style="mso-spacerun:yes">&nbsp;</span>: Yenikayıt, kayıt sil, yenile gibi işlemlerde , E&nbsp;&nbsp; : Kayıt tamamla işleminde seçilmesi dahauygundur.)</p><p ="MsoListParagraph"><o:p></o:p></p><p ="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--if !supLists--><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family:  Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></span><!----><b style="mso-bidi-font-weight:normal"><i>BelgeTipi:</i></b><i> </i>Belge numarasının hangi modüle ait olacağını belirtir. Ör:Satış faturası için F01 verilmelidir.</p><p ="Ms&#111;normal">Fonksiyonun kodda kullanımı şu şekildedir.<o:p></o:p></p><p ="Ms&#111;normal"><i>BELGE_NO.TEXT:=Fn_YeniBelgeNo('E','F02');<o:p></o:p></i></p><p ="Ms&#111;normal"><i>Alış faturası modülü için yeni belge no türetir. BELGE_NOeditine yazar ve son numarayı bir artırır.<o:p></o:p></i></p>]]>
   </description>
   <pubDate>Thu, 25 Oct 2018 14:39:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.atikeryazilim.com.tr/forum_posts.asp?TID=327&amp;PID=326&amp;title=belge-numarasi-turetmek#326</guid>
  </item> 
 </channel>
</rss>