Hello all, I have a problem with this unit: https://trailhead.salesforce.com/content/learn/modules/point_click_business_logic/validation_rules
The exercise is telling us to use: MailingPostalCode but in my playground the object account has only ShippingPostalCode what is the solution?
15 answers
Divya Chauhan Forum Ambassador
Hello@Youssef Idrissi,
Its on Contact
Contact | Object Reference for the Salesforce Platform | Salesforce Developers
try this code
AND(
NOT( ISBLANK( AccountId ) ),
MailingPostalCode <> Account.ShippingPostalCode
)