Hi Experts,
First understand my requirement.
If any order placed in hybris portal, Account Manager will get notification in C4C.
Now I am facing below issue.
If any sales order placed in hybris, I am getting ODATA service, which insert data in my custom table "DemoSalesOrder". and get notification via notification rules for "DemoSalesOrder" table.
Now I am able to capture ODATA service in my "After-modify" action for "DemoSalesOrder' bo.
1. when I use DemoSalesOrder.create(CustomBO) it will create new entry in DemoSalesOrder table. means I am getting two entries in my custom table "DemoSalesOrder".
2. I write logic for update DemoSalesOrder object but when i update sales order in hybris side ODATA service reach in my C4C code but it is not updating my custom Object but create new entry in custom object. and get notification via notification rules for "DemoSalesOrder" table.
How to update custom table in C4C using OData service ?