The sales director at Cloud Kicks wants to ensure, on the creation of Contacts for an existing Account, that the mailing address of a contact is the same as the shipping address of the parent Account based on the postal code.
Which solution should the Consultant suggest to meet this requirement?
Click on the arrows to vote for the correct answer
A. B. C. D.D
To ensure that the mailing address of a contact is the same as the shipping address of the parent Account based on the postal code, the Consultant should suggest the following solution:
D. Create a Validation rule on the Contact object to validate the MailingPostalCode of the contact with the ShippingPostalCode of the account.
Explanation:
Validation rules in Salesforce are used to enforce data integrity and consistency by validating data entered by users. They allow you to define certain criteria that must be met for a record to be saved.
In this case, we want to validate that the mailing address of a contact matches the shipping address of the parent Account based on the postal code.
Since the mailing address is associated with the Contact object and the shipping address is associated with the Account object, we need to create a validation rule on the Contact object.
The validation rule should compare the MailingPostalCode field of the contact with the ShippingPostalCode field of the account.
By creating the validation rule on the Contact object, we ensure that whenever a new Contact is created or an existing Contact is edited, the system checks if the MailingPostalCode matches the ShippingPostalCode of the parent Account.
If the validation rule condition is not met (i.e., the postal codes do not match), the system will display an error message and prevent the user from saving the Contact record until the issue is resolved.
Option D is the correct solution because it focuses on creating a validation rule on the Contact object to compare the MailingPostalCode of the contact with the ShippingPostalCode of the account, which aligns with the requirement of ensuring that the mailing address matches the shipping address based on the postal code.