BankAccountTable::isActive Method
Indicates whether the specified transaction date is in the period that is specified by the ActiveFrom and ActiveTo fields.
Syntax
client server public static boolean isActive(
CompanyBankAccount _bankAccount,
[TransDate _comparisonDate,
CompanyId _company])
Run On
Called
Parameters
- _bankAccount
Type: CompanyBankAccount Extended Data Type
The company bank account for which to check the dates.
- _comparisonDate
Type: TransDate Extended Data Type
The transaction date.
- _company
Type: CompanyId Extended Data Type
The company for which the transaction is performed.
Return Value
Type: boolean
true if the transaction date is between the dates in the ActiveFrom and ActiveTo fields; otherwise, false.
Remarks
Dates in the ActiveFrom and ActiveTo fields are inclusive.