Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a module?
03-03-2013, 07:05 PM,
#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.)
Reply
03-04-2013, 05:42 AM, (This post was last modified: 03-04-2013, 05:43 AM by phil.)
#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
Reply
03-05-2013, 06:29 PM,
#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?
Reply
03-05-2013, 07:03 PM,
#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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)