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
Matthias KimmigMatthias Kimmig 

How can I define a related list called "product" that looks just like the products in the Opportunity view?

Hi,

I have created a custom object. I have called it order. This order can be create directly by the customer on a Visualforce page.
In this object, it should to display the related list for price books and products. The related list should be the same as in the opportunity.

How can I define a related list called "product" that looks just like the products in the Opportunity view?

Regards,
Matthias
Phil WeinmeisterPhil Weinmeister
Hi Matthias,

First - did you know that Salesforce has released a standard Order object?

Second - if you do go with a custom Order object, I would think you'll need a junction object (like Opportunity Product). Let's call it "Order Product" Product would look up to Orders and, separately, to Products. Then, on your Order detail page, you can drop "Order Products" related list. You can name it whatever you want ("Products" works).

Thanks,
Phil