<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — direct invoice error]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1398</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1398&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in direct invoice error.]]></description>
		<lastBuildDate>Mon, 28 Jun 2010 13:39:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: direct invoice error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6331#p6331</link>
			<description><![CDATA[<p>I found the problem!<br />In thr 0_sales_pos table, the only record in the table has ID = 2<br />I change it to 1, and problem fixed<br />Thanks and regards!!!!</p>]]></description>
			<author><![CDATA[null@example.com (chano)]]></author>
			<pubDate>Mon, 28 Jun 2010 13:39:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6331#p6331</guid>
		</item>
		<item>
			<title><![CDATA[Re: direct invoice error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6294#p6294</link>
			<description><![CDATA[<p>yes, y do delete the insert line taht creats default POS, <br />but later in the setup, i do create a new location called OFI before make any direct invoice.</p><p>CLUES</p><p>i&#039;ve installed 2 enterprise, E1 and E2<br />in E1 the default .SQL was executed to create de DB.<br />at the first time it`s works ok, but after DEF POS deletion and NEW POS creation, i started to have this problem.<br />Then, I&#039;ve created a second Entreprise, with &quot;non critical&quot; insert lines, and the problem shows up at the beginning<br />I haven&#039;t modified the default entrprise Training Co. here, direct invoice Work fine.<br />Later i will create with the default. SQL file a new E3, and recreater the scenario.<br />I will keep you notice.</p>]]></description>
			<author><![CDATA[null@example.com (chano)]]></author>
			<pubDate>Wed, 23 Jun 2010 17:31:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6294#p6294</guid>
		</item>
		<item>
			<title><![CDATA[Re: direct invoice error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6278#p6278</link>
			<description><![CDATA[<p>I think you have missed something important when manually deleting &#039;non critical&#039; insert lines. Maybe you have no POS defined or location for te POS is not &#039;OFI&#039; but &#039;DEF&#039; or something else?<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Tue, 22 Jun 2010 17:27:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6278#p6278</guid>
		</item>
		<item>
			<title><![CDATA[direct invoice error]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6274#p6274</link>
			<description><![CDATA[<p>Hi, my name is luciano, i&#039;ve installed FA a few days ago. it is an excelent software.<br />But i am having a little problem. My knowledge in MySQL is about 3 in a 1 to 10 scale, and 0 in php.<br />However y could relaize why my installation can`t make DIRECT INVOICE&#039;s.<br />when y click on PLACE INVOICE i have a red error:<br />&quot;&quot;&quot;<br />ERROR DE BASE DE DATOS : FATAL : sales order return nothing - 0<br />sql that failed was : SELECT 1_sales_orders.*, 1_debtors_master.name, 1_debtors_master.curr_code, 1_debtors_master.email AS master_email, 1_locations.location_name, 1_debtors_master.payment_terms, 1_debtors_master.discount, 1_sales_types.sales_type, 1_sales_types.id AS sales_type_id, 1_sales_types.tax_included, 1_shippers.shipper_name, 1_tax_groups.name AS tax_group_name , 1_tax_groups.id AS tax_group_id FROM 1_sales_orders, 1_debtors_master, 1_sales_types, 1_tax_groups, 1_cust_branch, 1_locations, 1_shippers WHERE 1_sales_orders.order_type=1_sales_types.id AND 1_cust_branch.branch_code = 1_sales_orders.branch_code AND 1_cust_branch.tax_group_id = 1_tax_groups.id AND 1_sales_orders.debtor_no = 1_debtors_master.debtor_no AND 1_locations.loc_code = 1_sales_orders.from_stk_loc AND 1_shippers.shipper_id = 1_sales_orders.ship_via AND 1_sales_orders.trans_type = &#039;30&#039; AND 1_sales_orders.order_no = &#039;1&#039;<br />The field from_stk_loc in sales_orders is empty at the time the DIRECT INVOICE is generated. i dont know if i´m expleing myself.<br />&quot;&quot;&quot;<br />When you search for &quot; 1_locations.loc_code = 1_sales_orders.from_stk_loc&quot;, the result is 0 because the values are different. In my case it is OFI in the first sentence and EMPTY in the second.<br />There must be some function that is not working ...??<br />I´m running FA 2.2, windows XP,with XAMPP, My DB installed from&nbsp; en_US-new.sql, I ve removed many non critical &quot;INSERT&quot; lines. if you want i can send my SQL backup.<br />Tell me what else do you need from my working enviroment.<br />P.S.: Excuse my english<br />Thanks and regards!</p>]]></description>
			<author><![CDATA[null@example.com (chano)]]></author>
			<pubDate>Tue, 22 Jun 2010 04:47:40 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6274#p6274</guid>
		</item>
	</channel>
</rss>
