<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Low Stock Report]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1716&amp;type=atom" />
	<updated>2010-12-22T16:47:38Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1716</id>
		<entry>
			<title type="html"><![CDATA[Re: Low Stock Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7811#p7811" />
			<content type="html"><![CDATA[<p>Hey Joe</p><p>Can you take just a few minutes and tell me what columns I need to add up to get current Item Qty?</p><p>I have looked at the php, but not being a coder there is a lot I just don&#039;t get...</p><p>Thanks for the help.</p>]]></content>
			<author>
				<name><![CDATA[alvin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=176</uri>
			</author>
			<updated>2010-12-22T16:47:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7811#p7811</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Low Stock Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7652#p7652" />
			<content type="html"><![CDATA[<p>Well, I don&#039;t know Alvin. You know we are short on resources <img src="https://frontaccounting.com/punbb/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2010-12-09T09:30:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7652#p7652</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Low Stock Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7636#p7636" />
			<content type="html"><![CDATA[<p>Hey Joe,</p><p>What do you think it will cost me to have someone modify the&nbsp; Inventory Planning Report to be a Low Stock Report?&nbsp; </p><p>What do you think?</p><p>AM</p>]]></content>
			<author>
				<name><![CDATA[alvin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=176</uri>
			</author>
			<updated>2010-12-08T18:14:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7636#p7636</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Low Stock Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7618#p7618" />
			<content type="html"><![CDATA[<p>Aan&#039;t you just run or modify the Inventory Planning Report? It seems easier to implement.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2010-12-07T09:48:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7618#p7618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Low Stock Report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=7611#p7611" />
			<content type="html"><![CDATA[<p>I need a Low Stock Report...</p><p>I can get the sql statement done but I need a little help.</p><p>Report would tell me what products at a location has a current quantity of less then or equal to the reorder level.</p><p>The statement below gives me a good report, but it doesn&#039;t show all the data I need.&nbsp; Using the statement bellow will not show products that have not been transferred to that location etc.&nbsp; I am guessing that I need to query some other tables like purchases received etc.</p><p>If I can please get some help...&nbsp; maybe a list of tables that I need to query etc.</p><p>Thanks</p><p>AM</p><p>SELECT 0_item_codes.stock_id<br />&nbsp; &nbsp; , 0_item_codes.description<br />&nbsp; &nbsp; , item_moves.sum_qty<br />&nbsp; &nbsp; , 0_loc_stock.reorder_level<br /> FROM 0_loc_stock<br />INNER<br /> JOIN 0_item_codes<br />&nbsp; &nbsp;ON 0_item_codes.stock_id = 0_loc_stock.stock_id<br />&nbsp; AND 0_item_codes.inactive = 0<br />&nbsp; AND 0_item_codes.category_id = 18<br />INNER<br /> JOIN ( SELECT stock_id<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;, SUM(qty) AS sum_qty<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FROM 0_stock_moves<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WHERE loc_code = 10<br />&nbsp; &nbsp; &nbsp; &nbsp; GROUP<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BY stock_id ) AS item_moves<br />&nbsp; &nbsp;ON item_moves.stock_id = 0_item_codes.stock_id<br />WHERE 0_loc_stock.loc_code = 10<br />&nbsp; AND item_moves.sum_qty &lt;= 0_loc_stock.reorder_level</p>]]></content>
			<author>
				<name><![CDATA[alvin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=176</uri>
			</author>
			<updated>2010-12-06T17:23:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=7611#p7611</id>
		</entry>
</feed>
