<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — How to disable "Reference" for invoice]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3028&amp;type=atom" />
	<updated>2013-01-28T06:16:28Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3028</id>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15321#p15321" />
			<content type="html"><![CDATA[<p>Thanks Joe, Its working&nbsp; perfectly</p>]]></content>
			<author>
				<name><![CDATA[shive9jai]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17188</uri>
			</author>
			<updated>2013-01-28T06:16:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15321#p15321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15293#p15293" />
			<content type="html"><![CDATA[<p>Thanks Joe, your HG commit <a href="https://frontaccounting.hg.sourceforge.net/hgweb/frontaccounting/frontaccounting/rev/569151fe1118">3160</a> does the job.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-01-27T13:18:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15293#p15293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15228#p15228" />
			<content type="html"><![CDATA[<p>We have now solved this problem by presenting the increased number when getting the error &#039;Reference already in use&#039;.<br />The reference field is updated with this next number and the document is ready for save again.</p><p>We have chosen this method, so users can get a feed back if he wants to continue.</p><p>I know we could just update the number automatically with a warning, but we found the chosen method better. It is just a matter of re-saving the document.</p><p>Please download, rename the file sales_order_entry.php1 to sales_order_entry.php and replace the file in /sales/sales_order_entry.php.</p><p>The HG repository is also updated.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-01-24T13:01:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15228#p15228</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15225#p15225" />
			<content type="html"><![CDATA[<p>Hello again,</p><p>We are working on this. Will be back asap.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-01-24T08:35:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15225#p15225</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15222#p15222" />
			<content type="html"><![CDATA[<p>Thanks joe,<br />I think it should auto check ref no before posting and change that according to the current status. just like tran_no .</p><p>Pls reply this post also I need this urgently because I new to this I an going to apply this as soon as possible but these are my mandatory requirement please help me. Tell me any code and where I need to put that. </p><p>https://frontaccounting.com/punbb/viewtopic.php?id=3793</p>]]></content>
			<author>
				<name><![CDATA[shive9jai]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17188</uri>
			</author>
			<updated>2013-01-24T07:29:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15222#p15222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15209#p15209" />
			<content type="html"><![CDATA[<p>Another of the users took the reference number that was on screen. Increase the reference either when creating the documents or in Setup tab, Forms setup.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-01-23T09:27:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15209#p15209</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15208#p15208" />
			<content type="html"><![CDATA[<p>Hi I am using 2.3.14 but still I am having same problem &quot;The entered reference is already in use.&quot;</p><p>How to resolve this problem..............</p><p>I am using 3 users for sales at the same time</p>]]></content>
			<author>
				<name><![CDATA[shive9jai]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17188</uri>
			</author>
			<updated>2013-01-23T09:15:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15208#p15208</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12498#p12498" />
			<content type="html"><![CDATA[<p>It will come in release 2.3.11 that is about to be released shortly.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-05-18T06:54:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12498#p12498</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12494#p12494" />
			<content type="html"><![CDATA[<p>Thanks Joe for your reply.<br />Please tell me when you can solve.<br />I use 2.3.8 FA</p><p>Oswall</p>]]></content>
			<author>
				<name><![CDATA[oswall]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=179</uri>
			</author>
			<updated>2012-05-17T18:25:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12494#p12494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12418#p12418" />
			<content type="html"><![CDATA[<p>This doesn&#039;t solve the problem with double references. We have fixed this in next minor release. The test has to be inside a begin transaction - commit transaction for all the transactions.</p><p>/joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-05-08T13:53:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12418#p12418</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12414#p12414" />
			<content type="html"><![CDATA[<p>In the file sales_order_entry.php, if I comment the following code, solve the immediate problem.<br />But I wonder if you might have problems elsewhere in FA, if I do this.<br />The code is commented:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ($ Refs-&gt; is_valid ($ _POST [&#039;ref&#039;])) {<br />display_error (_ (&quot;You must enter a reference.&quot;));<br />set_focus (&#039;ref&#039;);<br />return false;<br />}<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; if ($ _SESSION [&#039;Items&#039;] -&gt; trans_no == 0 &amp;&amp;! is_new_reference ($ _POST [&#039;ref&#039;]<br />&nbsp; &nbsp; $ _SESSION [&#039;Items&#039;] -&gt; trans_type)) {<br />&nbsp; &nbsp; display_error (_ (&quot;The Entered reference is already in use.&quot;));<br />set_focus (&#039;ref&#039;);<br />&nbsp; &nbsp; return false;<br />&nbsp; &nbsp; } Elseif ($ _SESSION [&#039;Items&#039;] -&gt; get_items_total () &lt;0) {<br />display_error (&quot;Invoice total amount can not be less than zero.&quot;);<br />return false;<br />}</p><p>Thanks<br />Oswall</p>]]></content>
			<author>
				<name><![CDATA[oswall]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=179</uri>
			</author>
			<updated>2012-05-07T18:34:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12414#p12414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12376#p12376" />
			<content type="html"><![CDATA[<p>Yes you are right. The check on reference should be inside a transaction. This has now been fixed in the HG repository and will be included in the next minor release.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-05-02T17:04:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12376#p12376</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12374#p12374" />
			<content type="html"><![CDATA[<p>I note that FA assigns the reference number immediately upon entering the direct invoice screen.<br />I think it must allocate (create) just before the bill persist and have a free number.</p><p>Oswall</p>]]></content>
			<author>
				<name><![CDATA[oswall]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=179</uri>
			</author>
			<updated>2012-05-02T15:20:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12374#p12374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12373#p12373" />
			<content type="html"><![CDATA[<p>You can disable the uniqueness of the &quot;reference&quot;?.<br />Thus, no checks whether the reference number being used by another.<br />We use the invoice number, do not use the reference number.</p><p>Thanks<br />Oswall</p>]]></content>
			<author>
				<name><![CDATA[oswall]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=179</uri>
			</author>
			<updated>2012-05-02T14:28:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12373#p12373</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to disable "Reference" for invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12360#p12360" />
			<content type="html"><![CDATA[<p>There should be a check for this when saving. We will look closer into this.</p><p>Unfortunately you cannot disable the reference.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-05-01T07:13:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12360#p12360</id>
		</entry>
</feed>
