Correct way to integrate ERP system
Posted: 12 Apr 2018, 15:01
Hi. According to documentation, the correct way how and where to integrate an ERP system is via Service providers (https://aimeos.org/docs/Developers/Library/Service).
But docs only mention delivery and payment providers. Our case is following: We want to push new order into our ERP system immediately when the order is placed. We dont want to wait until the order is shipped or paid.
What would be the best thing to do? Create new Service provider (similar to one of the existing delivery/payment service provider) and create a new cron job to trigger this service provider, or somehow utilize the delivery provider to be triggered immediately when the order is placed?
First, I thought the basket plugin will be best for this scenario, but after I read docs it looks the service providers is better place where to store this logic - and I can leverage the cron jobs.
Thanks.
But docs only mention delivery and payment providers. Our case is following: We want to push new order into our ERP system immediately when the order is placed. We dont want to wait until the order is shipped or paid.
What would be the best thing to do? Create new Service provider (similar to one of the existing delivery/payment service provider) and create a new cron job to trigger this service provider, or somehow utilize the delivery provider to be triggered immediately when the order is placed?
First, I thought the basket plugin will be best for this scenario, but after I read docs it looks the service providers is better place where to store this logic - and I can leverage the cron jobs.
Thanks.