on ‎2020 Jun 28 9:58 AM
Hi Experts,
I got a requirement where i need to provide an Odata API where the Visit will be created for a Lead. But I am not able to find the relationship between LeadCollection and VisitsCollection. Any Idea how to achieve this.
Thanks in Advance 🙂
Request clarification before answering.
Hi,
Relationship of Lead and Visits are stored in LeadBusinessTransactionDocumentReference entity of c4codataapi. Using it there could be multiple ways to achieve your business requirement:
1. You can create a Visit(VisitCollection) as well as Lead (LeadCollection) as an Individual Objects and then associates visit created to lead created using NavigationProperty "LeadBusinessTransactionDocumentReference" of "LeadCollection" Entityset in C4C OData API.
2. Create a custom action in PDI which upon trigger will create a Visit and associate this visit to Lead using BusinessTransactionDocumentReference node using PDI ABSL script. This custom action can be associated with a custom odata based on Lead Object as a "FunctionImport". Pls refer followingfor more details about using FunctionImport.
https://apps.support.sap.com/sap/support/knowledge/public/en/2510650
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.