<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Profit and Loss Year Account should be an Expense Account issue]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9113</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9113&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Profit and Loss Year Account should be an Expense Account issue.]]></description>
		<lastBuildDate>Sun, 13 Dec 2020 12:09:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Profit and Loss Year Account should be an Expense Account issue]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38732#p38732</link>
			<description><![CDATA[<p>How to change this code to solve above issue:</p><div class="codebox"><pre><code>function close_year($year)
{
    global $Refs;

    $co = get_company_prefs();
    if (get_gl_account($co[&#039;retained_earnings_act&#039;]) == false || get_gl_account($co[&#039;profit_loss_year_act&#039;]) == false)
    {
        display_error(_(&quot;The Retained Earnings Account or the Profit and Loss Year Account has not been set in System and General GL Setup&quot;));
        return false;
    }
    if (!is_account_balancesheet($co[&#039;retained_earnings_act&#039;]) || is_account_balancesheet($co[&#039;profit_loss_year_act&#039;]))
    {
        display_error(_(&quot;The Retained Earnings Account should be a Balance Account or the Profit and Loss Year Account should be an Expense Account (preferred the last one in the Expense Class)&quot;));
        return false;
    }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (islamsaeid3)]]></author>
			<pubDate>Sun, 13 Dec 2020 12:09:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38732#p38732</guid>
		</item>
		<item>
			<title><![CDATA[Profit and Loss Year Account should be an Expense Account issue]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38731#p38731</link>
			<description><![CDATA[<p>Hi</p><p>My default Chart of Account is Egypt CoA, <br />Profit &amp; Loss - Current Year account should be Balance sheet account according Egypt standards and <a href="https://www.ifrs.org/"><strong>IFRS</strong></a><br />and i don&#039;t want to change its class tp be expense account </p><p>How can I ignore error check message of &quot;Profit and Loss Year Account should be an Expense Account&quot; or </p><p>How to change check criteria&nbsp; &quot;Profit and Loss Year Account should be an Balance Sheet&nbsp; Account&quot;</p><p>your quick response is appreciated.<br />Regards</p>]]></description>
			<author><![CDATA[null@example.com (islamsaeid3)]]></author>
			<pubDate>Sun, 13 Dec 2020 12:05:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38731#p38731</guid>
		</item>
	</channel>
</rss>
