/
Validation rule: ACCOUNT_MATCHES_CONTACT_ACCOUNT

Attention: Confluence is not suitable for the storage of highly confidential data. Please ensure that any data classified as Highly Protected is stored using a more secure platform.
If you have any questions, please refer to the University's data classification guide or contact ict.askcyber@sydney.edu.au

Validation rule: ACCOUNT_MATCHES_CONTACT_ACCOUNT

Validation rule Details

Name

ACCOUNT_MATCHES_CONTACT_ACCOUNT

Label

ACCOUNT_MATCHES_CONTACT_ACCOUNT

Object

pmdm__ProgramEngagement__c

Active

Yes

Formula

AND(
!ISBLANK(pmdm__Contact__c),
!ISBLANK(pmdm__Account__c),
pmdm__Contact__r.AccountId != pmdm__Account__c
)

Error message

Select an Account that matches the related Contact.

Error location

Top of Page

Description

Account lookup must match the related Contact's Account.

Related content

Validation rule: Duplicate_Account2_Contact2_must_be_pair
Validation rule: Duplicate_Account2_Contact2_must_be_pair
More like this
Validation rule: Duplicate_Account1_Contact1_must_be_pair
Validation rule: Duplicate_Account1_Contact1_must_be_pair
More like this
Validation rule: Duplicate_Account1_Not_equal_Account2
Validation rule: Duplicate_Account1_Not_equal_Account2
More like this
Validation rule: Primary_Contact
Validation rule: Primary_Contact
More like this
Validation rule: PROGRAM_MATCH
Validation rule: PROGRAM_MATCH
More like this
Validation rule: Retain_Account_Contact_must_be_pair
Validation rule: Retain_Account_Contact_must_be_pair
More like this