[SalesForce] How to hide standard List Price field based on User Profile

I want to hide the standard List Price (UnitPrice) field from the Add Product screen (on standard Order object) for our Customer Community Users only.

Use Case – We have customer community plus licenses in our org. and we want to give access to our customers and allow them to create Orders themselves, which would be reviewed by their account managers before being processed.

We are using the standard Order and Order Line items objects for this functionality. It works fine but we do not want to show our List Price to the customer as it depends on various factors which are added later on.

Currently community users can see the List Price column on the Product selection screen, after clicking the Add Product button. We DO want the List Price column to be visible to internal users.

If I modify the available columns on the Product selection screen, it applies to all users and will hide the list price from our internal users as well –

enter image description here

I cannot set field level visibility for the standard ListPrice field on Pricebook entry as it is not editable.

Is there another way to hide the List Price field based on the user profile ?

Best Answer

Go to the ListPrice field on the Order Product Sobject -> Click on Set Field Level-Security -> Unselect Visibility Checkbox for the related profiles -> Click Save

Related Topic