BankAccountTable.validateBankDocumentWhenInActiveBank Method
Validates the bank document agreement status to make sure that, if the bank account is closed, the related bank document agreement is not still open.
Syntax
private boolean validateBankDocumentWhenInActiveBank(
BankAccountHoldStatus _status,
ValidFromDateTime _validFromDateTime,
ValidToDateTime _validToDateTime)
Run On
Called
Parameters
- _status
Type: BankAccountHoldStatus Enumeration
The new bank account status.
- _validFromDateTime
Type: ValidFromDateTime Extended Data Type
The starting date of the new active period of the bank account.
- _validToDateTime
Type: ValidToDateTime Extended Data Type
The ending date of the new ative period of the bank account.
Return Value
Type: boolean
true if there is no issue; otherwise, false.