<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Low inventory.]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=954&amp;type=atom" />
	<updated>2011-07-02T15:42:54Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=954</id>
		<entry>
			<title type="html"><![CDATA[Re: Low inventory.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9601#p9601" />
			<content type="html"><![CDATA[<p>SELECT 0_item_codes.stock_id, 0_item_codes.description, item_moves.sum_qty, 0_loc_stock.reorder_level<br />FROM 0_loc_stock<br />INNER <br />JOIN 0_item_codes ON 0_item_codes.stock_id = 0_loc_stock.stock_id<br />AND 0_item_codes.inactive =0<br />INNER <br />JOIN (</p><p>SELECT stock_id, SUM( qty ) AS sum_qty<br />FROM 0_stock_moves<br />WHERE loc_code = &#039;CC&#039;<br />GROUP <br />BY stock_id<br />) AS item_moves ON item_moves.stock_id = 0_item_codes.stock_id<br />WHERE 0_loc_stock.loc_code = &#039;CC&#039;<br />AND item_moves.sum_qty &lt;= 0_loc_stock.reorder_level</p>]]></content>
			<author>
				<name><![CDATA[pdevulder]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6936</uri>
			</author>
			<updated>2011-07-02T15:42:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9601#p9601</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Low inventory.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4126#p4126" />
			<content type="html"><![CDATA[<p>Yes, there is a table, called X_loc_stock, where X stands for the table prefix.<br />This table will give you the re_order levels for a location and a stock id. You can do a join with the X_stock_master table to get the stock name as well.<br />Example<br />SELECT * FROM 0_loc_stock WHERE stock_id=&#039;XXXXXX&#039;. If you only have one location, you don&#039;t need to select this.<br />And you can put a name from the stock master<br />SELECT 0_loc_stock.*, description FROM 0_loc_stock, 0_stock_master WHERE 0_stock_master.stock_id=&#039;XXXXXX&#039; AND 0_loc_stock.stock_id=0_stock_master.stock_id.<br />And so on. </p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-12-09T16:45:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4126#p4126</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Low inventory.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4125#p4125" />
			<content type="html"><![CDATA[<p>is there any way to do that with sql command on the phpmyadmin ?</p>]]></content>
			<author>
				<name><![CDATA[ebayram]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=460</uri>
			</author>
			<updated>2009-12-09T15:15:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4125#p4125</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Low inventory.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4120#p4120" />
			<content type="html"><![CDATA[<p>No, not really. There is an on screen report. But there are 2 other reports that give you a good view of your stock.<br />The Inventory Planning Report and Stock Check Sheet.</p><p>Also remember that you can setup so emails are going to the stock location if stock is below reorder level.<br />In config.php about line 104, change this value to 1:</p><p>&nbsp; &nbsp; $loc_notification = 0;</p><p>Put an email on the stock location in Items and Inventory, and the location gets an email if stock is below reorder level.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-12-09T08:26:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4120#p4120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Low inventory.]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4119#p4119" />
			<content type="html"><![CDATA[<p>Is there any report to find which items status lower than reorder level.</p>]]></content>
			<author>
				<name><![CDATA[ebayram]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=460</uri>
			</author>
			<updated>2009-12-09T06:49:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4119#p4119</id>
		</entry>
</feed>
