<?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 fixed for sales order return nothing - 0]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=814</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=814&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Direct Invoice fixed for sales order return nothing - 0.]]></description>
		<lastBuildDate>Sun, 30 Aug 2009 16:27:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Direct Invoice fixed for sales order return nothing - 0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=3373#p3373</link>
			<description><![CDATA[<p>Can&#039;t reproduce this issue. There should be no situation, when sales order is issued but location is not set at all. </p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sun, 30 Aug 2009 16:27:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=3373#p3373</guid>
		</item>
		<item>
			<title><![CDATA[Direct Invoice fixed for sales order return nothing - 0]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=3369#p3369</link>
			<description><![CDATA[<p>I am using FrontAccounting 2.1.5<br />It throws the error below when i view the sale details after perform direct invoice.</p><p>The cause is it tried to look for an inventory location with empty string code of the location.</p><p>The solution, create new location with empty string as the code.</p><br /><br /><p>Error Details<br />DATABASE ERROR : 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.order_no = 1</p>]]></description>
			<author><![CDATA[null@example.com (codemeit)]]></author>
			<pubDate>Sat, 29 Aug 2009 15:31:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=3369#p3369</guid>
		</item>
	</channel>
</rss>
