<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — sales pricing shows Foreign Item Codes too?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=699&amp;type=atom" />
	<updated>2009-06-10T11:00:58Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=699</id>
		<entry>
			<title type="html"><![CDATA[sales pricing shows Foreign Item Codes too?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2836#p2836" />
			<content type="html"><![CDATA[<p>in inventory/prices.php</p><p>The first SQL is:</p><p>SELECT i.item_code, i.description, c.description, count(*)&gt;1 as kit<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FROM<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0_item_codes i<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0_stock_category c<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ON i.category_id=c.category_id GROUP BY i.item_code ORDER BY c.description,i.item_code</p><p>And it ends up including foreign item codes in the list as well, which can&#039;t have prices</p><p>as a check I tried to enter a Sales Order and noticed the Foreign item codes were replaced with the proper stock_id</p><p>tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2009-06-10T11:00:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2836#p2836</id>
		</entry>
</feed>
