Skip to main content
Ji Kang 님이 #Data Management에 질문했습니다
Hi,

 

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"))))
답변 2개
  1. 2014년 10월 9일 오후 4:32
    It worked!

     

    Thank you Emily
0/9000