webERP Forum

Full Version: How to create a module?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.)
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.
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?
Send it to me at:

Submissions@weberp.org

Thanks very much