<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Problem when generating the bill of material listing report]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=677&amp;type=atom" />
	<updated>2009-06-02T14:31:20Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=677</id>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2731#p2731" />
			<content type="html"><![CDATA[<p>Don&#039;t Worry Joe</p><p>I&#039;ll not leave this solution untill I&#039;ll make a complete try for all the options inside it and now I&#039;m working in Demo Data which help me to discover the bugs .</p><p>Best Regards</p>]]></content>
			<author>
				<name><![CDATA[infotechaccountant]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=205</uri>
			</author>
			<updated>2009-06-02T14:31:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2731#p2731</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2730#p2730" />
			<content type="html"><![CDATA[<p>This database error was arising because when deleting the DEF location the deleting routine inside locations.php didn&#039;t check for BOM values and some other relating records in other tables. This has now been fixed and will be uploade to CVS Main trunk. Which, of course, will be included in 2.1.3.<br />Please, infotechaccountant, be good to us. Under no circumstances will we be developing in a bad practice. Both the main developers have over 30 years of serious developing experience. But, unfortunately, bugs comes and goes. And as said we try to fix them ASAP. I am just waiting for another bugfix before committing to CVS Main trunk.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-06-02T13:26:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2730#p2730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2724#p2724" />
			<content type="html"><![CDATA[<p>Probably you have broken database consistency as a result of manual playing with database content. AFAIK there is no one place in source code where &#039;DEF&#039; hardcoded, and the problem is that you have deleted location record, while it is referenced in BOM. </p><p>But if the deletion was made normally at Inventory Locations page it mean there is lack of some pre-deletion check as Joe said. Anyway it can be a bug, not a design flow.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2009-06-02T11:31:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2724#p2724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2723#p2723" />
			<content type="html"><![CDATA[<p>Dear Joe</p><p>I don’t think that this is a permanent solution , I think you have two options for that , the first is to add criteria will be selected from compo box which will include the query about the location , the second is to delete this code “WHERE loc_code=&#039;DEF&#039;” and make the sorting according to the location <br />I think you have reform the sql code here in version 2.1.3 , and really it is very bad practice in developing when you force your end user to use particular data like this case I have to maintain a record for a location its code “DEF”<br />Best Regards</p>]]></content>
			<author>
				<name><![CDATA[infotechaccountant]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=205</uri>
			</author>
			<updated>2009-06-02T08:00:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2723#p2723</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2722#p2722" />
			<content type="html"><![CDATA[<p>Currently, when deleting locations, we check for locations in:<br />table stock_moves<br />table work_orders<br />table cust_branches<br />It seems that we have to extend the check.<br />You can insert the location DEF again, and then the report will work ok.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-06-02T07:29:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2722#p2722</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2721#p2721" />
			<content type="html"><![CDATA[<p>you have to delete this part in sql code </p><div class="codebox"><pre><code>WHERE loc_code=&#039;DEF&#039;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[infotechaccountant]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=205</uri>
			</author>
			<updated>2009-06-02T07:28:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2721#p2721</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2720#p2720" />
			<content type="html"><![CDATA[<p>I think this is because i delete DIF location from the list of lacation , but it is very strange here in designing , as you have to put a compo box include the locations to be selected and not to be defined by sql query .</p>]]></content>
			<author>
				<name><![CDATA[infotechaccountant]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=205</uri>
			</author>
			<updated>2009-06-02T06:38:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2720#p2720</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Problem when generating the bill of material listing report]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2719#p2719" />
			<content type="html"><![CDATA[<p>there was a problem when generating bill of material listing report and this message came to me</p><div class="codebox"><pre><code>DATABASE ERROR : could not retreive the location name for DEF
sql that failed was : SELECT location_name FROM 3_locations WHERE loc_code=&#039;DEF&#039;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[infotechaccountant]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=205</uri>
			</author>
			<updated>2009-06-02T06:36:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2719#p2719</id>
		</entry>
</feed>
