/
Validation rule: Consult_insertNotAllowed

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

Validation rule Details

Name

Consult_insertNotAllowed

Label

Consult_insertNotAllowed

Object

Assigned_Person__c

Active

Yes

Formula

AND (
NOT (
OR (
ISPICKVAL(Spending_Plan_ID__r.Status__c, 'Initial Draft'),
ISPICKVAL(Spending_Plan_ID__r.Status__c, 'Draft'),
ISPICKVAL(Spending_Plan_ID__r.Status__c, 'Review')
)
),
(ISPICKVAL(Type__c, 'Consultation') || ISPICKVAL(Type__c, 'Review')),
ISNEW(),
NOT(Spending_Plan_ID__r.System_Switch_Off_Business_Rules__c)
)

Error message

Consultations & Reviews may only be added if the Status of the Spend Plan is Initial Draft, Draft, or Review

Error location

Top of Page

Description

Consultations & Reviews can only be inserted when the parent Spend Plan Status is either Initial Draft, Draft or Review

Related content

Validation rule: Consult_Outcome_Allowed_Values
Validation rule: Consult_Outcome_Allowed_Values
More like this
Validation rule: Consult_Outcome_Restriction
Validation rule: Consult_Outcome_Restriction
More like this
Validation rule: Consult_OutcomeDesc_Must_Not_Be_Blank
Validation rule: Consult_OutcomeDesc_Must_Not_Be_Blank
More like this
Validation rule: SpendPlan_Not_In_Draft
Validation rule: SpendPlan_Not_In_Draft
More like this
Validation rule: Consult_Update_Not_Allowed
Validation rule: Consult_Update_Not_Allowed
More like this
Validation rule: Consult_ActivityType_Allowed_Values
Validation rule: Consult_ActivityType_Allowed_Values
More like this