<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Void a transaction gives error message]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9664</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9664&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Void a transaction gives error message.]]></description>
		<lastBuildDate>Thu, 23 Jun 2022 08:02:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41206#p41206</link>
			<description><![CDATA[<p>This has been fixed and committed to stable repo. A fixed file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/includes/db/audit_trail_db.inc">here</a>.</p><p>joe.</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 23 Jun 2022 08:02:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41206#p41206</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41196#p41196</link>
			<description><![CDATA[<p>Did you find any workaround other than downgrading php to 7.4 ?</p>]]></description>
			<author><![CDATA[null@example.com (istrice)]]></author>
			<pubDate>Wed, 22 Jun 2022 19:59:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41196#p41196</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40589#p40589</link>
			<description><![CDATA[<p>Submitted to mantis bug tracker.</p><p>http://mantis.frontaccounting.com./view.php?id=5571</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Sun, 30 Jan 2022 03:36:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40589#p40589</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40587#p40587</link>
			<description><![CDATA[<p>Confirmed, yes. Switching back to php7.4 enables journals edition<br />I am using Ubuntu Server v20.04, Apache2 and php8.1</p>]]></description>
			<author><![CDATA[null@example.com (albertolima)]]></author>
			<pubDate>Sun, 30 Jan 2022 01:20:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40587#p40587</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40582#p40582</link>
			<description><![CDATA[<p>It appears the problem is the current version is not compatible with PHP 8.0.&nbsp; &nbsp; When I switched the PHP back to 7.0 from 8.0, the problem went away, and I was able to void transactions without the error message.&nbsp; So there is a problem with compatibility with PHP 8.0</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Thu, 27 Jan 2022 19:31:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40582#p40582</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40581#p40581</link>
			<description><![CDATA[<p>I checked tmp/errors.log and I did not see anything out of the ordinary.</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Thu, 27 Jan 2022 19:22:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40581#p40581</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40580#p40580</link>
			<description><![CDATA[<p>On the debug I see:<br />SET sql_mode = &#039;STRICT_ALL_TABLES&#039;<br />SELECT name, value FROM fly2_sys_prefs<br />SELECT value FROM fly2_sys_prefs WHERE name=&#039;version_id&#039;<br />SELECT name, value FROM fly2_sys_prefs<br />SELECT * FROM fly2_fiscal_year WHERE &#039;2022-01-27&#039; &gt;= begin AND &#039;2022-01-27&#039; &lt;= end AND closed=0<br />SELECT COUNT(*) FROM (SELECT t.trans_no as trans_no ,t.reference as ref ,t.tran_date as trans_date, t.type as type FROM fly2_journal t LEFT JOIN fly2_voided v ON t.trans_no=v.id AND v.type=&#039;0&#039; WHERE ISNULL(v.`memo_`) AND t.trans_no &gt;= &#039;1&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AND&nbsp; t.trans_no &lt;= &#039;999999&#039; AND t.`type` = &#039;0&#039; GROUP BY t.type, t.trans_no ORDER BY t.trans_no DESC) tmp_count<br />SELECT t.trans_no as trans_no ,t.reference as ref ,t.tran_date as trans_date, t.type as type FROM fly2_journal t LEFT JOIN fly2_voided v ON t.trans_no=v.id AND v.type=&#039;0&#039;&nbsp; WHERE (ISNULL(v.`memo_`) AND t.trans_no &gt;= &#039;1&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AND&nbsp; t.trans_no &lt;= &#039;999999&#039; AND t.`type` = &#039;0&#039;) GROUP BY t.type, t.trans_no ORDER BY t.trans_no DESC LIMIT 0, 10<br />SELECT * FROM fly2_fiscal_year WHERE &#039;2022-12-31&#039; &gt;= begin AND &#039;2022-12-31&#039; &lt;= end AND closed=0<br />SELECT * FROM fly2_fiscal_year WHERE &#039;2021-12-31&#039; &gt;= begin AND &#039;2021-12-31&#039; &lt;= end AND closed=0</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Thu, 27 Jan 2022 19:16:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40580#p40580</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40579#p40579</link>
			<description><![CDATA[<p>I wentn into the phpmyadmin, under sys_prefs table, on the row:<br />&nbsp; &nbsp; <br />gl_closing_date<br />setup.closing_date<br />date<br />8<br />2020-12-31</p><p>I changed it to 2020-12-31.&nbsp; Yet when I tried to void even a 2021 or 2022 transaction, still gives the error message.</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Thu, 27 Jan 2022 19:11:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40579#p40579</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40578#p40578</link>
			<description><![CDATA[<p>I have tried to closed the 2021 and 2022 fiscal year, and reopen back up, and still have the same problem.<br />This time, when I tried to void a transaction, anything in 2021 becomes N/A.</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Thu, 27 Jan 2022 19:08:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40578#p40578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40576#p40576</link>
			<description><![CDATA[<p>You have not checked the closing&nbsp; GL Transaction.&nbsp; Thats the only solution&nbsp; for this situation. If you want&nbsp; to do it manually. Open sys_prefs&nbsp; table and find gl_close_date and change the date to last year close date and try it. It will&nbsp; work for you.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Thu, 27 Jan 2022 11:28:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40576#p40576</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40575#p40575</link>
			<description><![CDATA[<p>Anything in the error log? Also what I meant you should close and reopen the current fiscal year (2022).</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Thu, 27 Jan 2022 06:15:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40575#p40575</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40574#p40574</link>
			<description><![CDATA[<p>I tried the above by closing the year and re-opening the year.&nbsp; It still does not work.&nbsp; I also tried to apply the close GL transaction permission inside the System&#039;s Administrator&#039;s profile.&nbsp; It still does not work.</p><p>Even if I tried to void a transaction this year 2022, it won&#039;t let me do it.&nbsp; 2022 is my current fiscal year.&nbsp; &nbsp;It still gives error message &quot;The selected transaction was closed for edition and cannot be voided.&quot;.&nbsp; Is this a problem after upgrading to FrontAccounting 2.4.11 ?&nbsp; I don&#039;t see that as an issue in the past versions?</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Thu, 27 Jan 2022 06:09:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40574#p40574</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40573#p40573</link>
			<description><![CDATA[<p>Yes of course..</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Thu, 27 Jan 2022 02:38:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40573#p40573</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40571#p40571</link>
			<description><![CDATA[<div class="quotebox"><cite>rafat wrote:</cite><blockquote><p>See Warning:<br />Try this and use with your own discretion.<br />Close the year and reopen it again. You should be able to void the TXN.<br />Warning: Two GL Accounts are affected when one closes a fiscal year 3590-Retained Earnings and 9990-Profit/Loss <br />You might need to void these two automatically updated GL transactions when you close the fiscal year.<br />Try it with a staging system before the live system.</p></blockquote></div><p>Should I back up the database first, then try this, and if something goes wrong I restore database?</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Wed, 26 Jan 2022 19:25:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40571#p40571</guid>
		</item>
		<item>
			<title><![CDATA[Re: Void a transaction gives error message]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40566#p40566</link>
			<description><![CDATA[<p>See Warning:<br />Try this and use with your own discretion.<br />Close the year and reopen it again. You should be able to void the TXN.<br />Warning: Two GL Accounts are affected when one closes a fiscal year 3590-Retained Earnings and 9990-Profit/Loss <br />You might need to void these two automatically updated GL transactions when you close the fiscal year.<br />Try it with a staging system before the live system.</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Wed, 26 Jan 2022 12:51:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40566#p40566</guid>
		</item>
	</channel>
</rss>
