<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Trouble Deleting a Dimension]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7255</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7255&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Trouble Deleting a Dimension.]]></description>
		<lastBuildDate>Fri, 12 Jan 2018 04:47:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30487#p30487</link>
			<description><![CDATA[<p>If there are payments or deposits whether voided or not - pertaining to any value of the dimension to be deleted, you will not be able to delete the dimension.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 12 Jan 2018 04:47:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30487#p30487</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30480#p30480</link>
			<description><![CDATA[<p>From the code:- <br /></p><div class="codebox"><pre><code>File: dimensions\dimension_entry.php
172: if (isset($_POST[&#039;delete&#039;])) 
173: {
174: 
175:     $cancel_delete = false;
176: 
177:     // can&#039;t delete it there are productions or issues
178:     if (dimension_has_payments($selected_id) || dimension_has_deposits($selected_id))
179:     {
180:         display_error(_(&quot;This dimension cannot be deleted because it has already been processed.&quot;));
181:         set_focus(&#039;ref&#039;);
182:         $cancel_delete = true;
183:     }
184: 
185:     if ($cancel_delete == false) 
186:     { //ie not cancelled the delete as a result of above tests
187: 
188:         // delete
189:         delete_dimension($selected_id);
190:         delete_tag_associations(TAG_DIMENSION,$selected_id, true);
191:         meta_forward($_SERVER[&#039;PHP_SELF&#039;], &quot;DeletedID=$selected_id&quot;);
192:     }
193: }
194: </code></pre></div><p>So it looks like no you can&#039;t...<br />@apmuthu can you please confirm</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Thu, 11 Jan 2018 18:36:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30480#p30480</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30479#p30479</link>
			<description><![CDATA[<p>None currently appear with a GL search. I may have created and then voided some transactions when initially coming up with my dimension structure. Could some old voided transactions still be preventing deletion?</p>]]></description>
			<author><![CDATA[null@example.com (Squirrel)]]></author>
			<pubDate>Thu, 11 Jan 2018 16:23:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30479#p30479</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30457#p30457</link>
			<description><![CDATA[<p>Have you made transactions using this dimension?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Tue, 09 Jan 2018 21:41:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30457#p30457</guid>
		</item>
		<item>
			<title><![CDATA[Trouble Deleting a Dimension]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30456#p30456</link>
			<description><![CDATA[<p>Hello,</p><p>When I was initially setting up my system, I created a dimension I no longer wish to use. The delete command does not seem to work though, regardless of if the dimension if open or closed. </p><p>Here is a picture of the error and page.<br />https://imgur.com/fVNGxdz</p><p>Any help would be awesome to clean up this system.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (Squirrel)]]></author>
			<pubDate>Tue, 09 Jan 2018 21:18:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30456#p30456</guid>
		</item>
	</channel>
</rss>
