Real Time Item Synchronization using Oracle Integration
Usecase
In this use case we will explore the use of Oracle Integration to subscribe to Oracle Product Hub Cloud Events and push the relevant event information to downstream systems such as E-Business suite for a typical Hybrid Deployment scenario.
a. User creates an Item in Oracle Product Hub Cloud
b. Oracle Integration subscribes to the Item event, transforms and
pushes the relevant Item information to E-Business Suite
Configure
There are certain pre-requisites that need to be performed in Oracle Product Hub Cloud, they are detailed below.
- Add the required roles for integration Navigating to ERP Cloud Security Console
- Integration Specialist
- Oracle ERP Cloud-specific data access to the integration user
- Create a csf key to subscribe to events in ERP Cloud. OIC ERP cloud adapter supports lot of ERP Cloud Events which is described here
- Deploy the PLM REST API in E-Business Suite Integration Repository
Select Catalog Item Maintenance
Switch to Rest Webservices and provide an alias “plmsvc”
Select Process Item (convenience wrapper version) and deploy
Implementing the Product Hub Cloud Real Time Item Sync Usecase
Creating Connections
Creating the Item Sync Integration Flow
- Create an App Driven Integration Flow
- Drag and Drop ERP Connection as Trigger Provide an Endpoint Name
- Select “Receive Business Events Raised within ERP Cloud” as the option and search for the “Item Create Event” and provide an XPath Expression as below and Click Next. Here we are trying to filter Item Events with a Specific Item Number. Infact, we can provide any attribute as filter conditions.
How to derive the XPath filter expression?
Business events in Fusion-based SaaS are processed like this
- If a business object is created, updated or deleted, an event is triggered inside SaaS if there is a subscription. This event payload contains only some core elements of the business object.
- An enrichment service is called to get the complete data of this business object
- This enriched payload is sent to the external system which has been registered to receive the event (in our case OIC)
The payload in most cases is identical to the findXXX web service response payload.
Let's look at our example - the "Item Creation" event. The corresponding event payload is based on the findItemResponse structure of the findItem operation in web service ItemServiceV2. We can find a documentation of the SCM web service structures in the SCM Cloud API Documentation
The response structure looks like this:
ns2: "http://xmlns.oracle.com/apps/scm/productModel/items/itemServiceV2/types/"
ns0: "http://xmlns.oracle.com/adf/svc/types/"
ns1: "http://xmlns.oracle.com/apps/scm/productModel/items/itemServiceV2/"
- Next we will add the Invoke Activity Using the EBS connection to insert Item.
In the Web Services page select the Product Family/Product/Interface Type/API
Note: The API/Operation should have been published and the grants to be added from EBS ISG repository.
· onEvent -> findItemResponse -> result->ItemDescription TO PROCESS_ITEM_Input -> inputParameters -> P_DESCRIPTION
· “CREATE” Ã TO PROCESS_ITEM_Input -> inputParameters -> P_TRANSACTION_TYPE
· “V1” Ã ItemNumber TO PROCESS_ITEM_Input -> inputParameters -> P_ORGANIZATION_CODE
1. In the Create Item page enter
the Item name same as the value provided in the XPath filter expression for
Item Number
1. We can view the payload response after successful creation of item in EBS
Perfect, beautifully explained.
ReplyDeleteThanks Narayana for great presentation on the flow.
ReplyDeleteThank you for sharing this informative information with us. Its very helpful.
ReplyDeleteSaas Cloud Based ERP
Kudos! awesome blog!
ReplyDeleteerp solutions company in madhapur hyderabad telangana
Thank you for sharing this informative information with us. Its very helpful. Cloud ERP for Import Export
ReplyDeleteThis is really informative blog, I have to thank for your efforts. Waiting for more post like this.
ReplyDeleteCloud Computing
Benefits of Computing
Thanks for sharing such a nice blog. keep on sharing. if anyone intrested on
ReplyDeletetakeaway software,
central kitchen software,
best restaurant billing software,
restaurant pos system,
restaurant pos software,
contactless ordering,
cloud kitchen setup
Thank you for sharing this informative information with us. Its very helpful. Saas Based ERP for Import Export
ReplyDeleteProduct listing data entry which are our core specialists, our turnaround time is very quick, and we can well deal with volumes of work without any hassles. All information provided by you is dealt with strictest confidence and hence we ensure complete privacy of data at our end.
ReplyDeleteThanks for sharing this post.Best ERP softwarein chennai.
ReplyDeleteThanks for this great post.
ReplyDeleteI have issue : " I have de-activated the Item Update OIC integration which subscribes to the 'Item Update' Business event of oracle fusion cloud and selected the 'Delete event subscription' check box.Then after re-activating the OIC integration,Item updates chnages/events messages are not receiving in OIC" . Do we need to do any configuration from Fusion end to re-establish coneection and to receive event messages in OIC? Can you please help me.
Really nice post. To know about What is OKR , read here.
ReplyDeletethanks for this information. oracle ERP
ReplyDelete