Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
I am trying to create validation rule under Pricebook entry object.
In that I am not able to access the Pricebook field, we have standard lookup "Pricebook" field in Pricebook Entry.
For some reason it is not being shown in the fields, but you can reference it simply by writing 'Pricebook2.' + the field name.
Pricebook2.Name == 'MyPriceBook1'
Required, but never shown