/
Validation rule: Debit_Account_Must_Be_Active

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

Validation rule Details

Name

Debit_Account_Must_Be_Active

Label

Debit_Account_Must_Be_Active

Object

AQB__Transaction__c

Active

Yes

Formula

OR (
AND(
AQB__MovingToNewAccount__c = FALSE,
NOT(ISNEW()),
ISCHANGED(AQB__DebitAccount__c),
AQB__PledgePayment__c = FALSE, AQB__WriteOff__c = FALSE, AQB__Voided__c = FALSE, AQB__DebitAccount__r.AQB__Active__c = FALSE),
AND(
AQB__MovingToNewAccount__c = FALSE,
ISNEW(),
AQB__PledgePayment__c = FALSE, AQB__WriteOff__c = FALSE, AQB__Voided__c = FALSE, AQB__DebitAccount__r.AQB__Active__c = FALSE))

Error message

The Debit Account is not active, please enter an active Debit Account.

Error location

Debit Account

Description

The Debit Account must be Active unless making a Pledge Payment.

Related content

Validation rule: Designation_Must_Be_Active
Validation rule: Designation_Must_Be_Active
More like this
Validation rule: Account_Cannot_Be_Changed
Validation rule: Account_Cannot_Be_Changed
More like this
Validation rule: USYD_Inactive_Designation
Validation rule: USYD_Inactive_Designation
More like this
Validation rule: Usyd_Pledge_Instalment_Required
Validation rule: Usyd_Pledge_Instalment_Required
More like this
Validation rule: PledgeReminderOwnerRequired
Validation rule: PledgeReminderOwnerRequired
More like this
Validation rule: USYD_AccountType_TestamentaryTrust_Type
Validation rule: USYD_AccountType_TestamentaryTrust_Type
More like this