BankAccountTableLookup::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 dates should be checked.
- _comparisonDate
Type: TransDate Extended Data Type
The transaction date.
- _company
Type: CompanyId Extended Data Type
The company for which transaction is performed.
Return Value
Type: boolean
true if the transaction date falls in between the ActiveFrom and the ActiveTo dates field; otherwise, false.
Remarks
Dates in the ActiveFrom and the ActiveTo fields are inclusive.