I need to get PriceList from OpportunityProduct programatically. My question is which field links Opportunity Product with PriceList?
Hi Partner,
My demo opportunity product which has added an existing product.
I have found 2 ways to access price list from opportunity product.
1. There is an existing managed field called Price List for opportunity product entity,
and you can also find a relationship in N:1 relationship menu.
However, the field is null from web API query.
2. There is a field called Default Price List in Product entity,
while Existing Product field has been included in opportunity product,
so we could find the related price list entity information by getting Existing Product's Default Price List in opportunity product entity.
My test result below:
https://<org>/api/data/v9.1/opportunityproducts(opportunityproductid)
https://<org>/api/data/v9.1/products(productid)
https://<org>/api/data/v9.1/pricelevels(pricelevelid)
Regards,
Clofly
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156