Usecase:
Here. We will see different options how we can enable Oracle ERP Cloud Business Events.
- Oracle ERP Cloud Business events is one of the core features that all applications is interested in to get the real time data from ERP.
- Oracle integration has the declarative support to subscribe the Oracle ERP Cloud busienss events using the Oracle Cloud adapter.
- For Expenses / Financial Common Module / GL / Receivable / Revenue Management Business events are enabled using Rest API , but for Payables and Payments there is a facility to do it from Front end.
Method1: Using REST API:
Get all Business events records:
GET
https://<erp instance>/fscmRestApi/resources/11.13.18.05/erpBusinessEvents
Update the Enabled Indicator for a Business Event
PATCH
/fscmRestApi/resources/11.13.18.05/erpBusinessEvents/<ErpBusinessEventId>
{
"EnabledFlag": true
}
Reference:
https://docs.oracle.com/en/cloud/saas/financials/24b/farfa/Enable_Business_Events.html
https://docs.oracle.com/en/cloud/paas/integration-cloud/erp-adapter/oracle-erp-cloud-adapter-capabilities.html
Method 2: From ERP console Front End :
Go to Setup and Maintenance > Find Manage Administrator Profile Values > Search Enable Business Events >> select AP event >> toggle the profile value from No to Yes.
Here, we will test AP - Invoice created events.
Notes: Roles needed :-
- Application Implementation Consultant
- Financial Administrator
Subscribe from OIC:
First create ERP connection:
Then create an appdriven orchestration integration >> add configure ERP adapter >> Choose Receive Business Events raised within Cloud ERP >> selecting Payable invoice created event.
Create an invoice from ERP:
Payables >> invoices >> create invoice >> add header and line details.
Monitoring: we have received the event raised from ERP
We can check Subscriptions using below Rest API:
Run "Retrieve Latest LDAP Changes" to reflect the changes
Reference: