Skip to main content
Melissa Cook が「#Data Management」で質問
The issue: When a community user places an order they can change the 'Unit Price'. 

 

How to make Unit Price un-editable for Community User?

 

The 'List Price' is read only and they are unable to change it.  If there was a way to hide 'Unit Price' that would also be another option as the price doesn't need to be listed twice.  As such I'm unsure of why it has both 'List Price' and 'Unit Price' shown.  Below is a picture of the 'Price Book Entry Fields' and it doesn't even have a 'Unit Price' field.

 

User-added image

 

I have tried changing the 'Set Field-Level Security' for 'List Price' but the Read-Only option is grayed out.  Under 'View Field Accessibility' the Field Access is set to Required for Customer Community User.

 

I then went to the Customer Community User Profile under Field-Level Security and un-check the box under the 'Edit Access' column for 'List Price' - it's grayed out.

 

Also another issue I'm facing (which may be linked to this one) - When a Community User goes to place an order, under the 'Account Name' field they can search for, find and use a completely different account name then what their contact record has a relationship record to.  If Jon Smith is the contact for ABC Contracting I don't want them to be able to search and view all of our other accounts.
3 件の回答
  1. 2019年1月18日 6:37
    Hi Melissa, 

     

    If this is a sort of commerce website, I don't think it's set up correctly. As the price is a required field, it will never be read-only or hidden. You would not want to let the customer see or change this record at all - rather, some form of background process should be creating it. For example, when they click the Buy button, there should be code that creates that order item.
0/9000