<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Import Sales Order]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2334&amp;type=atom" />
	<updated>2012-04-10T13:18:54Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=2334</id>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12222#p12222" />
			<content type="html"><![CDATA[<p>Hi Elax,</p><p>I happened to check forum today after many days.<br />I have loaded the module in my local instance.<br />Will be using it. A quick review gave me good feel.</p><p>I don&#039;t know wheather I should be discussing following part here - <br />Could you please help to remove an issue in reporting module ? <br />Issue is - When we take Excel report. In OOCalc (May be Ms Excel too) report files show up without borders but in preview and print, borders are visible. So reports are not printed properly. If you can give it a look, it would be nice.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[chaitanya]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=524</uri>
			</author>
			<updated>2012-04-10T13:18:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12222#p12222</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12220#p12220" />
			<content type="html"><![CDATA[<p>Hi Chaitanya,</p><p>Thanks you very much ! Have you had a chance to use it ? Unfortunately I haven&#039;t had the time to write any other modules. Just some custom modifications for my own uses, but nothing major.</p><br /><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2012-04-10T12:09:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12220#p12220</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12219#p12219" />
			<content type="html"><![CDATA[<p>Hi Elax,</p><p>I checked the module and amazed by it&#039;s implementation. <br />Hats off to you ! <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I am wondering with you such great programming skills, have you developed other modules to make FA more productive ? Something like serialized inventory, POS etc.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[chaitanya]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=524</uri>
			</author>
			<updated>2012-04-10T07:27:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12219#p12219</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12044#p12044" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>chaitanya wrote:</cite><blockquote><p>Hi elax,</p><p>I have recently created a module that can import CSV to sales order form. <br />It will not directly post the sales order, rather it will import items through CSV and show a pre-filled Sales Order form.<br />Which you may check, select customer and set other details properly before confirming the order.</p><p>Since I am away, I will be posting this module to FA admins for review soon.</p><p>It has a TODO : Check item is salable <br />Also this feature needs to have a 2 lines added in FA core file - sales_order_entry.php</p><p>Thanks</p></blockquote></div><p>Hi<br />I&#039;ve done my own module which allow you to copy/paste orders to/from Excel (or any text editor) and much much more (https://frontaccounting.com/punbb/viewtopic.php?id=2793)<br />Let me know if you are interested.</p><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2012-03-21T15:55:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12044#p12044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12001#p12001" />
			<content type="html"><![CDATA[<p>Hi elax,</p><p>I have recently created a module that can import CSV to sales order form. <br />It will not directly post the sales order, rather it will import items through CSV and show a pre-filled Sales Order form.<br />Which you may check, select customer and set other details properly before confirming the order.</p><p>Since I am away, I will be posting this module to FA admins for review soon.</p><p>It has a TODO : Check item is salable <br />Also this feature needs to have a 2 lines added in FA core file - sales_order_entry.php</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[chaitanya]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=524</uri>
			</author>
			<updated>2012-03-15T08:50:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12001#p12001</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=11363#p11363" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>janusz wrote:</cite><blockquote><p>Really excentric approach <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" />.<br />Keep in mind FA make lots of checks before the data for any entered document are stored in database. The more FA code you ommit the more chances to break your ledger.</p><p>Janusz</p></blockquote></div><p>You are right, this is why I want to integrate it in FA (so I can use all the FA code) rather than doing SQL (even though It work pretty well). I&#039;ve started doing something and It&#039;s quite promising, I&#039;ll keep you in touch when it&#039;s finished.</p><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2011-12-28T11:39:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=11363#p11363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=11357#p11357" />
			<content type="html"><![CDATA[<p>Really excentric approach <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" />.<br />Keep in mind FA make lots of checks before the data for any entered document are stored in database. The more FA code you ommit the more chances to break your ledger.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[janusz]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=4693</uri>
			</author>
			<updated>2011-12-28T10:19:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=11357#p11357</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=11259#p11259" />
			<content type="html"><![CDATA[<p>Hi<br />I&#039;ve been implementing this ruby thing because I don&#039;t like the actual order/cart interface neither I will never like GUI based. I want to enter sales order, purchase order, stock transfer, etc in my favorite text editor <br />- because I love it (my text editor)<br />- it&#039;s faster ( I don&#039;t have to wait for anything before entering the next field) ... really faster<br />- I can do amazing stuff like&nbsp; copy/paste , subsitution (usefull when the order is, I want this in every color or I want Y in the same colors as X) etc <br />- it doesn&#039;t crash in the middle, meaning I have to start from the beginning<br />- purchase orders can &quot;generated&quot; from sales orders <br />- I can enter them from email etc&nbsp; etc etc ....</p><br /><p>So I had this idea, rather than generating a SQL file that then I have to upload, I can add a &quot;free text&quot; popup in the actual GUI where I could copy/paste my order text file (in my format) and convert it (using PHP or JS) to a cart. I&#039;ve been looking a bit how it work and it&#039;s seems possible to add a import/export to text function to the cart(s) which should then &quot;modify&quot; properly. (I understood that the cart is saved in the session, therefore it should be possible to &quot;build&quot; it from a text).<br />I&#039;m a wright ? Does it seems to be a good approach or could you suggest me something else ?</p><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2011-12-16T15:00:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=11259#p11259</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10097#p10097" />
			<content type="html"><![CDATA[<p>Ok, thanks</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2011-08-26T11:55:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10097#p10097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10096#p10096" />
			<content type="html"><![CDATA[<p>Well, I guess you should look at either osc_import or zen_import to see if there are SO importing here. You may also look at the older modules at the download pages, however there may be changes to table structures, so take care.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-08-26T11:53:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10096#p10096</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10095#p10095" />
			<content type="html"><![CDATA[<p>Which modules ?</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2011-08-26T09:18:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10095#p10095</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10094#p10094" />
			<content type="html"><![CDATA[<p>Please look into the modules that handles import of SO to get an idea of which tables (if any) should be updated as well.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-08-26T09:13:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10094#p10094</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10093#p10093" />
			<content type="html"><![CDATA[<p>@Joe, do you think updating only the sales_order_details is ok or am I missing something ? <br />Should I update the audit table too ?</p><p>Thanks<br />Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2011-08-26T08:38:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10093#p10093</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10075#p10075" />
			<content type="html"><![CDATA[<p>Hi<br />As I really need an import feature for miscellaneous reasons, I came across this ugly solution.</p><p>I created a (ruby) script which parses a csv file (+ some extra command) and&nbsp; generate a sql file filling the sales_order_details table.<br />The sql file lookup at the price and description in the database if need</p><p>The csv+ file looks like :</p><br /><p>:order, 36&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#set the current order id<br />sku1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # add item &quot;sku1&quot; to order#36<br />sku2 | desc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# add item &quot;sku2&quot; and set the description to desc<br />sku3, 20&nbsp; , 14.5&nbsp; # qty = 20 price = 14.5</p><p>:order, 37&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #order 37 now<br />:clear&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#clear the order 37 (except details with sent qty)<br />sku1<br />sku2</p><p>etc ...</p><br /><p>That seems to work pretty well. I can now write all of my orders in one file using vim , duplicate bits if needed, copy paste from excel or email etc ...<br />However I have to create the &quot;empty&quot; order manually first as my script only deal with the sales_order_details.</p><p>I also written a sql query wich &#039;prepopulate&#039; a such file making easier to find&nbsp; which order id correspond to which order and what is missing in it.</p><p>This solution is still a bit tedious as it involve some file manipulations&nbsp; and the use of phpmyadmin to run the query, but if you have to convert a excel spreadsheet with 200 items to an FA order that really worth it.</p><p>If anyboby is interested by this I could provide the script ( It still not fully tested yet though)</p><p>Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2011-08-25T12:01:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10075#p10075</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import Sales Order]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10064#p10064" />
			<content type="html"><![CDATA[<p>There is no way to import csv files in the FA core. However you can look into the modules that handles import of SO to get an idea.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-08-24T11:55:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10064#p10064</id>
		</entry>
</feed>
