/
Validation rule: Blank_Phone_On_Primary_Employment

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: Blank_Phone_On_Primary_Employment

Validation rule Details

Name

Blank_Phone_On_Primary_Employment

Label

Blank_Phone_On_Primary_Employment

Object

AQB__Employment__c

Active

Yes

Formula

AND(
ISBLANK(AQB__BusinessPhone__c),
TEXT( AQB__ContactId__r.AQB__PhonePreference__c) = "Business Phone",
AQB__SetAsPrimary__c = TRUE,
OR(ISNEW(), ISCHANGED(AQB__SetAsPrimary__c)))

Error message

The Contact Phone Preference is set to "Business Phone" and the phone number on this employment record is blank. Change the Phone Preference on the Contact or add a valid phone number to this employment record before setting as the Primary Employment.

Error location

Top of Page

Description

Cannot make the record the Primary Employment when the Contact Phone Preference = 'Business Phone' and the Business Phone is Blank.

Related content

Validation rule: No_Business_Phone
Validation rule: No_Business_Phone
More like this
Validation rule: No_Business_Phone_Change
Validation rule: No_Business_Phone_Change
More like this
Validation rule: No_Mobile_Phone
Validation rule: No_Mobile_Phone
More like this
Validation rule: No_Account_Phone_Change
Validation rule: No_Account_Phone_Change
More like this
Validation rule: USyd_No_Phone_or_Email
Validation rule: USyd_No_Phone_or_Email
More like this
Validation rule: USYD_MA_Phone_Type_is_Mandatory
Validation rule: USYD_MA_Phone_Type_is_Mandatory
More like this