<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — database error]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=261</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=261&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in database error.]]></description>
		<lastBuildDate>Thu, 24 Jul 2008 07:50:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: database error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=831#p831</link>
			<description><![CDATA[<p>The query you are referring to is inside /includes/db/inventory_db.inc in function add_stock_move().</p><p>The value of $person_id = null is among other in Manufacturing, work order entry. <br />I can NOT reproduce an error. The value of the person_id field is 0 after execution.<br />I am using PHP 5.2.4 and MySQL 5.0.18.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 24 Jul 2008 07:50:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=831#p831</guid>
		</item>
		<item>
			<title><![CDATA[database error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=827#p827</link>
			<description><![CDATA[<p>The sql query can run correctly on the mysql older version i.e. 4.12 while it gives error when they are running on mysql version like 5+. </p><br /><p>Query:<br />&quot;INSERT INTO &quot;.TB_PREF.&quot;stock_moves (stock_id, trans_no, type, loc_code, <br />&nbsp; &nbsp; &nbsp; &nbsp; tran_date, person_id, reference, qty, standard_cost, visible, price, <br />&nbsp; &nbsp; &nbsp; &nbsp; discount_percent) VALUES (&#039;$stock_id&#039;, $trans_no, $type,&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &#039;$location&#039;, &#039;$date&#039;, &#039;$person_id&#039;, &#039;$reference&#039;, $quantity, $std_cost, <br />&nbsp; &nbsp; &nbsp; &nbsp; $show_or_hide, $price, $discount_percent)&quot;;</p><p>It is explanation : Where $person_id = null</p>]]></description>
			<author><![CDATA[null@example.com (ravindra)]]></author>
			<pubDate>Wed, 23 Jul 2008 08:06:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=827#p827</guid>
		</item>
	</channel>
</rss>
