Blog

Opportunity Product Validation on Record Type

0

Ever written a validation rule on opportunity product, but wanted to restrict it to certain record types? The problem with this is opportunity products don’t have record types themselves – but fortunately you can inherit the record type of the opportunity and use that in the valiidation rule as follows:

Opportunity.RecordTypeId = '0000000000XXx1'

It’s a straightforward tip which may come in handy for those managing a large org with several different record types. Good luck!