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
415AdminUser415AdminUser 

is it possible...to add fields to the Add Products to Opportunity Page with VF?

After I select a product, I want to see additional custom fields on the detail page where currently we can only add qty, edit the sales price and add a line desc.  We are trying to split transactions, and I'm new to Apex & VisualForce and was hoping there was a way to tweak that page...

Thanks!
jpizzalajpizzala
One way to achieve this is to create a custom field on the Opportunity Line Item (Opportunity Product) and make it required (on the field level, not the layout level). This will force the interim layout to include the field. Also, this method uses standard Salesforce functionality and does not require Visualforce.

Does anyone know of a way to include non-required fields in this layout?

Message Edited by jpizzala on 11-16-2007 09:38 AM

415AdminUser415AdminUser
Hmm this didn't seem to work.
I do have the FLS as required, but it still doesn't appear on the line level.
Guess I'll keep trying!
thanks
NikiVNikiV
You can add fields to the Multi-Line Product view as follows:
  • Go to the Opportunity Product -> Page Layout section
  • Open the page layout you are concerned with - open to view, NOT to Edit
  • Next to the Edit, Preview etc buttons there is one called "Edit Multi-Line Layout".  Click this to open a page where you can select which fields should show on your "Add Products" and "Edit All" page.
Hope that helps.