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
Jos Vervoorn 2Jos Vervoorn 2 

VF Page with table on custom object with products and prices

I have s custom object containing a Product2 Lookup and several other fields like for example the stock volume. This data is originated from another system.

Based on this custom object I like to show a table (VF) to expose the product name and some other details ... but I would also like to show the price coming from a dedicated Pricebook with entries.

So basically I would like to join the custom object with price book entry filtered on the currency. The join should be done on the mutual product lookup. Can this be done through mapping?