<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Trouble Deleting a Dimension]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7255&amp;type=atom" />
	<updated>2018-01-12T04:47:59Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7255</id>
		<entry>
			<title type="html"><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30487#p30487" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-01-12T04:47:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30487#p30487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30480#p30480" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2018-01-11T18:36:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30480#p30480</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30479#p30479" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Squirrel]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42084</uri>
			</author>
			<updated>2018-01-11T16:23:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30479#p30479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Trouble Deleting a Dimension]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30457#p30457" />
			<content type="html"><![CDATA[<p>Have you made transactions using this dimension?</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2018-01-09T21:41:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30457#p30457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Trouble Deleting a Dimension]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30456#p30456" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Squirrel]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42084</uri>
			</author>
			<updated>2018-01-09T21:18:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30456#p30456</id>
		</entry>
</feed>
