<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Bug in Journal Inquiry View]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7061</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7061&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug in Journal Inquiry View.]]></description>
		<lastBuildDate>Tue, 31 Oct 2017 06:11:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29341#p29341</link>
			<description><![CDATA[<p>Consequent on <a href="https://github.com/FrontAccountingERP/FA/commit/5b41093323d7b0c106fa5fa1a4e0224f3b331f12">this commit</a>, all existing DBs may be updated with:<br /></p><div class="codebox"><pre><code>ALTER TABLE `0_debtor_trans`
    CHANGE `debtor_no` `debtor_no` INT(11) UNSIGNED NOT NULL, 
    DROP PRIMARY KEY, ADD PRIMARY KEY (`trans_no`, `type`, `debtor_no`);

ALTER TABLE `0_supp_trans`
    CHANGE `supplier_id` `supplier_id` INT(11) UNSIGNED NOT NULL, 
    DROP PRIMARY KEY, ADD PRIMARY KEY (`trans_no`, `type`, `supplier_id`); </code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 31 Oct 2017 06:11:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29341#p29341</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29268#p29268</link>
			<description><![CDATA[<p>Stands <a href="https://github.com/FrontAccountingERP/FA/commit/c428c827fef8156052be0e430be9af738536e3b0">corrected</a> now in the official repo.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 28 Oct 2017 11:14:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29268#p29268</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29265#p29265</link>
			<description><![CDATA[<p>Good catch @notrinos. This is what <a href="https://github.com/FrontAccountingERP/FA/commit/0fcc421f3bc76dbaf2331a11804d804b08f37545#commitcomment-25249073">happens</a> when a blind copy/paste occurs. My repo has the right code.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 28 Oct 2017 05:36:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29265#p29265</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29264#p29264</link>
			<description><![CDATA[<p>why both Sourceforge repo and GitHub update <strong>PRIMARY KEY (`type`,`trans_no`,`debtor_no`)</strong>&nbsp; for table <strong>supp_trans</strong> ?<br />It must be <strong>PRIMARY KEY(`type`,`trans_no`,`supplier_id`)</strong></p><p>am I wrong ?</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Sat, 28 Oct 2017 05:32:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29264#p29264</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29262#p29262</link>
			<description><![CDATA[<p>The official repo mirror on GitHub now stands <a href="https://github.com/FrontAccountingERP/FA/commit/0fcc421f3bc76dbaf2331a11804d804b08f37545">committed</a> for the <strong>supp_trans</strong> table fix as well.</p><p>All Chart maintainers are requested to submit suitable changes / devs may update the charts in the official pkg repo.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 28 Oct 2017 04:43:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29262#p29262</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29259#p29259</link>
			<description><![CDATA[<p>@dz: you have now added to the confusion.</p><p>Please be consistent with the order of the fields in the primary key as it should match the standard Charts and those that get upgraded using the <strong>sql/alter2.4.sql</strong> file.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 27 Oct 2017 13:17:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29259#p29259</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29251#p29251</link>
			<description><![CDATA[<p>Existing installs of FA 2.4 can also correct the <strong>supp_trans</strong> table also and retain the key field order too (as in the commit and in the <strong>sql/aletr2.4.sql</strong> with:<br /></p><div class="codebox"><pre><code>ALTER TABLE `0_debtor_trans`
   DROP PRIMARY KEY,
   ADD PRIMARY KEY(`type`,`trans_no`,`debtor_no`);

ALTER TABLE `0_supp_trans`
   DROP PRIMARY KEY,
   ADD PRIMARY KEY(`type`,`trans_no`,`supplier_id`);</code></pre></div><p>Actually, @itronics order of the key fields is better as it also is in the same order of fields in the table but the <strong>sql/alter2.4.sql</strong> and the commit are otherwise. The extension Charts too will have to be updated atleast for the <strong>supp_trans</strong> table.</p><p>The above stands fixed in <a href="https://github.com/apmuthu/frontac24/commit/433f6157a0d8915edb302b8dc14ae1c6b638c8f0">my repo</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 27 Oct 2017 08:25:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29251#p29251</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29250#p29250</link>
			<description><![CDATA[<p>Ironically all the extensions does not suffer this bug. This change was overlooked in the main code only.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 27 Oct 2017 08:23:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29250#p29250</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29248#p29248</link>
			<description><![CDATA[<p>This does not affect FA 2.3.x as the <strong>counterparty</strong> &quot;feature&quot; supporting code is present in FA 2.4.x only.</p><p>The <strong>sql/alter2.4.sql</strong> file is already updated in FA 2.4 for both <strong>debtor_trans</strong> and <strong>supp_trans</strong> tables.</p><p>All the extension Charts need to be updated.</p><p>The <strong>supp_trans</strong> table too needs to be updated accordingly with <strong>supplier_id</strong> in the place of <strong>debtor_no</strong>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 27 Oct 2017 08:14:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29248#p29248</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29243#p29243</link>
			<description><![CDATA[<p>We had small bug in database scheme, which I has <a href="https://sourceforge.net/p/frontaccounting/git/ci/5cd2769b439929e59a8a56da1f42ba5bdb582d09/">just fixed in initial sql files</a>. Impact of this big is moderate as such&nbsp; journal postings are made mainly during opening balance entry on fresh installations, so I think we do not have to implement any special measures to fix the problem in existing databases on next minor release.</p><p>Anyway, any existing FA database can be fixed easily with following command run in phpmyadmin:<br /></p><div class="codebox"><pre><code>ALTER TABLE `0_debtor_trans`
   DROP PRIMARY KEY,
   ADD PRIMARY KEY(`trans_no`,`type`,`debtor_no`);</code></pre></div><p>Thanks for pointing out the problem.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 27 Oct 2017 07:27:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29243#p29243</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29238#p29238</link>
			<description><![CDATA[<p>Janusz is investigating this.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 26 Oct 2017 22:41:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29238#p29238</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29204#p29204</link>
			<description><![CDATA[<p>@dz I am not getting any error if I select more than one customer/suppliers (each should be different) and it is reflecting in each parties ledger, balances, aging etc.</p><p>At some places the view is distorted just like in Journal Inquiry View but technically the transaction is OK.</p><p>You may call locally at my number to discuss further if you want that I am going to PM you.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Wed, 25 Oct 2017 16:12:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29204#p29204</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29194#p29194</link>
			<description><![CDATA[<p>@dz are you using latest version of FA?</p><p>In FA2.4+ if you select Accounts REceiveable Code in Account Description in Journal Entry It creates another column automatically to enter CounterParty. This works same for Accounts Payable also.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Wed, 25 Oct 2017 08:13:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29194#p29194</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29170#p29170</link>
			<description><![CDATA[<p>Hm.. will have a look later.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 23 Oct 2017 20:57:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29170#p29170</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in Journal Inquiry View]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29161#p29161</link>
			<description><![CDATA[<p>It happens only when counterparty is used and it multiplies the number of times the counterpaties are added to voucher.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 23 Oct 2017 07:33:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29161#p29161</guid>
		</item>
	</channel>
</rss>
