/
Validation rule: SpendPlan_Pending

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_Pending

Validation rule Details

Name

SpendPlan_Pending

Label

SpendPlan_Pending

Object

Spending_Plan__c

Active

Yes

Formula

AND (
NOT($Permission.Modify_All_Spend_Plans),
NOT(CONTAINS($Profile.Name, 'System Administrator')),
ISPICKVAL (
Status__c,
'Pending'
),
AND (
NOT(ISCHANGED (Pending_Description__c)),
NOT(ISCHANGED (Pending_Duration__c)),
NOT(ISCHANGED (Pending_Reason__c)),
NOT(ISCHANGED (Status__c)),
NOT(ISCHANGED (OwnerId)),
NOT(ISCHANGED (System_Trust_Status_Not_Final_SGs__c)),
NOT(ISCHANGED (Drafted_Milestones__c)),
NOT(ISCHANGED (System_Has_Consultations_with_no_Outcome__c)),
NOT(ISCHANGED (GAB_Cover_Note__c)),
NOT(ISCHANGED (GAB_Backoffice_Note_Restricted__c)),
NOT(ISCHANGED (GAB_Backofice_Note__c)),
NOT(ISCHANGED (Total_Available_For_Awarding__c)),
NOT(ISCHANGED (System_PEs_with_Invalid_Expenditure__c)),
NOT(ISCHANGED (System_PEs_with_Invalid_Funding__c)),
NOT(ISCHANGED (Spending_Plan_Administrator__c)),
NOT(ISCHANGED (Current_Contacts__c)),
NOT(ISCHANGED (Quarantined_Gifts__c)),
NOT(ISCHANGED (Latest_Activation_Date__c)),
NOT(ISCHANGED (PE_Expenditure_Combination_Unchecked__c )),
NOT(ISCHANGED (PE_Funding_Combination_Unchecked__c )),
NOT(ISCHANGED (Total_Awardable_Remaining_EoM__c )),
NOT(ISCHANGED (System_Total_Spend_Unit_Redemptions__c )),
NOT(ISCHANGED (System_Source_Gifts__c )),
NOT(ISCHANGED (System_Inactive_PE_items_count__c )),
NOT(ISCHANGED (Total_Planned_Expenditure__c )),
NOT(ISCHANGED (System_EAFS_with_FY_gt_Exp_Year__c )),
NOT(ISCHANGED (Posting_Period__c )),
NOT(ISCHANGED (Posting_Period_calc__c )),
NOT(ISCHANGED (Original_Authorisation_Date__c ))
)
)

Error message

The record can only be edited during Initial Draft or Draft

Error location

Top of Page

Description

When status is Pending, only fields relating to Pending as well as the status is editable

Related content

Validation rule: SpendPlan_Not_In_Draft
Validation rule: SpendPlan_Not_In_Draft
More like this
Validation rule: SpendPlan_Not_Pending
Validation rule: SpendPlan_Not_Pending
More like this
Validation rule: Consult_PartyRole_Allowed_Values
Validation rule: Consult_PartyRole_Allowed_Values
More like this
Validation rule: SpendPlan_CapExpPrj_Required
Validation rule: SpendPlan_CapExpPrj_Required
More like this
Validation rule: PlannedExp_Restrict_Updates
Validation rule: PlannedExp_Restrict_Updates
More like this
Validation rule: SpendPlan_Require_Spend_Plan_Admin
Validation rule: SpendPlan_Require_Spend_Plan_Admin
More like this