
We want to help users to select the correct opportunity TYPE "Not For Resale" when using an NFR Price Book.
It seems like the below validation rule I created doesn't work because when new Opportunity was created it gives an error message next to field label "Type" without selecting the Price book.
The validation rule will work when creating a New Opportunity Record Type and when NFR Price book is selected, and error message should be displayed when TYPE isn't "Not For Resale."
AND( RecordTypeId="xxxx",
OR (CONTAINS(Pricebook2.Name, "NFR"),
NOT( ISPICKVAL( Type , "Not For Resale"))))