<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Logical Bug in Customer Balances Report]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6949&amp;type=atom" />
	<updated>2017-08-29T13:43:45Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6949</id>
		<entry>
			<title type="html"><![CDATA[Re: Logical Bug in Customer Balances Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28511#p28511" />
			<content type="html"><![CDATA[<p>Sure, willdo.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-08-29T13:43:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28511#p28511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Logical Bug in Customer Balances Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28510#p28510" />
			<content type="html"><![CDATA[<p>To replace line 206 in <strong>reporting/rep101.php</strong>:<br /></p><div class="codebox"><pre><code>            if ($no_zeros &amp;&amp; floatcmp($trans[&#039;TotalAmount&#039;], $trans[&#039;Allocated&#039;]) == 0) continue;</code></pre></div><p>with<br /></p><div class="codebox"><pre><code>if ($no_zeros) {
    if ($show_balance) {
        if ($trans[&#039;TotalAmount&#039;]== 0) continue;
    } else {
        if (floatcmp($trans[&#039;TotalAmount&#039;], $trans[&#039;Allocated&#039;]) == 0)) continue;
    }
}</code></pre></div><p><s>@joe: want to commit it?</s><br /><a href="https://github.com/FrontAccountingERP/FA/commit/0f166221e63d742558a4c6b382b5d9be274c5ff9">Committed</a></p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-08-29T13:14:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28510#p28510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Logical Bug in Customer Balances Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28509#p28509" />
			<content type="html"><![CDATA[<p>May be changing following line create correct result.</p><p>//if (($no_zeros &amp;&amp; floatcmp($trans[&#039;TotalAmount&#039;], $trans[&#039;Allocated&#039;]) == 0)) continue;<br />if ($no_zeros &amp;&amp; $show_balance &amp;&amp; $trans[&#039;TotalAmount&#039;]== 0) continue;<br />if (($no_zeros &amp;&amp; !$show_balance &amp;&amp; floatcmp($trans[&#039;TotalAmount&#039;], $trans[&#039;Allocated&#039;]) == 0)) continue;</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2017-08-29T11:50:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28509#p28509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Logical Bug in Customer Balances Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28508#p28508" />
			<content type="html"><![CDATA[<p>If a customer transaction is not fully allocated (partially allocated), Selecting <br />Suppress Zeros to Yes And <br />Show Balances to Yes </p><p>in Customer Balances Report is giving a misleading Customer Net Balance.</p><p>Ideally Suppress Zero shall Suppress only Voided Transactions from the Report But Since it is also removing Fully Settled Transactions, the running balance is not revealing correct final balance if Show Balance is Set to Yes</p><p>For Better Understanding you may check Customer Balance of 4 Dimension in the following system</p><p>fa.boxygen.biz/fa2325</p><p>id: admin<br />pass: Pakistan1947<br />company: gp</p>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2017-08-29T11:28:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28508#p28508</id>
		</entry>
</feed>
