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
Micky MMicky M 

Products Multi-Line page

Hi all does anyone know how i can override oppitm/multilineitem.jsp ? i need to display different fields based on the opportunity record type.

i can get to the layout from Customize->Opportunities->Opportunity Products->Page Layouts then edit the layout and select "Edit Multi-Line layout" but how on earth do i override this screen?

Thanks
 
SonamSonam (Salesforce Developers) 
So I assume you wish to overide this page with a Visualforce page:

Step 1: This "Edit Multi-Line layout" is visible when you click on the Edit All button on the Products related list on an opportunity and you can override it by going to:
Setup > Customize->Opportunities->Opportunity Products-> BUttons & Links > Create a new custom button and call the VF from here.

Step 2:Open & Edit Opportunity page Layout > Go to Product related list > Add the Custom button for this "Edit Multi-Line layout" and remove the Edit all button.