<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Report modules has an error needs to be fixed.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7910&amp;type=atom" />
	<updated>2019-01-01T04:30:19Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7910</id>
		<entry>
			<title type="html"><![CDATA[Re: Report modules has an error needs to be fixed.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33801#p33801" />
			<content type="html"><![CDATA[<p>Happy New year to all the active community members and main contributors . </p><p>@joe , @apmuthu,&nbsp; Happy New year buddies</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2019-01-01T04:30:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33801#p33801</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Report modules has an error needs to be fixed.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33798#p33798" />
			<content type="html"><![CDATA[<p>If the $dim is acquired within the code, must it be declared global?<br />As $dim is declared global, is it necessary to acquire it again (I have disabled re-acquiring it in my commit).</p><p>The official repo has not yet been refreshed.</p><p>Retaining the same version and build numbers of the official extensions as of now, <a href="https://github.com/apmuthu/FA24extensions/commit/ca52e67c95978cc519aa3d56fd13aada65b3427b">my unofficial repo has been updated</a>.</p><p>That&#039;s probably the final commit in FA related repos for now in this year. Happy New Year ahead to all FA Members and their families.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-12-31T03:20:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33798#p33798</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Report modules has an error needs to be fixed.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33797#p33797" />
			<content type="html"><![CDATA[<p>Hello @kvvaradha</p><p>This has been fixed And I have sent it to Janusz and asked him to upload it to the extension repo.</p><p>Thank you for finding this issue. And a Happy New Year to you and the rest of the members.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-12-30T23:32:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33797#p33797</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Report modules has an error needs to be fixed.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33796#p33796" />
			<content type="html"><![CDATA[<p>also check the <strong> Cash flow Statement</strong>. Same issue, update that too,</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2018-12-30T18:28:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33796#p33796</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Report modules has an error needs to be fixed.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33795#p33795" />
			<content type="html"><![CDATA[<p>Ok, this is an extension report, but I will have a look at it.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-12-30T18:15:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33795#p33795</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Report modules has an error needs to be fixed.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33794#p33794" />
			<content type="html"><![CDATA[<p>When i check <strong>Annual Balance Breakdown - Detailed</strong> and <strong>Annual Expense Breakdown - Detailed</strong> with dimension two enabled.Both through PARAM_4 undefined error. Than i checked the reports_custom.php for both.&nbsp; and i found that the dimension things are missing there. </p><p>here is it. </p><p>Annual Balance Breakdown - Detailed<br /></p><div class="codebox"><pre><code>global $reports, $dim;

$dim = get_company_pref(&#039;use_dimension&#039;);

if($dim == 2 ) {
    $reports-&gt;addReport(RC_GL,&quot;_annual_balance_breakdown&quot;,_(&#039;Annual &amp;Balance Breakdown - Detailed&#039;),
       array(  _(&#039;Report Period&#039;) =&gt; &#039;DATEENDM&#039;,
                       _(&#039;Dimension&#039;) =&gt; &#039;DIMENSIONS1&#039;,
                       _(&#039;Dimension 2&#039;) =&gt; &#039;DIMENSIONS2&#039;,
                       _(&#039;Comments&#039;) =&gt; &#039;TEXTBOX&#039;,
                       _(&#039;Destination&#039;) =&gt; &#039;DESTINATION&#039;));
} elseif($dim == 1) {
$reports-&gt;addReport(RC_GL,&quot;_annual_balance_breakdown&quot;,_(&#039;Annual &amp;Balance Breakdown - Detailed&#039;),
       array(  _(&#039;Report Period&#039;) =&gt; &#039;DATEENDM&#039;,
                       _(&#039;Dimension&#039;) =&gt; &#039;DIMENSIONS1&#039;,
                       _(&#039;Comments&#039;) =&gt; &#039;TEXTBOX&#039;,
                       _(&#039;Destination&#039;) =&gt; &#039;DESTINATION&#039;));
} else {
    $reports-&gt;addReport(RC_GL,&quot;_annual_balance_breakdown&quot;,_(&#039;Annual &amp;Balance Breakdown - Detailed&#039;),
       array(  _(&#039;Report Period&#039;) =&gt; &#039;DATEENDM&#039;,                      
                       _(&#039;Comments&#039;) =&gt; &#039;TEXTBOX&#039;,
                       _(&#039;Destination&#039;) =&gt; &#039;DESTINATION&#039;));
}</code></pre></div><br /><br /><p>Annual Expense Breakdown - Detailed<br /></p><div class="codebox"><pre><code>global $reports, $dim;

$dim = get_company_pref(&#039;use_dimension&#039;);

if($dim == 2 ) {
    $reports-&gt;addReport(RC_GL,&quot;_annual_expense_breakdown&quot;,_(&#039;Annual &amp;Expense Breakdown - Detailed&#039;),
       array(  _(&#039;Report Period&#039;) =&gt; &#039;DATEENDM&#039;,
                       _(&#039;Dimension&#039;) =&gt; &#039;DIMENSIONS1&#039;,
                       _(&#039;Dimension 2&#039;) =&gt; &#039;DIMENSIONS2&#039;,
                       _(&#039;Comments&#039;) =&gt; &#039;TEXTBOX&#039;,
                       _(&#039;Destination&#039;) =&gt; &#039;DESTINATION&#039;));    
} elseif($dim == 1) {
    $reports-&gt;addReport(RC_GL,&quot;_annual_expense_breakdown&quot;,_(&#039;Annual &amp;Expense Breakdown - Detailed&#039;),
       array(  _(&#039;Report Period&#039;) =&gt; &#039;DATEENDM&#039;,
                       _(&#039;Dimension&#039;) =&gt; &#039;DIMENSIONS1&#039;,
                       _(&#039;Comments&#039;) =&gt; &#039;TEXTBOX&#039;,
                       _(&#039;Destination&#039;) =&gt; &#039;DESTINATION&#039;));
} else {
    $reports-&gt;addReport(RC_GL,&quot;_annual_expense_breakdown&quot;,_(&#039;Annual &amp;Expense Breakdown - Detailed&#039;),
       array(  _(&#039;Report Period&#039;) =&gt; &#039;DATEENDM&#039;,                      
                       _(&#039;Comments&#039;) =&gt; &#039;TEXTBOX&#039;,
                       _(&#039;Destination&#039;) =&gt; &#039;DESTINATION&#039;));
}</code></pre></div><p>@joe - check this and update it on repository</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2018-12-30T17:28:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33794#p33794</id>
		</entry>
</feed>
