<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — base_stock_items_list()]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=631</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=631&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in base_stock_items_list().]]></description>
		<lastBuildDate>Thu, 14 May 2009 20:16:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: base_stock_items_list()]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2544#p2544</link>
			<description><![CDATA[<p>The reason I suggest that ordering is the pull-down list is constructed like this:</p><p>Category:<br />&nbsp; &nbsp; product<br />&nbsp; &nbsp; product<br />Category:<br />&nbsp; &nbsp;product<br />&nbsp; &nbsp;product</p><p>They are sorted by item Description, not stock_id</p><p>So I Ended up with</p><p>Category1<br />&nbsp; &nbsp; product1<br />Category2<br />&nbsp; &nbsp; product2<br />Category1<br />&nbsp; &nbsp; product3<br />Category2<br />&nbsp; &nbsp; product4<br />Category1<br />&nbsp; &nbsp; product5<br />Category2<br />&nbsp; &nbsp; product6<br />Category1<br />&nbsp; &nbsp; product7<br />Category2<br />&nbsp; &nbsp; product8</p><p>Since the items are displayed by category, maybe we should order them that way on the search?</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 14 May 2009 20:16:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2544#p2544</guid>
		</item>
		<item>
			<title><![CDATA[Re: base_stock_items_list()]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2542#p2542</link>
			<description><![CDATA[<p>Well, I&#039;m not sure about the right order. The optimal choice probably depends on logic used to assign code to item.</p><p>Regarding &#039;K&#039; flag I have to say you are very watchful observer <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" />. It is some very old relict. It seems to be used as mark for item kits, but currently we have this implemented in another way. To be cleaned up.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Thu, 14 May 2009 19:52:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2542#p2542</guid>
		</item>
		<item>
			<title><![CDATA[base_stock_items_list()]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=2511#p2511</link>
			<description><![CDATA[<p>In includes/ui/ui_lists.inc</p><p>The order by is simply: s.description</p><p>It also includes the category description so if different categories have similar named products you will get the stock listed in alpha sort with the same category names interspersed.</p><p>Maybe a better sort order would be c.description,s.description so we group the items within one category together and then sort the stock items</p><p>tom</p><p>ps. what is MB_FLAG = &#039;K&#039; ? (s.mb_flag=&#039;M&#039; OR s.mb_flag=&#039;K&#039;)</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Mon, 11 May 2009 12:29:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=2511#p2511</guid>
		</item>
	</channel>
</rss>
