Design and Integration questions on OFBiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Design and Integration questions on OFBiz

Gopal  Nayak

Hi OFBiz Dev Team,

 

Brief background: We, McFadyen Solutions are trying to integrate our Oracle eCommerce Application with OFBiz OMS services. We would be using the REST API services exposed by OFBiz to create orders in OFBiz from the eCommerce application.

We also want to integrate credit card authorization for post-auth purpose from OFBiz.

 

We have some questions on the integrations which we could not find in the documentation provided on the site:

 

1) Since OFBiz has fulfillment features, when an item is shipped, how and where should the integration happen so that OFBiz application gets the "shipped" event?

 

2) How do we integrate with the warehouse which would tell us when item is shipped?

 

3) When any changes related to Order are made in OFBiz application, how can we extend the OFBiz application to pass those change events to any external system(eg. the Oracle eCommerce Application in this case). How do we get a handle on the change event and what the change was?

 

4) Once we update the status of the order to "Shipped" in OFBiz, how should we trigger the post-auth on the credit card for funds capture?

 

Please provide pointers on the above questions. It would really help us in doing a successful integration between the Oracle eCommerce Application and OfBiz application framework

 

All help in highly appreciated.

 

 

Thanks

-Gopal.

GOPAL

NAYAK

 


eBusiness Integrators
Offices in the US and India
Specializing in eCommerce, Content Management & Social Media

http://www.mcfadyen.com

Delivery Lead / Sr. ATG Architect
[hidden email]
tel 972.381.2721  |  cell 210.863.5564   |   fax 703.821.4005
6860 Dallas Pkwy, STE 219, Plano, TX 75024

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Design and Integration questions on OFBiz

Pranay Pandey-3
Hi Gopal,

Welcome to the community, glad to know that you are choosing OFBiz for this
integration. Please find response inline

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576

On Tue, Apr 5, 2016 at 10:00 PM, Gopal Nayak <[hidden email]> wrote:

> Hi OFBiz Dev Team,
>
>
>
> Brief background: We, McFadyen Solutions are trying to integrate our
> Oracle eCommerce Application with OFBiz OMS services. We would be using the
> REST API services exposed by OFBiz to create orders in OFBiz from the
> eCommerce application.
>
> We also want to integrate credit card authorization for post-auth purpose
> from OFBiz.
>
>
>
> We have some questions on the integrations which we could not find in the
> documentation provided on the site:
>
>
>
> 1) Since OFBiz has fulfillment features, when an item is shipped, how and
> where should the integration happen so that OFBiz application gets the
> "shipped" event?
>


Are you willing to manage inventory as well in OFBiz? or OFBiz will get
notified for any shipment completed from other system?

OOTB OFBiz fulfillment process creates a Shipment which has it's status
transitions from PICKED ==> PACKED ==> SHIPPED. Answers to the above given
questions will help in guiding better.

For initiating the order fulfillment process you have to go to facility
manager here
<http://demo-stable-ofbiz.apache.org/facility/control/main?externalLoginKey=EL731114747043>
.
and start the Picking process from here
<http://demo-stable-ofbiz.apache.org/facility/control/PicklistOptions?facilityId=WebStoreWarehouse>
.

Once items are picked you can go ahead and do Packing and then move it for
shipping.

The other way is to do quickship from Order view itself on sales order
view, you will find a quickship.

You can try both of these and find the best fit for your system.



>
> 2) How do we integrate with the warehouse which would tell us when item is
> shipped?
>



Please refer details given for #1.




>
>
> 3) When any changes related to Order are made in OFBiz application, how
> can we extend the OFBiz application to pass those change events to any
> external system(eg. the Oracle eCommerce Application in this case). How do
> we get a handle on the change event and what the change was?
>


You can write service on order change which posts data to desired server.
OOTB OFBiz services can be referred from here
<http://demo-stable-ofbiz.apache.org/webtools/control/ServiceList;jsessionid=9AE0C7CDDBA9BD41C8754BDC575E6434.jvm1>
.




>
>
> 4) Once we update the status of the order to "Shipped" in OFBiz, how
> should we trigger the post-auth on the credit card for funds capture?
>



What do you mean by post auth?

When order is placed, if you do pre-auth for required payment for the
order, at the time of fulfillment that authorized amount is captured, do
you mean- you want to cross verify if the payment was successfully captured
or not on previously authorized transaction?



>
>
> Please provide pointers on the above questions. It would really help us in
> doing a successful integration between the Oracle eCommerce Application and
> OfBiz application framework
>


There are few questions that I have put inline, please let us know the
answers and we can find the best possible solutions with OFBiz.



>
>
> All help in highly appreciated.
>
>
>
>
>
> Thanks
>
> -Gopal.
>
> *GOPAL*
>
> *NAYAK*
>
>
>
> [image: McFadyen Solutions] <http://mcfadyen.com/>
> *eBusiness Integrators*
> Offices in the US and India
> Specializing in eCommerce, Content Management & Social Media
>
> http://www.mcfadyen.com <http://mcfadyen.com/>
> [image: McFadyen Solutions on LinkedIn]
> <https://www.linkedin.com/company/mcfadyen-solutions>[image: McFadyen
> Solutions on Twitter] <https://twitter.com/mcfadyen_solns>[image:
> McFadyen Solutions on Facebook]
> <https://www.facebook.com/McFadyenConsulting>
>
> *Delivery Lead / Sr. ATG Architect*
> [hidden email]
> tel 972.381.2721  |  cell 210.863.5564   |   fax 703.821.4005
> 6860 Dallas Pkwy, STE 219, Plano, TX 75024
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Design and Integration questions on OFBiz

Pranay Pandey-3
Hi Narayanan,

The approach you are following is good i.e. not to change any existing implementation instead doing extension as required. Just to give one add-on information on managing customization, here is a document that will guide you for the best practices for addressing any custom requirement.

Please find rest of the details inline:

Best regards,

Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey
cell: +91 982.603.5576 

On Wed, Apr 6, 2016 at 11:54 AM, Narayanan Ramachandran <[hidden email]> wrote:

Hi Pranay,

 

Thanks a lot for your quick reply.

 

This is specific to Question No. 3 below.

 

So, let me make the question more specific:

 

(i)                We are changing the order status, which would be invoking any out of the box logic which you have in Ofbiz.


You can have look varous triggers (ECAs) written on service "changeOrderItemStatus" and "changeOrderStatus" in applications/order/servicedef/secas.xml.  

 

(ii)              We don’t want to touch that. That part should work as it is.


Good to know that.

 

(iii)             But we want to do some post processing. Sending the order object to another system, (to update order or commerce item status).


It depends on the integration type you want to have. 
You can define API(If you don't already have one) in your system where you want to import and processing as it's done in OFBiz. This way whenever an order placed or any change is made you can make calls to your system through API based on details expected specific method being called. 

For this definitely you will need to write a custom service in OFBiz without touching anything in OOTB impelementation i.e. in your hot-deploy component and you can call that as needed, as trigger basically. This service will take care of calling the required service from your system to import changes.

 

(iv)             Could you please guide, how exactly we should do this?



Please refer details given for last point.

 

(v)              Can we subscribe for some events or something.



I don't actually understand this point. Please elaborate.

 

(vi)             FYI.We don’t want to touch the Out of the box ofbiz functionality. We need to extend it.



Very good to know that, please refer the document link I have given in this email for best practices for addressing custom requirements in OFBiz. Towards the end of the document you will also find link to other good document on How to Extend an existing component in customized application.

HTH.

 

 

 

NARAYANAN

RAMACHANDRAN

 


eBusiness Integrators
Offices in the US and India
Specializing in eCommerce, Content Management & Social Media

http://www.mcfadyen.com
  

Technical Lead
[hidden email]
cell +91.8884642760
#648/L, 3rd Floor, BKN Ambaram Estates, 1st Stage, 1st Main Road, Indira Nagar, Bangalore 560038 India
 

 

 

From: Pranay Pandey [mailto:[hidden email]]
Sent: Wednesday, April 06, 2016 11:34 AM
To: [hidden email]
Cc: Anna Kalra <[hidden email]>; Umapathy Gandhi <[hidden email]>; Narayanan Ramachandran <[hidden email]>; Rohitash Laul <[hidden email]>; Kossi Kpante <[hidden email]>; Hemalatha Mohan <[hidden email]>; Shubham Roy <[hidden email]>; Narinder Garg <[hidden email]>
Subject: Re: Design and Integration questions on OFBiz

 

Hi Gopal,

 

Welcome to the community, glad to know that you are choosing OFBiz for this integration. Please find response inline


Best regards,


Pranay Pandey
HotWax Systems
http://www.hotwaxsystems.com/
skype: pranay.pandey

cell: +91 982.603.5576 

 

On Tue, Apr 5, 2016 at 10:00 PM, Gopal Nayak <[hidden email]> wrote:

Hi OFBiz Dev Team,

 

Brief background: We, McFadyen Solutions are trying to integrate our Oracle eCommerce Application with OFBiz OMS services. We would be using the REST API services exposed by OFBiz to create orders in OFBiz from the eCommerce application.

We also want to integrate credit card authorization for post-auth purpose from OFBiz.

 

We have some questions on the integrations which we could not find in the documentation provided on the site:

 

1) Since OFBiz has fulfillment features, when an item is shipped, how and where should the integration happen so that OFBiz application gets the "shipped" event?

 

 

Are you willing to manage inventory as well in OFBiz? or OFBiz will get notified for any shipment completed from other system?

 

OOTB OFBiz fulfillment process creates a Shipment which has it's status transitions from PICKED ==> PACKED ==> SHIPPED. Answers to the above given questions will help in guiding better.

 

For initiating the order fulfillment process you have to go to facility manager here.

and start the Picking process from here.

 

Once items are picked you can go ahead and do Packing and then move it for shipping. 

 

The other way is to do quickship from Order view itself on sales order view, you will find a quickship.

 

You can try both of these and find the best fit for your system.

 

 

 

2) How do we integrate with the warehouse which would tell us when item is shipped?

 

 

 

Please refer details given for #1.

 

 

 

 

3) When any changes related to Order are made in OFBiz application, how can we extend the OFBiz application to pass those change events to any external system(eg. the Oracle eCommerce Application in this case). How do we get a handle on the change event and what the change was?

 

 

You can write service on order change which posts data to desired server. OOTB OFBiz services can be referred from here.

 

 

 

 

4) Once we update the status of the order to "Shipped" in OFBiz, how should we trigger the post-auth on the credit card for funds capture?

 

 

 

What do you mean by post auth?

 

When order is placed, if you do pre-auth for required payment for the order, at the time of fulfillment that authorized amount is captured, do you mean- you want to cross verify if the payment was successfully captured or not on previously authorized transaction?

 

 

 

Please provide pointers on the above questions. It would really help us in doing a successful integration between the Oracle eCommerce Application and OfBiz application framework

 

 

There are few questions that I have put inline, please let us know the answers and we can find the best possible solutions with OFBiz.

 

 

 

All help in highly appreciated.

 

 

Thanks

-Gopal.

GOPAL

NAYAK

 


eBusiness Integrators
Offices in the US and India
Specializing in eCommerce, Content Management & Social Media

http://www.mcfadyen.com

Delivery Lead / Sr. ATG Architect
[hidden email]
tel 972.381.2721  |  cell 210.863.5564   |   fax 703.821.4005
6860 Dallas Pkwy, STE 219, Plano, TX 75024