/
Validation rule: Prevent_opening_closed_batches

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

Validation rule Details

Name

Prevent_opening_closed_batches

Label

Prevent_opening_closed_batches

Object

AQB__Batch__c

Active

No

Formula

AND(
ISCHANGED(RecordTypeId) ,
PRIORVALUE( AQB__RecordTypeDeveloperName__c ) = "ClosedBatch"
)

Error message

Closed batches cannot be reopened.

Error location

Top of Page

Related content

Validation rule: Usyd_Restrict_record_type_closed_to_open
Validation rule: Usyd_Restrict_record_type_closed_to_open
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: Usyd_field_edit_when_batch_closed
Validation rule: Usyd_field_edit_when_batch_closed
More like this
Validation rule: Usyd_Batch_closed_read_only_access_field
Validation rule: Usyd_Batch_closed_read_only_access_field
More like this
Validation rule: Batch_Cannot_Be_Changed
Validation rule: Batch_Cannot_Be_Changed
More like this
Validation rule: Method_Cannot_Be_Changed_on_Closed_Batch
Validation rule: Method_Cannot_Be_Changed_on_Closed_Batch
More like this