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
Boussad SedoudBoussad Sedoud 

Inexisting field in the exercice : Creating Validation Rules ( Trailhead )

Hi everyone !
I've a problem with an exercice from Trailhead :(
In this exercice, i do not find the API name MailingPostalCode and ShippingPostalCode.

To complete this challenge, add a validation rule which will block the insertion of a contact if the contact is related to an account and has a mailing postal code (which has the API Name MailingPostalCode) different from the account's shipping postal code (which has the API Name ShippingPostalCode).

i tried to look for in the account's and contact's field but nothing :/
venkat-Dvenkat-D
Hi,
Refer to https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_account.htm
and https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contact.htm

In UI sfdc displays system field type called address .refer to above links to get inidividual api names
Boussad SedoudBoussad Sedoud
Okay i'll try thank you !!
 
venkat-Dvenkat-D
Please mark it as resolved if it helped resolving your problem.
Parker EdelmannParker Edelmann
These screenshots show you what you're looking for.
User-added image
User-added image
Parker EdelmannParker Edelmann
Were those the right fields?