<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Fixed Asset - Process Depreciation]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8486</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8486&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Fixed Asset - Process Depreciation.]]></description>
		<lastBuildDate>Sat, 18 Jan 2020 08:10:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36845#p36845</link>
			<description><![CDATA[<p>Update_no=-1 make no sense. More over, audit trail update at this point is just obsolete. Fixed in <a href="https://sourceforge.net/p/frontaccounting/git/ci/ba480840fbf40ae7e1b825a269c5672ef661deaf/">repo</a>.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sat, 18 Jan 2020 08:10:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36845#p36845</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36843#p36843</link>
			<description><![CDATA[<p>I have asked Janusz to look at this.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 17 Jan 2020 16:09:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36843#p36843</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36841#p36841</link>
			<description><![CDATA[<p>@joe: is this a real solution?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 17 Jan 2020 13:34:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36841#p36841</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36836#p36836</link>
			<description><![CDATA[<p>Thanks for solving my problem</p>]]></description>
			<author><![CDATA[null@example.com (atena.ohs)]]></author>
			<pubDate>Fri, 17 Jan 2020 08:32:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36836#p36836</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36524#p36524</link>
			<description><![CDATA[<p>@joe: is this warranted?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 30 Nov 2019 17:11:04 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36524#p36524</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36507#p36507</link>
			<description><![CDATA[<p>Only change $update_no = -1 to $update_no = 1</p>]]></description>
			<author><![CDATA[null@example.com (serviciosac101)]]></author>
			<pubDate>Thu, 28 Nov 2019 21:10:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36507#p36507</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36499#p36499</link>
			<description><![CDATA[<p>Did you change the code? The above code is identical with that in the repo.<br />What did you do differently now that it works?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 27 Nov 2019 02:11:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36499#p36499</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36498#p36498</link>
			<description><![CDATA[<p>Hello, I don´t Know how it happened, but, I reviewed the file <strong>fixed_assets/includes/fixed_assets_db.inc</strong> and I saw the code <strong>$update_no = -1</strong></p><p>Now, I made the Process </p><p>Thanks for your answer</p><div class="codebox"><pre><code>  $sql = &quot;UPDATE &quot;.TB_PREF.&quot;stock_master SET 
    depreciation_date=&#039;&quot;.date2sql($cart-&gt;tran_date).&quot;&#039;,
    material_cost=&quot;.db_escape($new_cost).&quot;
    WHERE stock_id=&quot;.db_escape($stock_id);
  db_query($sql,&quot;The depreciation start date could not be updated&quot;);

  $update_no = -1;
  add_audit_trail(ST_JOURNAL, $update_no, $date_);
  commit_transaction();

  return $trans_no;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (serviciosac101)]]></author>
			<pubDate>Tue, 26 Nov 2019 21:01:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36498#p36498</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36497#p36497</link>
			<description><![CDATA[<p>Your Transaction number is negative. How did that happen?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 26 Nov 2019 17:38:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36497#p36497</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36496#p36496</link>
			<description><![CDATA[<p>I&#039;ve enter to debugging mode and get the following message, maybe because it, I can´t run the process:</p><p>ERROR DE BASE DE DATOS : Cannot add audit info<br />error code : 1264<br />error message : Out of range value for column &#039;trans_no&#039; at row 1<br />sql that failed was : INSERT INTO audit_trail (type, trans_no, user, gl_date, description, stamp) VALUES(&#039;0&#039;, &#039;-1&#039;,1,&#039;2019-11-26&#039;,&#039;&#039;, CURRENT_TIMESTAMP)</p><p>https://photos.app.goo.gl/NCtQBrP4dH2aRLmL7</p>]]></description>
			<author><![CDATA[null@example.com (serviciosac101)]]></author>
			<pubDate>Tue, 26 Nov 2019 17:06:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36496#p36496</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36421#p36421</link>
			<description><![CDATA[<p>Thanks for your answer,</p><p>I have the same account because I was testing. But I&#039;ve changed the account and I had the same result.</p><p>Details Fixed Assets<br />https://photos.app.goo.gl/cT3zkR8aeEsSqsLF7</p><p>Process Depreciation<br />https://photos.app.goo.gl/w8pRCkBErYsfuBT29</p><p>Result<br />https://photos.app.goo.gl/SjaLGxAUhSuWynPUA</p><br /><p>For more Information I give you the database and config.php</p><br /><p>https://drive.google.com/open?id=1XOICJGBCBBZYHyraC3nYs0_ItYDHGdr_<br />https://drive.google.com/open?id=1nWlnfzAYGJXAOzDyVELQPjLPsLCG4tWI<br />https://drive.google.com/open?id=1xeHJPWXw-3CN-NQnd-UVXiTM9nKCQOz_</p>]]></description>
			<author><![CDATA[null@example.com (serviciosac101)]]></author>
			<pubDate>Tue, 12 Nov 2019 16:25:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36421#p36421</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36362#p36362</link>
			<description><![CDATA[<p>You have credited and debited the same account!</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 09 Nov 2019 07:28:29 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36362#p36362</guid>
		</item>
		<item>
			<title><![CDATA[Fixed Asset - Process Depreciation]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36331#p36331</link>
			<description><![CDATA[<p>Hello,</p><br /><p>I made de Process Depreciation but nothing happens, I configure it like said in wiki and everything ok.</p><p>Doesn´t show any message so I don&#039;t know what should be the error.</p><br /><p>https://photos.app.goo.gl/7P2d8FCoP6gd4u4cA<br />https://photos.app.goo.gl/Xti9mKaCrr32C6GX7</p><p>Thanks</p><p>Regards from Nicaragua</p>]]></description>
			<author><![CDATA[null@example.com (serviciosac101)]]></author>
			<pubDate>Fri, 01 Nov 2019 18:10:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36331#p36331</guid>
		</item>
	</channel>
</rss>
