Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a module?
03-03-2013, 07:05 PM
Post: #1
How to create a module?
Hi everybody!
Registered 15 minutes ago :-)

Quick question:
- How can one develop an extension or module for webERP?
- Do you have perhaps a step-by-step description about creating modules?

------
Reason why I'm asking:
I've created a set of some simple (online) connectors which are able to get data of new orders from either a osCommerce/openCart/Woocommerce shop. Data is transmitted via Curl and in my test surrounding in Xampp these connectors provide me with (serialized) multidimensional PHP arrays.
So far so good. But ideally these PHP arrays should now be digested by webERP. One could "hack the system" but thats usually not advisable (future updates etc.)
Find all posts by this user
Quote this message in a reply
03-04-2013, 05:42 AM (This post was last modified: 03-04-2013 05:43 AM by phil.)
Post: #2
RE: How to create a module?
Hi and welcome :-)

You could use the API from your application to send customer data and orders to webERP - there is a basic tutorial at

http://www.weberp.org/weberp/doc/Manual/...PITutorial

The customer data needs to be populated first if the customer is not already in the system before an order can be set up for it.

There is no way to setup a module separately in webERP - but you could certainly submit a script or two.

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
03-05-2013, 06:29 PM
Post: #3
RE: How to create a module?
Thanks a lot!
Checked the source-code a bit more. With modules I guess the "includes\MainMenuLinksArray.php" file plays a keyrole, keeps it all together.

Where/how could I submit my script?
Find all posts by this user
Quote this message in a reply
03-05-2013, 07:03 PM
Post: #4
RE: How to create a module?
Send it to me at:

Submissions@weberp.org

Thanks very much

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)