/
Validation rule: Usyd_field_edit_when_batch_closed

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

Validation rule Details

Name

Usyd_field_edit_when_batch_closed

Label

Usyd_field_edit_when_batch_closed

Object

AQB__Batch__c

Active

Yes

Formula

AND(
NOT( $User.Id = '0054a000000cZth'),
RecordType.DeveloperName = 'ClosedBatch',
AQB__BatchIsClosing__c = false,
OR(
ISCHANGED( AQB__User__c ) ,
ISCHANGED( AQB__BatchType__c ) ,
ISCHANGED( AQB__BatchDate__c ) ,
ISCHANGED( USyd_Related_Batch__c ) ,
ISCHANGED( USyd_Close_First__c ) ,
ISCHANGED( AQB__Bank_Date__c ) ,
ISCHANGED( AQB__SourceofData__c ) ,
ISCHANGED( AQB__PaymentControlAmount__c ) ,
ISCHANGED( AQB__UserControl__c ) ,
ISCHANGED( AQB__ConditionalPledgeControlAmount__c ) ,
ISCHANGED( AQC_Do_Not_Feed__c ) ,
ISCHANGED( USyd_Review_Status__c ) ,
ISCHANGED( AQB__PledgeControlAmount__c ) ,
ISCHANGED( AQB__DefaultEntryType__c ) ,
ISCHANGED( AQB__DefaultMethod__c ) ,
ISCHANGED( AQB__DefaultCurrency__c ) ,
ISCHANGED( AQB__DefaultCampaignAppeal__c ) ,
ISCHANGED( AQB__DefaultChartofAccounts__c ) ,
ISCHANGED( AQB__DefaultAcknowledgement__c ) ,
ISCHANGED( AQB__DefaultDescription__c ) ,
ISCHANGED( AQB__ExportDate__c ) ,
ISCHANGED( AQC_Notes__c ) ,
ISCHANGED( AQB__Batch_Item_Pledge_Payment_Processing__c ) ,
ISCHANGED( AQB__Batch_Item_Opportunity_Processing__c ) ,
ISCHANGED( AQB__Outstanding_Pledge_Indicator__c ) ,
ISCHANGED( AQB__BatchItemRecurringGiftProcessing__c ) ,
ISCHANGED( AQB__OpenRecurringGiftIndicator__c ) ,
ISCHANGED( AQB__GiftDate__c ) ,
ISCHANGED( AQB__GiftCreditYear__c )
)
)

Error message

Can't change any fields as the Batch is closed

Error location

Top of Page

Description

Restrict updating the field changes when batch closed

Related content

Validation rule: Usyd_Batch_closed_read_only_access_field
Validation rule: Usyd_Batch_closed_read_only_access_field
More like this
Validation rule: Usyd_Batch_close_read_only_access_field
Validation rule: Usyd_Batch_close_read_only_access_field
More like this
Validation rule: SpendPlan_Pending
Validation rule: SpendPlan_Pending
More like this
Validation rule: Usyd_Restrict_record_type_closed_to_open
Validation rule: Usyd_Restrict_record_type_closed_to_open
More like this
Validation rule: SpendPlan_Not_In_Draft
Validation rule: SpendPlan_Not_In_Draft
More like this
Validation rule: Prevent_opening_closed_batches
Validation rule: Prevent_opening_closed_batches
More like this