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
ArifArif 

Add formula field in edit multi line layout

Hi all, 

Looks like we cannot add formual fields in Edit Multi line layout on Opportunity product.

Is there any solution of it.

 

AnkaiahAnkaiah (Salesforce Developers) 
Hi Arif,

Product Multi-Line Layout does not support formula fields. If there is a formula field added under ‘Selected Fields’ then it will be skipped and the next field will be shown in the front UI.  

You need to go for custom VF page.

Refer the below link have solution for similar kind of ask.
https://salesforce.stackexchange.com/questions/117/how-can-i-add-a-formula-field-into-a-opportunity-product-multi-line-layout

If this helps, Please mark it as best answer.

Thanks!!
 
syed Imransyed Imran
Hi Arif,
That's correct - you can't see formula fields when editing as they aren't available for edit, rather they are calculated by the platform when a record is retrieved from the database.
 
Unfortunately I don't think you can override just this aspect with visualforce - you'd need to override the product selection too.

Thanks
Imran