<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — 0005724: Bug In Date Editing in Latest FA]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10402</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10402&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 0005724: Bug In Date Editing in Latest FA.]]></description>
		<lastBuildDate>Sat, 18 Nov 2023 20:45:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42706#p42706</link>
			<description><![CDATA[<p>This occurs due to lines 28-32 in <strong>includes/db/audit_trail_db.inc</strong>:<br /></p><div class="codebox"><pre><code>    $sql = &quot;UPDATE &quot;.TB_PREF.&quot;audit_trail audit LEFT JOIN &quot;.TB_PREF.&quot;fiscal_year year ON year.begin&lt;=&#039;$date&#039; AND year.end&gt;=&#039;$date&#039;
        SET audit.gl_seq = IF(audit.id=&quot;.db_insert_id().&quot;, 0, NULL),&quot;
        .&quot;audit.fiscal_year=year.id&quot;
        . &quot; WHERE type=&quot;.db_escape($trans_type).&quot; AND trans_no=&quot;
        . db_escape($trans_no);</code></pre></div><p>If there is no valid matching value of the field <strong>fiscal_year</strong> as happens when no records for fiscal year in question, this will error out.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 18 Nov 2023 20:45:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42706#p42706</guid>
		</item>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42684#p42684</link>
			<description><![CDATA[<p>This bug was reported on Mantis as<br />0005724: Bug In Date Editing in Latest FA</p><p>I cannot reproduce this error. And this has been specified on the Mantis bug report.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 10 Nov 2023 08:07:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42684#p42684</guid>
		</item>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42673#p42673</link>
			<description><![CDATA[<p>@rafat&nbsp; Thank you so much . Worked .<br />problem solved .</p>]]></description>
			<author><![CDATA[null@example.com (yubrajkafle99)]]></author>
			<pubDate>Wed, 08 Nov 2023 12:28:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42673#p42673</guid>
		</item>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42672#p42672</link>
			<description><![CDATA[<p>Create a 2023 fiscal year and try again. No need for it to be the current. Try with active and not active 2023.<br />Good luck.</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Wed, 08 Nov 2023 12:24:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42672#p42672</guid>
		</item>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42671#p42671</link>
			<description><![CDATA[<p>@rafat</p><p>I am getting this error <br />DATABASE ERROR : Cannot update audit gl_seq<br />error code : 1048<br />error message : Column &#039;fiscal_year&#039; cannot be null<br />sql that failed was : UPDATE 0_audit_trail audit LEFT JOIN 0_fiscal_year year ON year.begin&lt;=&#039;2023-11-08&#039; AND year.end&gt;=&#039;2023-11-08&#039; SET audit.gl_seq = IF(audit.id=6, 0, NULL),audit.fiscal_year=year.id WHERE type=&#039;0&#039; AND trans_no=&#039;2&#039;</p><p>my fiscal years Starts 2022.01.01<br />and Ends : 2022.12.31</p><br /><p>i had posted the journal Entry on Date 2022.12.10 and i have got this error when i try to update my Journal Entry Date to 2022.12.11</p>]]></description>
			<author><![CDATA[null@example.com (yubrajkafle99)]]></author>
			<pubDate>Wed, 08 Nov 2023 07:17:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42671#p42671</guid>
		</item>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42670#p42670</link>
			<description><![CDATA[<p>@yubrajkafle99</p><p>You need to describe in details what you did to reach this stage. The error clearly mentions a problem in fiscal years for the date entered. So please list your fiscal years opened/closed and your current fiscal year. and to what date you are changing the transaction date.</p>]]></description>
			<author><![CDATA[null@example.com (rafat)]]></author>
			<pubDate>Wed, 08 Nov 2023 06:07:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42670#p42670</guid>
		</item>
		<item>
			<title><![CDATA[Re: 0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42669#p42669</link>
			<description><![CDATA[<p>@joe<br />$kvvaradha</p><p>please check it</p>]]></description>
			<author><![CDATA[null@example.com (yubrajkafle99)]]></author>
			<pubDate>Wed, 08 Nov 2023 06:01:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42669#p42669</guid>
		</item>
		<item>
			<title><![CDATA[0005724: Bug In Date Editing in Latest FA]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42668#p42668</link>
			<description><![CDATA[<p>Dear Team,</p><p>I would like to bring to your attention that I have identified a bug in the latest version of FA.</p><p>When attempting to edit a transaction and modify the date, we encounter an issue where we are unable to save the transaction. An error message is displayed, which reads as follows:</p><p>&quot;DATABASE ERROR: Cannot update audit gl_seq<br />Error code: 1048&quot;</p><p>I have also confirmed that this issue persists in the latest FA release.</p><p>I would like to emphasize the urgency of addressing this matter promptly. Please prioritize and resolve this bug as soon as possible.</p><p>Thank you for your attention to this issue.</p><br /><p>Step to Reproduce :<br />&nbsp; &nbsp; Enable Debug Mode<br />Enter the Transaction and submit<br />reopen the same transaction for editing<br />change the Date<br />and Save .</p><p>it can be easily Reprodue in Journal and other transaction</p>]]></description>
			<author><![CDATA[null@example.com (yubrajkafle99)]]></author>
			<pubDate>Wed, 08 Nov 2023 05:54:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42668#p42668</guid>
		</item>
	</channel>
</rss>
