/
Validation rule: SpendPlan_Cannot_Advance_To_Other_Status

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

Validation rule Details

Name

SpendPlan_Cannot_Advance_To_Other_Status

Label

SpendPlan_Cannot_Advance_To_Other_Status

Object

Spending_Plan__c

Active

Yes

Formula

AND(
ISCHANGED(Status__c),
ISPICKVAL(PRIORVALUE(Status__c), 'Initial Draft'),
NOT(ISPICKVAL(Status__c, 'Draft')),
NOT(ISPICKVAL(Status__c, 'Pending'))
)

Error message

This status is not allowed when the current status is 'Initial Draft'.

Error location

Status

Description

Spend Plan: When the status of a spending plan is an initial draft that spending must not be advanced to any other status other than draft or pending.

Related content

Validation rule: Spend_Principle_needed_in_Draft_Status
Validation rule: Spend_Principle_needed_in_Draft_Status
More like this
Validation rule: SpendPlan_Require_Spend_Plan_Admin
Validation rule: SpendPlan_Require_Spend_Plan_Admin
More like this
Validation rule: SpendPlan_Not_Pending
Validation rule: SpendPlan_Not_Pending
More like this
Validation rule: PlannedExp_Restrict_Updates
Validation rule: PlannedExp_Restrict_Updates
More like this
Validation rule: AllottedFunds_Restrict_Updates
Validation rule: AllottedFunds_Restrict_Updates
More like this
Validation rule: SpendPlan_Handover_Date_Is_Defined
Validation rule: SpendPlan_Handover_Date_Is_Defined
More like this