Debtors/Products from MySQL to E-conomic FREE examples

Forum for .PHP developers using the E-conomic API.
Exchange your ideas, tip and tricks using the API.
Best Practices

Debtors/Products from MySQL to E-conomic FREE examples

Postby Kennethpnielsen » Tue Jan 11, 2011 11:50 am

Hi there

I've recently worked on our MySQL / E-conomic integration and would like to help and share with others how we use the API to add/update our customers and products from our MySQL database to E-conomic.

These scripts runs through our customers and products tables in a MySQL database and for every row with a timestamp not older that 24 hours check if customer / product exists in E-conomic and add/update.

These files are meant as examples to illustrate how to use the E-conomic API - and as inspiration to build your own E-conomic integration. It's not fully working scripts and there's no further documentation or support than the comments inside them. However with a few adjustments you should be able to just upload and use the scripts pretty much as they are.

As long as you agree that whatever you do with the scripts it happens at YOUR OWN RISK
Feel free to use, share, edit and do whatever you want with them :)

This was made 2011 by Kenneth Peter Nielsen on behalf of Open Company

Got any comments? Hit me at
http://www.twitter.com/kennethpnielsen

Also read about how we saved more that 400 hours a year by using the E-conomic API at our blog (in danish)
http://www.opencompany.dk/blog/index.php/2011/01/inside-sadan-sparede-vi-over-400-timer-pa-arets-forste-arbejdsuge/

- Kenneth

Download examples:
http://www.opencompany.dk/economic/economic_add_update_debtors_products_scripts_php.zip
-
Kennethpnielsen
 
Posts: 5
Joined: Tue Jan 11, 2011 11:27 am

Re: Debtors/Products from MySQL to E-conomic FREE examples

Postby thomas.k » Fri Nov 25, 2011 12:03 pm

Hov ! Det er sgu da Kenneth fra (tidl.) LinuxShoppen. Alt vel ?
Kan vi måske mødes og udveksle nogle erfaringer med e-conomics ?
Hils Kevin !
--
Thomas Knudstrup - Lite Flite
-
thomas.k
 
Posts: 1
Joined: Thu Jun 17, 2010 12:57 pm
Location: Denmark

Re: Debtors/Products from MySQL to E-conomic FREE examples

Postby Christian Estrup » Sat Nov 26, 2011 9:19 am

Hi Kenneth,

Thanks for sharing this - both the code and your story. Truly inspirational!


Best regards,
Christian Estrup
Chief Architect

Image
Online accounting
User avatar
Christian Estrup
 
Posts: 245
Joined: Tue Jun 09, 2009 6:37 pm

Re: Debtors/Products from MySQL to E-conomic FREE examples

Postby Kennethpnielsen » Thu Dec 15, 2011 5:00 pm

thomas.k wrote:Hov ! Det er sgu da Kenneth fra (tidl.) LinuxShoppen. Alt vel ?
Kan vi måske mødes og udveksle nogle erfaringer med e-conomics ?
Hils Kevin !


Hej Thomas

Naturligvis - jeg har sendt dig en mail ;-)

/Kenneth
-
Kennethpnielsen
 
Posts: 5
Joined: Tue Jan 11, 2011 11:27 am

Re: Debtors/Products from MySQL to E-conomic FREE examples

Postby Kennethpnielsen » Thu Dec 15, 2011 5:00 pm

Christian Estrup wrote:Hi Kenneth,

Thanks for sharing this - both the code and your story. Truly inspirational!


Best regards,



Thanks! ;-)
/Kenneth
-
Kennethpnielsen
 
Posts: 5
Joined: Tue Jan 11, 2011 11:27 am


Return to PHP



cron