function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ryanhcaryanhca 

Help with VLOOKUP function

I have a field where we have the user enter the name of a pricebook. We need to validate that the name entered is a valid Pricebook Name. I'm trying to use the VLOOKUP function:

 

 

VLOOKUP( $ObjectType.Pricebook2.Fields.Name, $ObjectType.Pricebook2.Fields.Name, PricebookName__c )

 I don't really care what's returned -- I'll just make sure that something is returned.