<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Work Order]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=15</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=15&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Work Order.]]></description>
		<lastBuildDate>Fri, 04 May 2007 07:37:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=57#p57</link>
			<description><![CDATA[<p>Yes this is a bug. Edited files in CVS on SourceForge.</p><p>/manufacturing/includes/db/work_order_issues_db.inc</p><p>We are closing this topic now, it is rather long.</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 04 May 2007 07:37:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=57#p57</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=56#p56</link>
			<description><![CDATA[<p>I had also get error in issuing items to work order. Following error message for your reference, <br />I am using Mysql server version 5.0.27<br />please check and rectify the bug</p><p>Issue Items to Work Order</p><p>DATABASE ERROR : The work order issue could not be added<br />error code : 1064<br />error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039; &#039;2&#039;, &#039;2007/05/04&#039;, &#039;DEF&#039;, 1)&#039; at line 2<br />sql that failed was : INSERT INTO 0_wo_issues (workorder_id, reference, issue_date, loc_code, workcentre_id) VALUES (, &#039;2&#039;, &#039;2007/05/04&#039;, &#039;DEF&#039;, 1)</p>]]></description>
			<author><![CDATA[null@example.com (dkshukla)]]></author>
			<pubDate>Fri, 04 May 2007 04:27:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=56#p56</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=55#p55</link>
			<description><![CDATA[<div class="quotebox"><cite>admin wrote:</cite><blockquote><p>There seems to be a problem with joins in version 5.0.12 of MySQL. Look at this topic, <a href="https://frontaccounting.com/punbb/viewtopic.php?id=13">https://frontaccounting.com/punbb/viewtopic.php?id=13</a><br />This SQL statement is inside the file <br />/manufacturing/includes/db/work_order_requirements_db.inc in a function called get_wo_requirements:<br /></p><div class="codebox"><pre><code>function get_wo_requirements($woid)
{
    $sql = &quot;SELECT &quot;.TB_PREF.&quot;wo_requirements.*, &quot;.TB_PREF.&quot;stock_master.description,
        &quot;.TB_PREF.&quot;stock_master.mb_flag, 
        &quot;.TB_PREF.&quot;locations.location_name, 
        &quot;.TB_PREF.&quot;workcentres.name AS WorkCentreDescription FROM 
        &quot;.TB_PREF.&quot;wo_requirements, &quot;.TB_PREF.&quot;locations, &quot;.TB_PREF.&quot;workcentres INNER JOIN &quot;.TB_PREF.&quot;stock_master ON 
        &quot;.TB_PREF.&quot;wo_requirements.stock_id = &quot;.TB_PREF.&quot;stock_master.stock_id 
        WHERE workorder_id=$woid
        AND &quot;.TB_PREF.&quot;locations.loc_code = &quot;.TB_PREF.&quot;wo_requirements.loc_code
        AND &quot;.TB_PREF.&quot;workcentres.id=CAST(workcentre AS UNSIGNED)&quot;;    

    return db_query($sql, &quot;The work order requirements could not be retrieved&quot;);    
}</code></pre></div><p>Put parentheses around the FROM tables<br /></p><div class="codebox"><pre><code>....... FROM (&quot;.TB_PREF.&quot;wo_requirements, &quot;.TB_PREF.&quot;locations, &quot;.TB_PREF.&quot;workcentres) 
INNER JOIN &quot;.TB_PREF.&quot;stock_master ON .......</code></pre></div><p>Please report if this helps!<br />New edited files with JOIN&#039;s from multiple tables will be put on the CVS on Sourceforge.</p><p>/includes/db/manufacturing_db.inc<br />/manufacturing/includes/db/work_order_requirements_db.inc</p><p>Admin</p></blockquote></div><p>With new codes there is no error.<br />Thanks<br />shukla</p>]]></description>
			<author><![CDATA[null@example.com (dkshukla)]]></author>
			<pubDate>Fri, 04 May 2007 03:41:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=55#p55</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=54#p54</link>
			<description><![CDATA[<p>i am using my-sql version 5.0.27</p>]]></description>
			<author><![CDATA[null@example.com (dkshukla)]]></author>
			<pubDate>Fri, 04 May 2007 03:29:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=54#p54</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=53#p53</link>
			<description><![CDATA[<p>There seems to be a problem with joins in version 5.0.12 of MySQL. Look at this topic, <a href="https://frontaccounting.com/punbb/viewtopic.php?id=13">https://frontaccounting.com/punbb/viewtopic.php?id=13</a><br />This SQL statement is inside the file <br />/manufacturing/includes/db/work_order_requirements_db.inc in a function called get_wo_requirements:<br /></p><div class="codebox"><pre><code>function get_wo_requirements($woid)
{
    $sql = &quot;SELECT &quot;.TB_PREF.&quot;wo_requirements.*, &quot;.TB_PREF.&quot;stock_master.description,
        &quot;.TB_PREF.&quot;stock_master.mb_flag, 
        &quot;.TB_PREF.&quot;locations.location_name, 
        &quot;.TB_PREF.&quot;workcentres.name AS WorkCentreDescription FROM 
        &quot;.TB_PREF.&quot;wo_requirements, &quot;.TB_PREF.&quot;locations, &quot;.TB_PREF.&quot;workcentres INNER JOIN &quot;.TB_PREF.&quot;stock_master ON 
        &quot;.TB_PREF.&quot;wo_requirements.stock_id = &quot;.TB_PREF.&quot;stock_master.stock_id 
        WHERE workorder_id=$woid
        AND &quot;.TB_PREF.&quot;locations.loc_code = &quot;.TB_PREF.&quot;wo_requirements.loc_code
        AND &quot;.TB_PREF.&quot;workcentres.id=CAST(workcentre AS UNSIGNED)&quot;;    

    return db_query($sql, &quot;The work order requirements could not be retrieved&quot;);    
}</code></pre></div><p>Put parentheses around the FROM tables<br /></p><div class="codebox"><pre><code>....... FROM (&quot;.TB_PREF.&quot;wo_requirements, &quot;.TB_PREF.&quot;locations, &quot;.TB_PREF.&quot;workcentres) 
INNER JOIN &quot;.TB_PREF.&quot;stock_master ON .......</code></pre></div><p>Please report if this helps!<br />New edited files with JOIN&#039;s from multiple tables will be put on the CVS on Sourceforge.</p><p>/includes/db/manufacturing_db.inc<br />/manufacturing/includes/db/work_order_requirements_db.inc</p><p>Admin</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Thu, 03 May 2007 20:45:22 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=53#p53</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=52#p52</link>
			<description><![CDATA[<p>Hello,<br />We can not reproduce this error. Can you tell us which version of MySQL you are using? Maybe there are people out there that can help us with this?</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Thu, 03 May 2007 08:49:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=52#p52</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43#p43</link>
			<description><![CDATA[<p>I had also also found error to get details of work order. error details given below. I am using latest checked out codes from CVS<br />--------------------------------------------------------------------------------------------------------------------<br />Work Order # 8<br /># &nbsp; &nbsp; Reference &nbsp; &nbsp; Type &nbsp; &nbsp; Manufactured Item &nbsp; &nbsp; Into Location &nbsp; &nbsp; Date &nbsp; &nbsp; Quantity<br />8 &nbsp; &nbsp; 8 &nbsp; &nbsp; Assemble &nbsp; &nbsp; 001 - ABCD&nbsp; &nbsp; PLACE &nbsp; &nbsp; 24/05/2007 &nbsp; &nbsp; 1<br />This work order is closed.</p><p>Work Order Requirements<br />DATABASE ERROR : The work order requirements could not be retrieved<br />error code : 1054<br />error message : Unknown column &#039;0_wo_requirements.stock_id&#039; in &#039;on clause&#039;<br />sql that failed was : SELECT 0_wo_requirements.*, 0_stock_master.description, 0_stock_master.mb_flag, 0_locations.location_name, 0_workcentres.name AS WorkCentreDescription FROM 0_wo_requirements, 0_locations, 0_workcentres INNER JOIN 0_stock_master ON 0_wo_requirements.stock_id = 0_stock_master.stock_id WHERE workorder_id=8 AND 0_locations.loc_code = 0_wo_requirements.loc_code AND 0_workcentres.id=CAST(workcentre AS UNSIGNED)</p>]]></description>
			<author><![CDATA[null@example.com (dkshukla)]]></author>
			<pubDate>Wed, 02 May 2007 17:46:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43#p43</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=31#p31</link>
			<description><![CDATA[<p>We have been doing some more research and detected some differences in declaring the work centre id in the database. It might cause problems in newer versions of MySQL. We have solved it by casting the string versions into unsigned. It should fix the problems.<br />Please check out the following files from the CVS.<br />/includes/db/manufacturing_db.inc<br />/manufacturing/work_order_entry.php<br />/manufacturing/includes/work_order_issue_ui.inc<br />/manufacturing/includes/db/work_order_requirements_db.inc<br />/manufacturing/includes/db/work_orders_quick_db.inc<br />/manufacturing/inquiry/where_used_inquiry.php</p><p>We hope that this solves your problems.</p><p>Admin</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Sat, 28 Apr 2007 16:24:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=31#p31</guid>
		</item>
		<item>
			<title><![CDATA[Re: Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28#p28</link>
			<description><![CDATA[<p>Thanks for the bug report. The last one with the debug boxes has been fixed.<br />Another bug, according the Issue link in Work Order Inquires, produced an empty screen, has been fixed. <br />Affected files:<br />/manufacturing/work_order_entry.php<br />/manufacturing/includes/work_order_issue_ui.inc<br />/manufacturing/includes/db/work_orders_quick_db.inc<br />Please check them out from the CVS repository on Sourceforge.</p><p>We couldn&#039;t reproduce your first error (viewing the work order). Could you please, after downloading the affected files, tell us if the bug still exists. That is, try to enter a new work-order and view it.<br />If the bug still exists, please tell us exactly what you entered. That way we should be able to fix it rapidly.</p><p>Admin</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Sat, 28 Apr 2007 13:31:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28#p28</guid>
		</item>
		<item>
			<title><![CDATA[Work Order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=25#p25</link>
			<description><![CDATA[<p>I already installed 1.0.1 (fresh installation from wizard), but this error remains when viewing Work Order<br />e.g: http://localhost/frontacc/manufacturing/view/work_order_view.php?trans_no=10</p><p>DATABASE ERROR : The work order requirements could not be retrieved<br />error code : 1054<br />error message : Unknown column &#039;0_wo_requirements.stock_id&#039; in &#039;on clause&#039;<br />sql that failed was : SELECT 0_wo_requirements.*, 0_stock_master.description, 0_stock_master.mb_flag, 0_locations.location_name, 0_workcentres.name AS WorkCentreDescription FROM 0_wo_requirements, 0_locations, 0_workcentres INNER JOIN 0_stock_master ON 0_wo_requirements.stock_id = 0_stock_master.stock_id WHERE workorder_id=10 AND 0_locations.loc_code = 0_wo_requirements.loc_code AND 0_workcentres.id=workcentre</p><p>When saving Work Order Entry, always showing multiple dialog box &quot;bokade bom- cost 0&quot;, &quot;bokade additional cost -35, acc = 1410&quot;, &quot;bokade total- cost 35&quot;, before displaying the result screen saying &quot;The work order been added.&quot;</p><p>Thanks in advance,<br />I&#039;m looking forward to try out another enhancements.</p>]]></description>
			<author><![CDATA[null@example.com (adityo)]]></author>
			<pubDate>Sat, 28 Apr 2007 04:54:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=25#p25</guid>
		</item>
	</channel>
</rss>
