<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Handling Negative Inventory]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9421</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9421&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Handling Negative Inventory.]]></description>
		<lastBuildDate>Sat, 14 Aug 2021 22:14:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Handling Negative Inventory]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39867#p39867</link>
			<description><![CDATA[<p>We have a function handle_negative_inventory() in includes/db/inventory_db.inc.</p><p>This function performs action when inventory of an stock is going to be negative or ZERO with following condition.</p><p> if ($qoh + $quantity &lt;= 0 &amp;&amp; $qoh &gt; 0) //Positive inventory turning zero/negative</p><p>But I think this should only check if Inventory is going to be negative. Zero Inventory is not an issue while Negative inventory is an issue.</p><p>I may be wrong in a broader scenarios but in one recent scenario I found the condition to be as below.</p><p> if ($qoh + $quantity &lt; 0 &amp;&amp; $qoh &gt; 0) //Positive inventory turning negative</p><p>Just putting it here so that may get some expert advices.</p><p>Regards.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Sat, 14 Aug 2021 22:14:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39867#p39867</guid>
		</item>
	</channel>
</rss>
