<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Transaction References]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7031&amp;type=atom" />
	<updated>2017-10-13T18:40:52Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7031</id>
		<entry>
			<title type="html"><![CDATA[Re: Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29039#p29039" />
			<content type="html"><![CDATA[<p>Hi poncho,</p><p>Its started working for the Journal Entry too! Thank you so much!</p><p>/TOR</p>]]></content>
			<author>
				<name><![CDATA[TOR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17069</uri>
			</author>
			<updated>2017-10-13T18:40:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29039#p29039</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29038#p29038" />
			<content type="html"><![CDATA[<p>Thank you poncho <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /> Viola!! It worked fine for Bank Payments. But it doesn&#039;t seem to work for the Journal Entry somehow.</p><p>Thank you apmuthu for the placeholder info. Thats pretty useful.</p><p>You guys are just great! Thanks. But let me tell you my problems aren&#039;t over yet <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /> <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>/TOR</p>]]></content>
			<author>
				<name><![CDATA[TOR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17069</uri>
			</author>
			<updated>2017-10-13T18:15:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29038#p29038</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29015#p29015" />
			<content type="html"><![CDATA[<p>The lines 55-67 of <strong>includes/references.inc</strong><br /></p><div class="codebox"><pre><code>$refline_placeholders = array(
    &#039;MM&#039; =&gt; &#039;date&#039;,
    &#039;YY&#039; =&gt; &#039;date&#039;,
    &#039;YYYY&#039; =&gt; &#039;date&#039;,
    &#039;UU&#039; =&gt; &#039;user&#039;,
     &#039;P&#039; =&gt; &#039;pos&#039;,
//     FIXME:  for placeholders below all the code should work, but as the ref length is variable,
//       length specification in placeholder format should be implemented.
//    &#039;C&#039; =&gt; &#039;customer&#039;,
//    &#039;B&#039; =&gt; &#039;branch&#039;,
//    &#039;S&#039; =&gt; &#039;supplier&#039;,
//    &#039;L&#039; =&gt; &#039;location&#039;
);</code></pre></div><p>Hence <em>{UU}</em> is the <em>logged in <strong>user</strong></em>.</p><p>The method <strong>function _parse_next()</strong> gets the next formatted reference.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-12T19:37:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29015#p29015</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29001#p29001" />
			<content type="html"><![CDATA[<p>Just so we&#039;re on the same page.. FA 2.42 go to setup - Transaction References - edit a reference copy an paste the following:- {YY}{MM}-{001} exactly as it is written with curly brackets and YY &amp; MM. This works for me. My pasted example gives 1710-001, my next entry was 1710-002, etc....</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-12T14:11:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29001#p29001</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29000#p29000" />
			<content type="html"><![CDATA[<p>Thank you for your reply poncho1234.</p><p>It is not happening at my end. I tried to copy the same syntax as you ie., 102017/001. The new JV (Journal Entry) becomes 102018/001 instead of 102017/002.</p><p>This numbering problem becomes even more troublesome when dealing with multiple Bank Payment Transaction Types.</p><p>/TOR</p>]]></content>
			<author>
				<name><![CDATA[TOR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17069</uri>
			</author>
			<updated>2017-10-12T13:23:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29000#p29000</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28997#p28997" />
			<content type="html"><![CDATA[<p>Hi, just tried this,... {MM}{YYYY}/{001} Which gives 102017/001, next invoice&nbsp; updates to 002, So for your case JV-{YY}{MM}-{001} will work.</p><p>Placeholders can only be {UU},{P},{MM},{YYYY} &amp; {YY}</p><br /><p>Not sure what the {UU}&amp;{P} are for; they give 01 &amp; 1 respectively.</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-12T12:21:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28997#p28997</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Transaction References]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28996#p28996" />
			<content type="html"><![CDATA[<p>I am using FA 2.4.2 Build 30.07.2017 and am stuck at Transaction Reference section.</p><p>I want to use the following format:</p><p>For Journal Entries: JV-1710-1 , where JV is the prefix for Journal Voucher, 1710 denotes the year 2017 and 10 denotes the month (October) and actual number of the voucher is 1 which should be increased everytime a new JV is processed.</p><p>But FA actually increases 1710 and makes the next number as JV-1711-1. How can I stop the middle number from increasing and start the last number after hyphen to increase by 1.</p><p>/TOR</p>]]></content>
			<author>
				<name><![CDATA[TOR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17069</uri>
			</author>
			<updated>2017-10-12T10:11:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28996#p28996</id>
		</entry>
</feed>
