+ Start a Discussion
Geoffrey NixGeoffrey Nix 

Can someone please help me with the syntax on this challenge?

User-added image
Suraj TripathiSuraj Tripathi
Hi Geoffrey,

You have to make Validation Rule on Contact Object

(See below Screenshot)

User-added image
 
AND(
  NOT( ISBLANK( AccountId ) ),
  MailingPostalCode <> Account.ShippingPostalCode
)


Hope it will be helpful for you, please mark this answer as best if it really helps you .

Regards,
Suraj
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://developer.salesforce.com/forums/?id=906F0000000Ar9hIAC
2) https://developer.salesforce.com/forums/?id=906F0000000BIQlIAO
 
AND(
  NOT( ISBLANK( AccountId ) ),
  MailingPostalCode <> Account.ShippingPostalCode
)

You can also try like below
AND(
NOT(ISBLANK(AccountId)),
MailingPostalCode != Account.ShippingPostalCode
)

Let us know if this will help you