<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Release 2.3.19]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4512&amp;type=atom" />
	<updated>2014-01-27T11:09:13Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4512</id>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19108#p19108" />
			<content type="html"><![CDATA[<p>All HG Fixes since FA v2.3.19 was released till 2014-01-27 are attached to this post. Some have found issues in using unreleased code - See <a href="https://frontaccounting.com/punbb/viewtopic.php?pid=19069#p19069">Forum Post</a>. Hence use with care.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-01-27T11:09:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19108#p19108</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18989#p18989" />
			<content type="html"><![CDATA[<p>Hi </p><p>i am new to FA and when i used it first time i found 2 bugs </p><p>1.when creating invoice or quotation <br />&nbsp; &nbsp;while entering the product from drop down list after selecting product cant change the product untill product code is deleted and enter is pressed.</p><p>2.Sales/Reports and Analysis/Print Statements<br /> when the display print is clicked it will print a blank page .only when show also allocated is selected&nbsp; to yes will it print statement.<br />dont know if these two have been resolved or not.<br />Cheers <br />Rida</p>]]></content>
			<author>
				<name><![CDATA[rida]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18851</uri>
			</author>
			<updated>2014-01-14T02:15:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18989#p18989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18849#p18849" />
			<content type="html"><![CDATA[<p>All Current HG Repo fixes till 2014-01-04 with full slow query fix is available in the attachment to this post.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-12-29T18:35:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18849#p18849</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18494#p18494" />
			<content type="html"><![CDATA[<p>All current HG fixes since release are available as a zip file in this post that can safely overwrite on a v2.3.19 install.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-21T16:01:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18494#p18494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18407#p18407" />
			<content type="html"><![CDATA[<p>Janusz, Apmuthu, <br />thanks for paying attation to this problem. I really appreciate everybody&#039;s continuous work on making FA better and better!</p>]]></content>
			<author>
				<name><![CDATA[erwindebruin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4582</uri>
			</author>
			<updated>2013-11-10T16:12:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18407#p18407</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18399#p18399" />
			<content type="html"><![CDATA[<p>The fix has been submitted to Hg repo, and git mirror is already in sync with Hg. Sorry for any inconveniences, the problem with mirroring was due to some bugs in older git versions, now omitted in syncing script.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-11-10T14:32:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18399#p18399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18398#p18398" />
			<content type="html"><![CDATA[<p>@erwindebruin: Congrats. You have just snared a rare bug and provided both the fix and the reference to the issue that will help many projects. </p><p>In fact it is pertinent to quote the solution link for FA dev records:<br /></p><div class="quotebox"><blockquote><p>Monday, December 7, 2009</p><p><a href="http://blog.152.org/2009/12/mysql-error-1305-function-xxx-does-not.html">MySQL: Error 1305 - Function xxx does not exist</a></p><p>I ran into an odd issue on a project I updated awhile ago. I updated an existing sql statement to include <strong>IFNULL</strong> for an exclusion check. It worked fine on my dev machine, but caused an issue on the production machine. </p><p>The version of MySQL on my dev machine was a little bit newer than production so the issue never came up. Here is the error the sql server returned: </p><p><strong>#1305 - FUNCTION [DATABASE_NAME].ifnull does not exist </strong></p><p>Here is a little bit of the sql that caused the error: </p><p><strong>AND IFNULL ( `tbl_category_admin`.`admin_key_id` =5, true ) </strong></p><p>The problem was caused by the space between <strong>IFNULL</strong> and <strong>(</strong>. Changing it to <strong>IFNULL(</strong> solved the problem. If you run into an issue where MySQL returns an error saying a given function does not exist look for spaces between the function and the &quot;(&quot;.</p></blockquote></div><p>The affected file in the Repo can be browsed <a href="http://https:/sourceforge.net/p/frontaccounting/mercurial/ci/default/tree/gl/includes/db/gl_db_bank_trans.inc"><strong>here</strong></a> (see second IFNULL in lines 69-71).</p><p>Unfortunately, only Joe Hunt and Janusz (@itronics) have commit (write) rights to the core Hg Repo. Their reason being that the project would only then have tight control of the code and these seem to have been gleaned from the experiences in the upstream <a href="http://www.weberp.org">WebERP</a> and some other projects. It seems to have worked well so far.</p><p>Since the Official Git Mirror has not been updated in a while, I have now synched the Hg with <a href="https://www.github.com/apmuthu/frontaccounting">my personal GitHub repo</a> and <a href="https://github.com/apmuthu/frontaccounting/commit/162d45eb5ec26b993641606c5e8b048d77b76b98">included your fix</a> as well. </p><p>After several months of it&#039;s existence, only now has one active fork (of the 11 present) begun to provide code pulls to enhance FA.</p><p>Patch attached for Joe / Janusz to update the HG repo.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-10T10:13:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18398#p18398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18394#p18394" />
			<content type="html"><![CDATA[<p>Hi Apmuthu, </p><p>Thanks for your response. I have followed your steps and now know which file will trigger the following error:</p><div class="quotebox"><blockquote><p>Databasefout : query for bank transaction<br />error code : 1305<br />error message : FUNCTION frontaccounting.IFNULL does not exist<br />sql that failed was : SELECT bt.*, act.*, IFNULL(abs(dt.ov_amount), IFNULL (abs(st.ov_amount), bt.amount)) settled_amount, IFNULL(abs(dt.ov_amount/bt.amount), IFNULL (abs(st.ov_amount/bt.amount), 1)) settle_rate, IFNULL(debtor.curr_code, IFNULL (supplier.curr_code, act.bank_curr_code)) settle_curr FROM 12_bank_trans bt LEFT JOIN 12_debtor_trans dt ON dt.type=bt.type AND dt.trans_no=bt.trans_no LEFT JOIN 12_debtors_master debtor ON debtor.debtor_no = dt.debtor_no LEFT JOIN 12_supp_trans st ON st.type=bt.type AND st.trans_no=bt.trans_no LEFT JOIN 12_suppliers supplier ON supplier.supplier_id = st.supplier_id, 12_bank_accounts act WHERE act.id=bt.bank_act AND bt.type=&#039;2&#039; AND bt.trans_no = &#039;1&#039; ORDER BY trans_date, bt.id</p></blockquote></div><p>The 1305 error is triggered by the changed file <strong>/gl/includes/db/gl_db_bank_trans.inc</strong></p><p>I have googled a bit on the error code and found this post: <a href="http://blog.152.org/2009/12/mysql-error-1305-function-xxx-does-not.html">http://blog.152.org/2009/12/mysql-error … s-not.html</a></p><p>According to this instruction I have removed several spaces between IFNULL and the ( character in the file <strong>/gl/includes/db/gl_db_bank_trans.inc</strong> (1 space on each line in 69-71, so 3 in total).</p><p><span class="bbu">Original code (extract)</span><br /></p><div class="codebox"><pre><code>        IFNULL(abs(dt.ov_amount), IFNULL (abs(st.ov_amount), bt.amount)) settled_amount,
        IFNULL(abs(dt.ov_amount/bt.amount), IFNULL (abs(st.ov_amount/bt.amount), 1)) settle_rate,
        IFNULL(debtor.curr_code, IFNULL (supplier.curr_code, act.bank_curr_code)) settle_curr</code></pre></div><p><span class="bbu">Changed code (extract)</span><br /></p><div class="codebox"><pre><code>        IFNULL(abs(dt.ov_amount), IFNULL(abs(st.ov_amount), bt.amount)) settled_amount,
        IFNULL(abs(dt.ov_amount/bt.amount), IFNULL(abs(st.ov_amount/bt.amount), 1)) settle_rate,
        IFNULL(debtor.curr_code, IFNULL(supplier.curr_code, act.bank_curr_code)) settle_curr</code></pre></div><p>I understand this error doesn&#039;t occur on all MySQL versions. But I think other user might have this issue to. So can this fix sent to the repo?</p>]]></content>
			<author>
				<name><![CDATA[erwindebruin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4582</uri>
			</author>
			<updated>2013-11-10T07:25:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18394#p18394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18393#p18393" />
			<content type="html"><![CDATA[<p>There have been very few changes from v2.3.18 to v2.3.19 and I have placed a list of changed files in an earlier post in this thread. There appears to be one more bugfix in the Hg repo that can be downloaded from <a href="http://https:/sourceforge.net/p/frontaccounting/mercurial/ci/0cf40a69fd16d73be80318a09effc186021c9ebd/tree/gl/gl_bank.php?format=raw">here</a> and made to overwrite the file at <strong>gl/gl_bank.php</strong>. It is also attached in this post.</p><p>All you have to do is step from one commit to the other in the HG Repo (red dot stable version commits only) and see where it fails.</p><p>Install v2.3.18 and make sure your error does not arise.<br />Start with fixes from the HG Repo at:</p><p>0002430: Order Status Listing Report shows invoiced in heading rather than delivered. Fixed.</p><p>and go on till the last one at:</p><p>Payments, Deposits: fixed false error when payment is made in customer/supplier currency.</p><p>If you can provide the sequence of menu clicks that got you the error, it will be easy to zero in to the issue.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-10T03:54:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18393#p18393</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18392#p18392" />
			<content type="html"><![CDATA[<p>Joe, </p><p>After updating to 2.3.19 I receive a database error in Banking and General Ledger &gt; Journal Inquiry when pressing on the link in column &quot;Trans #&quot; to view the transaction details. The error doesn&#039;t occurs in all transaction type views. The error occurs for example with bank deposit, bank payment and fund transfer. But with &quot;Sales Invoice&quot; I don&#039;t receive the error.</p><p>Tested on my live environment and on a clean install.</p>]]></content>
			<author>
				<name><![CDATA[erwindebruin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4582</uri>
			</author>
			<updated>2013-11-09T20:34:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18392#p18392</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18369#p18369" />
			<content type="html"><![CDATA[<p>The core folder in my repo is just the full file set in the FA release directly from the SF release page and not a pull from the official repo. This is done for easy maintenance between version upgrades. All old files are wiped out when a new release comes in. No files are added to the core folder. A sibling to the core folder is the extensions folder that contains the files of the various extensions.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-07T14:49:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18369#p18369</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18368#p18368" />
			<content type="html"><![CDATA[<p>I understand the code is the same, but depending how you import them to git and if you add some file, the commit object would be different and so have a different SHA than the official version. This mean I&#039;ll probably have some conflict if I pull you version and then pull the official one. Which is why it&#039;s better that everybody pulll from the same git repo instead of creating it&#039;s own one.</p><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2013-11-07T13:55:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18368#p18368</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18366#p18366" />
			<content type="html"><![CDATA[<p>My repo&#039;s core folder is the exact code base as the official one but on a release to release upload and the there are extras as well in a separate extensions folder in the repo.</p><p>I use this for comparing my personal changes against the official core and have the files from the fa extensions repo as well for any fixes in the interim that may come about.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-07T12:20:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18366#p18366</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18361#p18361" />
			<content type="html"><![CDATA[<p>I&#039;m speaking of the official Git repo. Does your own repo share the same SHA than the official one ?<br />Otherwise, I&#039;ll just wait for Janusz to update it.</p><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2013-11-07T12:07:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18361#p18361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Release 2.3.19]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18355#p18355" />
			<content type="html"><![CDATA[<p>I handle my <a href="https://www.github.com/apmuthu/frontaccounting">own FA Git Repo on GitHub</a> only and is updated only when I have the time and is mostly done from release to release with primary focus on the extensions&#039; files besides enabling easy forking within the Github Browser GUI.</p><p>The <a href="http://devel.frontaccounting.com/git/?p=fa-stable.git;a=summary">Official Git Repo mirror</a> of the main <a href="http://https:/sourceforge.net/p/frontaccounting/mercurial/commit_browser">Hg Repo on SF</a> is managed by Janusz and&nbsp; has not been updated in more than 10 days.</p><p>Upgrade from FA v2.3.18 to v2.3.19 can be done by uploading the changed files attached in this post.</p><p>Post release fixes are&nbsp; in the&nbsp; <a href="http://https:/sourceforge.net/p/frontaccounting/mercurial/commit_browser">Mercurial repo</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-07T11:29:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18355#p18355</id>
		</entry>
</feed>
