<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Monthly Clientwise Summary Report]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6748</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6748&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Monthly Clientwise Summary Report.]]></description>
		<lastBuildDate>Thu, 22 Jun 2017 08:23:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Monthly Clientwise Summary Report]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28055#p28055</link>
			<description><![CDATA[<p>In FA 2.3.x it would be like:<br /></p><div class="codebox"><pre><code>SELECT MID(t.tran_date,1,7) AS Period, 
    t.debtor_no, 
    SUM(IF(t.type = 10 OR (t.type = 0 AND t.ov_amount&gt;0),
         ABS(t.ov_amount + t.ov_gst + t.ov_freight + t.ov_freight_tax + t.ov_discount), 0)) AS charges,
         SUM(IF(t.type != 10 AND NOT(t.type = 0 AND t.ov_amount&gt;0),
         ABS(t.ov_amount + t.ov_gst + t.ov_freight + t.ov_freight_tax + t.ov_discount) * -1, 0)) AS credits,
         SUM(IF(t.type != 10 AND NOT(t.type = 0 AND t.ov_amount&gt;0), t.alloc * -1, t.alloc)) AS Allocated,
         SUM(IF(t.type = 10, 1, -1) *
             (ABS(t.ov_amount + t.ov_gst + t.ov_freight + t.ov_freight_tax + t.ov_discount) - ABS(t.alloc))) AS OutStanding
FROM 0_debtor_trans t
WHERE  t.type &lt;&gt; 13
GROUP BY t.debtor_no, MID(t.tran_date,1,7);</code></pre></div><p>The <strong>t.type</strong> values alluded to above are taken from <a href="https://github.com/apmuthu/frontaccounting/blob/master/core/includes/types.inc">includes/types.inc</a> file.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 22 Jun 2017 08:23:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28055#p28055</guid>
		</item>
		<item>
			<title><![CDATA[Re: Monthly Clientwise Summary Report]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28054#p28054</link>
			<description><![CDATA[<p>FA follows the principle of allocation of payments received towards invoices/charges. There may be other payments from the customer that will not find a place in the payments towards invoices.</p><p><strong>reporting/rep101.php</strong> is <a href="https://frontaccounting.com/fawiki/uploads/Help/Rep101_CustomerBalances.png">the report</a> you should modify to suit your needs - pivot the reporting across multiple periods</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 22 Jun 2017 08:04:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28054#p28054</guid>
		</item>
		<item>
			<title><![CDATA[Monthly Clientwise Summary Report]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27698#p27698</link>
			<description><![CDATA[<p>Like,</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Jan | Feb | March | ..........................................................................| Dec<br />ABC&nbsp; &nbsp; &nbsp;Receivable Balance&nbsp; &nbsp; &nbsp;10 | 15&nbsp; |&nbsp; 17 | ...............................................................................| 27<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Total Payments&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5&nbsp; &nbsp;| 10&nbsp; |&nbsp; 15 | ...............................................................................| 20<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Balance&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5&nbsp; |&nbsp; 5&nbsp; &nbsp; |&nbsp; 2&nbsp; | ................................................................................| 7</p><p>XYZ&nbsp; &nbsp; &nbsp; Receivable Balance&nbsp; &nbsp; 10 | 15&nbsp; |&nbsp; 17 | ...............................................................................| 27<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Total Payments&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5&nbsp; &nbsp;| 10&nbsp; |&nbsp; 15 | ...............................................................................| 20<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Balance&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5&nbsp; |&nbsp; 5&nbsp; &nbsp; |&nbsp; 2&nbsp; | ................................................................................| 7</p><p>Where ABC &amp; XYZ are customers, If anybody has developed this sort of reports or know how to do this, kindly help</p>]]></description>
			<author><![CDATA[null@example.com (kiran230989)]]></author>
			<pubDate>Wed, 12 Apr 2017 15:01:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27698#p27698</guid>
		</item>
	</channel>
</rss>
