<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8734</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8734&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Negative Inventory Adjustments not working anymore (2.4.8).]]></description>
		<lastBuildDate>Mon, 26 Oct 2020 21:06:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38545#p38545</link>
			<description><![CDATA[<p>@joe: thanks for getting to the root cause of this bug.<br />Did you also check that the cost are correctly calculated, since they had been also wrong.</p>]]></description>
			<author><![CDATA[null@example.com (incocare)]]></author>
			<pubDate>Mon, 26 Oct 2020 21:06:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38545#p38545</guid>
		</item>
		<item>
			<title><![CDATA[Re: Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37882#p37882</link>
			<description><![CDATA[<p>Hello all.</p><p>I have been looking at this and espect a PHP bug. The code is handling it correctly. Explanation:</p><p>In file <strong>/inventory/includes/db/item_adjust_db.inc</strong>, <em>function add_stock_adjustment</em>. The <strong>line_item-&gt;quantity</strong> is assigned to another variable,&nbsp; <strong>$chg</strong>.<br />This variable is sent to another <em>function calculate_reorder_level</em> with the address of $chg (this variable has been changed to positive qty for calculation), but the original variable line_item-&gt;quantity should remain unchanged. But for some reason the address of both variables is shared. Strange!!<br />I have now saved the line_item-&gt;quantity in a $tmp variable during the calculate_reorder_level and restored after. Now it is working.</p><p>As mentioned by @dtejada this is only happening when the <strong>&#039;Location Notifications&#039;</strong> was checked.</p><p>I will upload the corrected file, item_adj_db.inc, for replacement.<br />The fix will be committed to stable repo asap.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 31 Jul 2020 08:02:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37882#p37882</guid>
		</item>
		<item>
			<title><![CDATA[Re: Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37877#p37877</link>
			<description><![CDATA[<p>A friend of mine that is&nbsp; FA expert (Patricio) solved it!! just unchecking the &quot;Location Notifications&quot; at the System and General GL Setup page. It works fine now.</p>]]></description>
			<author><![CDATA[null@example.com (dtejada)]]></author>
			<pubDate>Thu, 30 Jul 2020 20:55:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37877#p37877</guid>
		</item>
		<item>
			<title><![CDATA[Re: Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37828#p37828</link>
			<description><![CDATA[<p>@joe: is this a real issue?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 23 Jul 2020 16:48:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37828#p37828</guid>
		</item>
		<item>
			<title><![CDATA[Re: Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37808#p37808</link>
			<description><![CDATA[<p>Hi to all. I have the same issue, but a little odd. I&#039;ve instaled 2.4.8 from scratch, and did one negative adjustment and everything in the GL went well. The second adjustment (negative/egress) was booked as positive, and also positive income in the item movement. I dont know what to do.</p>]]></description>
			<author><![CDATA[null@example.com (dtejada)]]></author>
			<pubDate>Fri, 17 Jul 2020 18:40:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37808#p37808</guid>
		</item>
		<item>
			<title><![CDATA[Negative Inventory Adjustments not working anymore (2.4.8)]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37230#p37230</link>
			<description><![CDATA[<p>Since 2.4.8 any negative adjustments are booked as positive adjustments!<br />Was working fine in 2.4.7.</p><p>Seems as if one of these fixes broke something:<br /> ** Inventory Adjustment: fixed error in adjustment entry when inventory notifications are switched on.<br /> ** Inventory Adjustment: negative adjustment should always use current average item cost.</p><p>Downgraded temporarily to 2.4.7 to get end of business year stock adjustments done.<br />Would be great if this could be fixed soon.</p><p>https://www.dropbox.com/s/3iprw57lmi1xra4/Screenshot_2020-04-05%20Item%20Adjustments%20Note.png?dl=0<br />https://www.dropbox.com/s/tjv09kctyzhpt7k/Screenshot_2020-04-05%20View%20Inventory%20Adjustment.png?dl=0</p>]]></description>
			<author><![CDATA[null@example.com (incocare)]]></author>
			<pubDate>Sun, 05 Apr 2020 08:45:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37230#p37230</guid>
		</item>
	</channel>
</rss>
