<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Fixed Asset - Process Depreciation]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8486&amp;type=atom" />
	<updated>2020-01-18T08:10:51Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8486</id>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36845#p36845" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2020-01-18T08:10:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36845#p36845</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36843#p36843" />
			<content type="html"><![CDATA[<p>I have asked Janusz to look at this.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2020-01-17T16:09:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36843#p36843</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36841#p36841" />
			<content type="html"><![CDATA[<p>@joe: is this a real solution?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2020-01-17T13:34:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36841#p36841</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36836#p36836" />
			<content type="html"><![CDATA[<p>Thanks for solving my problem</p>]]></content>
			<author>
				<name><![CDATA[atena.ohs]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45263</uri>
			</author>
			<updated>2020-01-17T08:32:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36836#p36836</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36524#p36524" />
			<content type="html"><![CDATA[<p>@joe: is this warranted?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-11-30T17:11:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36524#p36524</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36507#p36507" />
			<content type="html"><![CDATA[<p>Only change $update_no = -1 to $update_no = 1</p>]]></content>
			<author>
				<name><![CDATA[serviciosac101]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45055</uri>
			</author>
			<updated>2019-11-28T21:10:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36507#p36507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36499#p36499" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-11-27T02:11:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36499#p36499</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36498#p36498" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[serviciosac101]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45055</uri>
			</author>
			<updated>2019-11-26T21:01:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36498#p36498</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36497#p36497" />
			<content type="html"><![CDATA[<p>Your Transaction number is negative. How did that happen?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-11-26T17:38:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36497#p36497</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36496#p36496" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[serviciosac101]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45055</uri>
			</author>
			<updated>2019-11-26T17:06:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36496#p36496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36421#p36421" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[serviciosac101]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45055</uri>
			</author>
			<updated>2019-11-12T16:25:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36421#p36421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36362#p36362" />
			<content type="html"><![CDATA[<p>You have credited and debited the same account!</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-11-09T07:28:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36362#p36362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Fixed Asset - Process Depreciation]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=36331#p36331" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[serviciosac101]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45055</uri>
			</author>
			<updated>2019-11-01T18:10:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=36331#p36331</id>
		</entry>
</feed>
