<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Change of Ownership - Delete past years]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10589</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10589&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Change of Ownership - Delete past years.]]></description>
		<lastBuildDate>Mon, 09 Sep 2024 03:40:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43371#p43371</link>
			<description><![CDATA[<p>The zip file is the way the master branch is distributed for cutting edge code.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 09 Sep 2024 03:40:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43371#p43371</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43369#p43369</link>
			<description><![CDATA[<p>Is the zip file better than git master branch?</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 05 Sep 2024 23:29:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43369#p43369</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43367#p43367</link>
			<description><![CDATA[<p>The release tags if any are outdated as several updates in the 2 months since it&#039;s release will be available from the bleeding edge download at:<br />https://github.com/FrontAccountingERP/FA/archive/refs/heads/master.zip</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 05 Sep 2024 15:55:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43367#p43367</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43366#p43366</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>The README.md file has a GitHub Mirror Link:<br />https://github.com/FrontAccountingERP/FA</p></blockquote></div><p>Both the github mirror and sf.net git do not have release tags for 2.4.18 so is master the latest release?</p><p>I am building a docker image and it&#039;s usually best to refer to the version tag so a rebuild doesn&#039;t get an unexpected update.<br />(Yes I know it is really mature... just good practice...)</p><p>Maybe a 2.4.18 tag could be added? (github or sf, either is fine)</p><p>Tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 05 Sep 2024 10:40:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43366#p43366</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43365#p43365</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>The README.md file has a GitHub Mirror Link:<br />https://github.com/FrontAccountingERP/FA</p></blockquote></div><p>Both the github mirror and sf.net git do not have release tags for 2.4.18 so is master the latest release?</p><p>I am building a docker image and it&#039;s usually best to refer to the version tag so a rebuild doesn&#039;t get an unexpected update.<br />(Yes I know it is really mature... just good practice...)</p><p>Maybe a 2.4.18 tag could be added? (github or sf, either is fine)</p><p>Tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 05 Sep 2024 10:38:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43365#p43365</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43363#p43363</link>
			<description><![CDATA[<p>sf.net is the primary repo.<br />github is only a mirror.<br />@joe and @itronics are the main code repo integrators.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 31 Aug 2024 17:23:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43363#p43363</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43361#p43361</link>
			<description><![CDATA[<p>I feel I am being dense, but I will ask anyway.</p><p>So if I want to submit updates or bug fixes I should github or git.code.sf.net?</p><p>Tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 29 Aug 2024 09:51:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43361#p43361</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43360#p43360</link>
			<description><![CDATA[<p>The README.md file has a GitHub Mirror Link:<br />https://github.com/FrontAccountingERP/FA</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 29 Aug 2024 06:21:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43360#p43360</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43359#p43359</link>
			<description><![CDATA[<p>I would have but all the webpages point to CVS and sf and the labels are not current</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Wed, 28 Aug 2024 10:55:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43359#p43359</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43358#p43358</link>
			<description><![CDATA[<p>You can fork the project on GitHub and make changes as needed.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 28 Aug 2024 10:15:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43358#p43358</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43357#p43357</link>
			<description><![CDATA[<p>Is there a repo I can access / clone / help again?</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Mon, 26 Aug 2024 11:18:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43357#p43357</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43356#p43356</link>
			<description><![CDATA[<p>@joe: is this okay?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 26 Aug 2024 08:01:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43356#p43356</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43355#p43355</link>
			<description><![CDATA[<p>I found the problem</p><div class="codebox"><pre><code>elseif( $Mode == &#039;Delete&#039;)
{
        //the link to delete a selected record was clicked instead of the submit button

        $cancel_delete = 0;
        // PREVENT DELETES IF DEPENDENT RECORDS IN &#039;bank_trans&#039;

        if (key_in_foreign_table($bank_id, &#039;bank_trans&#039;, &#039;bank_act&#039;) || key_in_foreign_table(get_post(&#039;account_code&#039;), &#039;gl_trans&#039;, &#039;account&#039;))
        {
                $cancel_delete = 1;
                display_error(_(&quot;Cannot delete this bank account because transactions have been created using this account.&quot;));
        }
 </code></pre></div><p>get_post(&#039;account_code&#039;) returns 1060 and the bank_id I am trying to delete has account 1063</p><p>Maybe it should get t he account from the bank account info...</p><p>What&#039;s the best way to fix this?</p><p>This worked:<br /></p><div class="codebox"><pre><code>        $myrow = get_bank_account($bank_id);

        if (key_in_foreign_table($bank_id, &#039;bank_trans&#039;, &#039;bank_act&#039;) || key_in_foreign_table($myrow[&#039;account_code&#039;], &#039;gl_trans&#039;, &#039;account&#039;))
 </code></pre></div><p>Tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Fri, 23 Aug 2024 11:06:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43355#p43355</guid>
		</item>
		<item>
			<title><![CDATA[Re: Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43354#p43354</link>
			<description><![CDATA[<p>I am having problems deleting old bank accounts, even some I have not used for many years.</p><p>I have deleted all but the current Fiscal Year.</p><p>In bank inquiry I found opening balances for this year in gl_trans and bank_trans and even with those removed I can&#039;t delete the bank account</p><p>This account uses GL 1063 (and it&#039;s the only bank account using that one)</p><p>I have 4 that all use 1060 which may need more care</p><p>Suggestions?</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 22 Aug 2024 23:38:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43354#p43354</guid>
		</item>
		<item>
			<title><![CDATA[Change of Ownership - Delete past years]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43349#p43349</link>
			<description><![CDATA[<p>I have been using FA for a business since 2010 and the ownership has changed from a single owner to LLC</p><p>I want to delete the past years and reset the GL accounts to 0</p><p>I assume the first step is to delete all previous years</p><p>Wow that was easier than I thought...<br />I do see some some balances that are wrong, but just deleting the years did most of what I wanted</p><p>Maybe not so much wrong... but I did find I could not delete long gone bank accounts.<br />It seems what FA 2.4.6 I was able to create more than one 1060 bank account...</p><p>I may need advice on how to remove the extra ones</p><p>Tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Wed, 21 Aug 2024 10:28:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43349#p43349</guid>
		</item>
	</channel>
</rss>
