<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3729</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3729&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Due Date is Before Invoice Date on Cash Only Direct Invoices.]]></description>
		<lastBuildDate>Mon, 14 Jan 2013 05:00:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15027#p15027</link>
			<description><![CDATA[<p>I downloaded it.&nbsp; Thanks!</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Mon, 14 Jan 2013 05:00:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15027#p15027</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15025#p15025</link>
			<description><![CDATA[<p>A working mercurial build is available for download <a href="https://frontaccounting.com/punbb/misc.php?action=pun_attachment&amp;item=51&amp;download=1">here</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 14 Jan 2013 00:24:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15025#p15025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15023#p15023</link>
			<description><![CDATA[<p>Apache and MySQL are both on the same server, so I&#039;m assuming that the time zone variable for both are identical, but even if they aren&#039;t the difference would be a matter of hours, not days.</p><p>My problem is that FA is consistently grabbing the invoice date for the <em>previous</em> invoice, not the current one, when posting invoices that have a payment term of &quot;cash.&quot;&nbsp; If I&#039;m entering an invoice with an invoice date of 2013/01/13 and the previous invoice has an invoice date of 2012/07/01 then the due date for my new invoice will be set to <em>2012/07/01</em> when I post it if the payment terms is set to &quot;cash.&quot;&nbsp; So, again, I doubt than error has anything to do with how Apache and SQL time zones are setup.</p><p>As for the Mercurial Build, I suppose I could do a db backup of the production server, install Mercurial, and then restore the data into Mercurial.&nbsp; That would save me from having to re-enter the data again.</p><p>Thanks for the help and suggestion!</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Mon, 14 Jan 2013 00:01:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15023#p15023</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15018#p15018</link>
			<description><![CDATA[<p>Date functions use date subtraction and date intervals usually. Hence the PHP/Apache TimeZone in general is assumed to match the MySQL TimeZone setting. I have not had the time as yet to look into the exact code and why this occurs and if it is an exception for your environment.</p><p>As for the Mercurial Build, it is advisable to work on a clone of the earlier db and try Setup -&gt; SoftwareUpgrade. Alternatively on a new database and mercurial build, try with the demo data.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 13 Jan 2013 22:30:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15018#p15018</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15007#p15007</link>
			<description><![CDATA[<p>Hi, apmuthu!</p><p>I have decided that I wouldn&#039;t mind trying the Mercurial build, but can you explain to me how to do it so that the Mercurial build accesses the same database so I don&#039;t have to set-up everything from scratch?&nbsp; I tried uploading the files (to a separate directory, of course!) and then copying the config.php and config_db.php files&nbsp; from the 2.3.13 directory to the new mercurial directory, but when I tried accessing the site that bombed big time.</p><p>Thanks!</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Sun, 13 Jan 2013 07:52:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15007#p15007</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14988#p14988</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Is the server date/timezone affecting the issue?</p></blockquote></div><p>I don&#039;t see how that could be a factor?&nbsp; It appears to me that the program is grabbing the last invoice&#039;s invoice date instead of the current invoice&#039;s invoice date when it posts the transaction.&nbsp; What would that have to do with the server&#039;s date/timezone setting?</p><div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Want to try it out in the <a href="https://frontaccounting.com/punbb/viewtopic.php?pid=14332#p14332">later Mercurial build</a> ?</p></blockquote></div><p>I guess if you folks are totally stumped I could install on that build, but that would require quite a bit of work on my part (installing and configuring the build, setting-up accounts, adding data, etc.).&nbsp; Are we at that point yet?</p><p>Thanks for replying, and thanks for your help!</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Sat, 12 Jan 2013 08:47:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14988#p14988</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14985#p14985</link>
			<description><![CDATA[<p>Is the server date/timezone affecting the issue?</p><p>Want to try it out in the <a href="https://frontaccounting.com/punbb/viewtopic.php?pid=14332#p14332">later Mercurial build</a> ?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 12 Jan 2013 08:32:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14985#p14985</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14970#p14970</link>
			<description><![CDATA[<p>Any luck in figuring this out?</p><p>As a short-term workaround, I have created another payment term with a days_before_due of &quot;1&quot; instead of &quot;0&quot; and I&#039;m using that for cash sales.&nbsp; That gets the due date &quot;close enough&quot; but then I have to remember to move the due date back one day on the entry screen so that it&#039;s the same date as the invoice date (not a big deal if I miss that, though).&nbsp; When I post the transaction the invoice and due dates match, but then I have to go and manually allocate and post the payment.&nbsp; That&#039;s a bit of a PITA but I can deal with it until we get this solved.</p><p>Thanks for your help.</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Fri, 11 Jan 2013 17:16:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14970#p14970</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14939#p14939</link>
			<description><![CDATA[<div class="quotebox"><cite>joe wrote:</cite><blockquote><p>This is strange. I cannot reproduce this (only if the invoice date is before todays date, the due date is todays date, when payment type is cash).</p></blockquote></div><p>These are invoices with an invoice date before today&#039;s date, but that shouldn&#039;t matter, should it?&nbsp; For any invoice where the payment terms are &quot;Cash&quot; the invoice and due dates should be the same.</p><div class="quotebox"><cite>joe wrote:</cite><blockquote><p>Which release of FA are you using?</p><p>/Joe</p></blockquote></div><p>I&#039;m using version 2.3.13 db version 2.3rc (according to version.php).&nbsp; I checked the database and it is posting the wrong date to fl_debtor_trans so the problem is in the posting routine somewhere.</p><p>Thanks, again, for your help!</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Wed, 09 Jan 2013 17:49:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14939#p14939</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14934#p14934</link>
			<description><![CDATA[<p>This is strange. I cannot reproduce this (only if the invoice date is before todays date, the due date is todays date, when payment type is cash).</p><p>Which release of FA are you using?</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 09 Jan 2013 08:20:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14934#p14934</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14930#p14930</link>
			<description><![CDATA[<p>Uhhhh....&nbsp; I think I may have figured out what&#039;s happening, although I haven&#039;t a clue why it&#039;s happening or how to fix it.&nbsp; It looks like for payment type &quot;cash&quot; it&#039;s taking the due date from the invoice date of the previous invoice.&nbsp; Here&#039;s a couple of examples of what I mean:</p><div class="codebox"><pre><code>Invoice # 109 has an invoice date of 2012/04/15, terms of &quot;first day of next month&quot;, and a due date of 2014/05/01 (correct!).

Invoice # 110 has an invoice date of 2012/04/17, terms of &quot;cash&quot;, and a due date of 2014/04/15 (wrong!).

Invoice # 111 has an invoice date of 2012/04/28, terms of &quot;cash&quot;, and a due date of 2014/04/17 (wrong again!)</code></pre></div><p>I haven&#039;t done that many direct invoices, but I&#039;ve checked them all and it&#039;s consistent that whenever the payment terms is set to &quot;Cash Only&quot; (which has a payment type set to &quot;Cash&quot; in the setup) FA always sets the due date to the invoice date of the previous invoice not the invoice date of the current invoice.</p><p>Hope that helps you track down the solution&nbsp; Thanks again for your help!</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Tue, 08 Jan 2013 18:08:32 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14930#p14930</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14928#p14928</link>
			<description><![CDATA[<div class="quotebox"><cite>joe wrote:</cite><blockquote><p>Please check that your Cash Only is not set to Prepayment type in Setup tab, Payment Terms. It should be set to cash.</p><p>/Joe</p></blockquote></div><p>Hi, Joe!</p><p>Nope.&nbsp; It&#039;s set to &quot;Cash&quot; in payment terms.&nbsp; Btw, just for giggles I tried setting up another payment term with due after number of days set to zero to see if that would work differently, but when I saved the recordt FA flipped the payment type to cash.</p><p>Thanks for you help!</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Tue, 08 Jan 2013 17:36:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14928#p14928</guid>
		</item>
		<item>
			<title><![CDATA[Re: Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14921#p14921</link>
			<description><![CDATA[<p>Please check that your Cash Only is not set to Prepayment type in Setup tab, Payment Terms. It should be set to cash.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Tue, 08 Jan 2013 07:49:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14921#p14921</guid>
		</item>
		<item>
			<title><![CDATA[Due Date is Before Invoice Date on Cash Only Direct Invoices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14920#p14920</link>
			<description><![CDATA[<p>I installed FA yesterday, and I&#039;m moving my sales data into FA by doing direct invoices.&nbsp; I just noticed that when I print a direct invoice the due date is before the invoice date for Cash Only sales (i.e. with payment type set to &quot;cash&quot; in the payment terms setup).&nbsp; Shouldn&#039;t the invoice date and due date be the same for payment type cash?&nbsp; Btw, when I post the transaction, the payment date in the G/L is the invoice date, not the (incorrect) due date according to the invoice, so at least everything is posting correctly.&nbsp; But, the invoice sure looks dumb (payment is &quot;due&quot; before I even do the invoice???).&nbsp; LOL!</p><p>Any help in fixing this would be greatly appreciated!</p><p>Thanks!</p><p>Regards,</p><p>Chris</p>]]></description>
			<author><![CDATA[null@example.com (chrison)]]></author>
			<pubDate>Tue, 08 Jan 2013 07:22:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14920#p14920</guid>
		</item>
	</channel>
</rss>
