Symptom
You see inside opportunities a field like Parent Opportunity; in OData, however, you do not see this field available. You would like to know how to retrieve this parent/child information.
Environment
SAP Cloud for Customer
Resolution
The opportunity OData has an entity OpportunityBusinessTransactionDocumentReference in which you can look for the parent/child opportunities. Parent/child is just a BTDreference with role code 13 (Parent) and 14 (Child) respectively.
Keywords
Opportunity ; OData ; Parent ; Child ; OpportunityBusinessTransactionDocumentReference ; , KBA , LOD-CRM-OPP , Opportunity Management , LOD-CRM-INT-API , OData API (C4C Only) , How To