+ Start a Discussion

Opportunity Product issue

On the UI, Opportunity Product (a child of Opportunity) has Product. But in the schema (or if you use describe), Opportunity Product (or really OpportunityLineItem) does not have Product. Instead, it has PricebookEntry which has Product.


We are building a product which needs to expose Product as a field on Opportunity. We want to write the code using 'describe' instead of hardcode it. But then we have to expose the extra object PricebookEntry which may confuse user.


Anyone knows why the UI is out of sync with the backend for this?