<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — osCommerce]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=587</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=587&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in osCommerce.]]></description>
		<lastBuildDate>Tue, 23 Nov 2010 12:54:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7521#p7521</link>
			<description><![CDATA[<p>Tomand I have done a bit more work on this and it is looking good for a 2.3 version with GST/VAT support for tax inclusive pricing.</p><p>We need to check out the impact of different customer records in 2.3. Eg Customer/Branch/Contact and neither of us has looked at that yet. Any pointers will be appreciated. The earlier 2.2 version only went Customer/Branch</p>]]></description>
			<author><![CDATA[null@example.com (rodw)]]></author>
			<pubDate>Tue, 23 Nov 2010 12:54:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7521#p7521</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7508#p7508</link>
			<description><![CDATA[<p>Thanks to Janusz for pointing out my mistake.</p><p>I have submitted a new release for posting on the website.</p><p>I also added code to automatically detect if you are using the same DB for both.</p><p>It pretty much assumes that if the server and db name you give have osc tables in them<br />then you are using one DB, otherwise they are separate.</p><p>You still should use a unique mysql user if you are using different db&#039;s on the same server.</p><p>I look for the osc table &#039;order_status_history&#039; actually I look for a table that contains that<br />string anywhere in the name kajsdfgajs_order_status_history_laksdaklsjd matches</p><p>I hope this helps</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Sun, 21 Nov 2010 14:06:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7508#p7508</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7507#p7507</link>
			<description><![CDATA[<p>Yes, in 2.3RC3 changes were made related to TB_PREF. Now&nbsp; TB_PREF is set to &#039;&amp;TB_PREF&amp;&#039;&nbsp; &nbsp;pattern which is superseded by right preffix just in db_query(). This was necessary to enable right upgrade on multi-database installations (where). </p><p>Also I&#039;m not sure about the right place for function definitions in extension file. Probably the better one would be below all include() lines.</p><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sun, 21 Nov 2010 14:06:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7507#p7507</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7506#p7506</link>
			<description><![CDATA[<p>I can&#039;t imagine that that has changed.</p><p>Is it possible that TB_PREF is wrong?</p><p>What company number are you working with?<br />Maybe the module install had TB_PREF set wrong?</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Sun, 21 Nov 2010 12:35:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7506#p7506</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=7502#p7502</link>
			<description><![CDATA[<p>hi guys</p><p>I have used this before in the earlier version.</p><p>I am trying to get this working in FA 2.3 RC3 and am running into troubles. It is getting as far as creating the new data table but then it never finds the table again so the Update MySql Button is never displayed.</p><p>I have narrowed it down to this bit of code which sets <strong>$found = 1</strong> if it appears in the show tables list returned by SHOW TABLES. <br /></p><div class="codebox"><pre><code>$sql = &quot;SHOW TABLES&quot;;
$result = db_query($sql, &quot;could not show tables&quot;);
$found = 0;
while (($row = db_fetch_row($result))) {
    if ($row[0] == TB_PREF.&quot;oscommerce&quot;) $found = 1;
}</code></pre></div><p>I have confirmed it is not formatting the table name correctly in a multi company situation as if I ask it to look for a hard coded &quot;0_oscommerce&quot;, it works.</p><p>So how do you return a string with the company number prepended to the table name?</p>]]></description>
			<author><![CDATA[null@example.com (rodw)]]></author>
			<pubDate>Sun, 21 Nov 2010 03:06:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=7502#p7502</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6642#p6642</link>
			<description><![CDATA[<p>ckrosco - when you are done please send me your file and I will update and post the new file for all to use</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Tue, 03 Aug 2010 11:27:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6642#p6642</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6271#p6271</link>
			<description><![CDATA[<p>Yes I can do that, but I am not a programmer, and there are several shortcomings to this - the biggest being that if your items are priced by attributes, and attributes are weights, your imported orders may not accurately reflect the change in inventory.</p><p>If your products are priced by item, this will work great as I have it now. Where do I upload it?</p>]]></description>
			<author><![CDATA[null@example.com (ckrosco)]]></author>
			<pubDate>Mon, 21 Jun 2010 20:11:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6271#p6271</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6270#p6270</link>
			<description><![CDATA[<p>Once you have finished debugging, do you plan to upload your mod to the community?</p>]]></description>
			<author><![CDATA[null@example.com (rthor)]]></author>
			<pubDate>Mon, 21 Jun 2010 19:32:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6270#p6270</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6250#p6250</link>
			<description><![CDATA[<div class="quotebox"><cite>ckrosco wrote:</cite><blockquote><p>So I guess something is wrong - right?</p></blockquote></div><p>Yes something was wrong. I&#039;m using this for Zen Cart and I had to modify some of the add_to_order fields (around line 495).</p><p>So now it works great! Except one thing - I would like the date to reflect the actual date of the order. Right now, you have it coded as:</p><p>$cart-&gt;document_date = TODAY();<br />$cart-&gt;due_date = TODAY();</p><p>I tried to get the date from the Zen Cart database with:</p><p>$sql = &quot;SELECT DATE(date_purchased) FROM orders WHERE orders_id = $oID&quot;;<br />$result = mysql_query($sql, $osc);<br />$date_purchased = mysql_fetch_assoc($result);<br />mysql_free_result($result);&nbsp; &nbsp; </p><p>And then using:</p><p>$cart-&gt;document_date = $date_purchased;<br />$cart-&gt;due_date = $date_purchased;</p><p>but this doesn&#039;t work.</p><p>Isn&#039;t there an elegant way to get the actual order date?</p>]]></description>
			<author><![CDATA[null@example.com (ckrosco)]]></author>
			<pubDate>Tue, 15 Jun 2010 16:20:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6250#p6250</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6245#p6245</link>
			<description><![CDATA[<p>I used this module to import customers - worked flawlessly, although I had to change </p><p>$one_database = 1; // Use one DB </p><p>to</p><p>$one_database = 0; // Use one DB</p><p>This is for the same database server, but two different data bases.</p><p>All customers are accessible via the &#039;Add and Manage Customers&#039; menu.</p><p>But after importing some orders, I don&#039;t know what to do with them. I cannot see these orders anywhere.</p><p>Reading the above posts, I think the orders have been imported as Sales Orders, so I should be able to use &quot;Delivery Against Sales Orders&quot;, but no matter what options I choose for search, &quot;No records&quot; are returned. </p><p>What is the next step after importing orders?</p><p>-----------------</p><p>Looking at the FA database, I see the imported order in the &#039;sales_order&#039; table, but there is nothing in the &#039;sales_order_details&#039; table, or anywhere else I can see that has details about each order.</p><p>So I guess something is wrong - right?</p>]]></description>
			<author><![CDATA[null@example.com (ckrosco)]]></author>
			<pubDate>Tue, 15 Jun 2010 02:03:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6245#p6245</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6236#p6236</link>
			<description><![CDATA[<p>Yes that sounds right</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Sun, 13 Jun 2010 21:24:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6236#p6236</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6232#p6232</link>
			<description><![CDATA[<div class="quotebox"><cite>tom wrote:</cite><blockquote><p>The osC ProductsID must match the FA ItemID.<br />If you run the osCommerce &#039;Price Check&#039; it will point out errors</p></blockquote></div><p>Can you clarify this?</p><p>osc:</p><p><strong>products_id</strong> in <strong>products</strong> table </p><p>should match </p><p>FrontAccount:</p><p><strong>id</strong> in <strong>item_codes</strong> table</p><p>Is that correct?</p>]]></description>
			<author><![CDATA[null@example.com (ckrosco)]]></author>
			<pubDate>Sun, 13 Jun 2010 17:38:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6232#p6232</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5233#p5233</link>
			<description><![CDATA[<p>Rod,</p><p>I can help. I am sorry it has taken me so long to reply.</p><p>Let&#039;s talk directly.</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Thu, 11 Mar 2010 12:13:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5233#p5233</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5172#p5172</link>
			<description><![CDATA[<p>OK Tom, I am ready to tackle this now as I have made a commitment to use FA from her on.</p><p>I see a green bar that says customers found, 0 customers imported. How can I debug this? Can I get FA to print some messages on the screen about what it finds?</p><p>t could be my setup as I have added a module to OsC that allows me to have multiple price breaks whihc are each asociated with a tax type. It is possible your module is not looking deep enough in the OsC data files on my setup due to this.</p>]]></description>
			<author><![CDATA[null@example.com (rodw)]]></author>
			<pubDate>Sun, 07 Mar 2010 11:24:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5172#p5172</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5066#p5066</link>
			<description><![CDATA[<p>I have been meaning to write a Summary page that gives more debug info.</p><p>Maybe it&#039;s time for that...</p><p>tom</p>]]></description>
			<author><![CDATA[null@example.com (tom)]]></author>
			<pubDate>Mon, 01 Mar 2010 17:37:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5066#p5066</guid>
		</item>
	</channel>
</rss>
