<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — The selected transaction was closed for edition and cannot be voided]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9675</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9675&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in The selected transaction was closed for edition and cannot be voided.]]></description>
		<lastBuildDate>Sat, 09 Jul 2022 02:36:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: The selected transaction was closed for edition and cannot be voided]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41239#p41239</link>
			<description><![CDATA[<p>Hi Kvvaradha</p><p>Thanks for the reply. Appreciated it.<br />I have check the GL close date. I have never use this function, but to try it, i have set the close date to 2020... and my current fiscal year is in 2022. <br />This transaction locked happen right after i accidental update the PHP version on my hosting server.</p><p>Now after i change the frontaccounting/includes/db/audit_trail_db.inc:<br />It can edit the sales order, but the invoice is still not able to show( The pencil button is now show as editable).<br />But still it cant convert DO into Invoice.</p><p>Kindly help this...<br />Thanks a lot...</p>]]></description>
			<author><![CDATA[null@example.com (trunox)]]></author>
			<pubDate>Sat, 09 Jul 2022 02:36:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41239#p41239</guid>
		</item>
		<item>
			<title><![CDATA[Re: The selected transaction was closed for edition and cannot be voided]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41237#p41237</link>
			<description><![CDATA[<p>possibly your GL close date might be changed.&nbsp; check the Banking and General ledger -&gt; GL Close transaction. </p><p>If the date is greater than the transaction date, it wont allow you to do this. We cant consider its just php version issue, it can be&nbsp; code changed to make it fail or make it complex.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 08 Jul 2022 08:15:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41237#p41237</guid>
		</item>
		<item>
			<title><![CDATA[Re: The selected transaction was closed for edition and cannot be voided]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41236#p41236</link>
			<description><![CDATA[<p>I have change the function accordingly.<br />After this change, in the Customer Transaction Inquiry, I am able to click the edit button (Before this it show CLOSED), but it could not display the record for edit. It just go to new page and show the transaction no. only.</p><p>What is the possible causes?</p><p>As for the Sales Order Inquiry, it can be edit now.</p><br /><div class="quotebox"><cite>rogerk wrote:</cite><blockquote><p>Hi,</p><p>In PHP 8.1 comparisons have changed if one of them is not a number.</p><p>Replace this function in frontaccounting/includes/db/audit_trail_db.inc:</p><p>function is_closed_trans($type, $trans_no) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; $gl_seq = get_journal_number($type, $trans_no);<br />&nbsp; &nbsp; &nbsp; &nbsp; if (is_numeric( $gl_seq )) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return&nbsp; $gl_seq &gt; 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (trunox)]]></author>
			<pubDate>Fri, 08 Jul 2022 07:50:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41236#p41236</guid>
		</item>
		<item>
			<title><![CDATA[Re: The selected transaction was closed for edition and cannot be voided]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=41224#p41224</link>
			<description><![CDATA[<p>Hi,</p><p>In PHP 8.1 comparisons have changed if one of them is not a number.</p><p>Replace this function in frontaccounting/includes/db/audit_trail_db.inc:</p><p>function is_closed_trans($type, $trans_no) {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; $gl_seq = get_journal_number($type, $trans_no);<br />&nbsp; &nbsp; &nbsp; &nbsp; if (is_numeric( $gl_seq )) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return&nbsp; $gl_seq &gt; 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</p>]]></description>
			<author><![CDATA[null@example.com (rogerk)]]></author>
			<pubDate>Mon, 04 Jul 2022 10:01:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=41224#p41224</guid>
		</item>
		<item>
			<title><![CDATA[The selected transaction was closed for edition and cannot be voided]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40583#p40583</link>
			<description><![CDATA[<p>When I tried to void a transaction (payments, invoice, etc) - by going to Setup &gt; Maintenance &gt; Void a transaction<br />I get an error message:</p><p>&quot;The selected transaction was closed for edition and cannot be voided.&quot;</p><p>The transaction I am trying to void is from this year.</p><p>The current fiscal year is 1/1/2022-12/31/2022 and previous years have been closed.</p><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><p>https://frontaccounting.com/punbb/viewtopic.php?id=9664</p>]]></description>
			<author><![CDATA[null@example.com (corporatei)]]></author>
			<pubDate>Fri, 28 Jan 2022 02:28:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40583#p40583</guid>
		</item>
	</channel>
</rss>
