function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neil WylieNeil Wylie 

Opportunity Product

I am using Developer Sidekick to work my way through the various SF objects. In SF, opportunity product is a sub-table attached to opportunities, but it does not appear at all in Sidekick. Any ideas why?

The rationale behind all this is that I am trying to update the sales price field to unit price * Discount, where discount is a custom percentage field in the Account table. My views on the steps are:
1. Select * from Opportunity where Id = Opportunity product. Opportunity Id ( I am assuming that this field exists.)
2. Select * from account where id = Opportunity.Account ID
3. Update Sales Price = Unit price * (1-Account Discount).

Any tips or hints would be appreciated.

Thanks,


Neil