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
petyrgcpetyrgc 

need to have Account record type display on contact

I'm tyring to display the contact's account record type on contact page layout but the formula below does not appear to work.

 

CASE( Account.RecordTypeId, 012E0000000IzcN, "Health System",012E0000000IzcI, "Hospital", 012E0000000IzcX, "Competitor", 012E0000000IzcS, "Partner-vendor","blank")

 

I get the following error message... Error: Syntax error. Missing ')'   AND the following line of the formula is highlighted E0000000IzcN.

 

any help would be appreciated.

 

RArunrajRArunraj

Hi,


The correct formula is as below


CASE( Account.RecordTypeId, "012E0000000IzcN", "Health System","012E0000000IzcI", "Hospital", "012E0000000IzcX", "Competitor", "012E0000000IzcS", "Partner-vendor","blank")


In your formula you have missed the double quotes for the Record Type Id, so please add double quotes for the ids alone as highlighted.


Thanks,

Arunraj

RArunrajRArunraj

Hi,

 

Did the formula works fine?

 

Thanks,

Arunraj

petyrgcpetyrgc

Arunraj,

 

yes the formula worked perfect. Like a charm. A thousand thank yous.