AssetBookTableShiftDepreciation_IN::existPeriodOverlap Method
Checks whether overlapping periods exist.
Syntax
server private static boolean existPeriodOverlap(
AssetBookId _bookId,
FromDate _fromDate,
ToDate _toDate,
RecId _recId)
Run On
Server
Parameters
- _bookId
Type: AssetBookId Extended Data Type
The book ID to search for.
- _fromDate
Type: FromDate Extended Data Type
The from date of the interval.
- _toDate
Type: ToDate Extended Data Type
The to date of the interval.
- _recId
Type: RecId Extended Data Type
The record ID of an existing record that does not have to be found.
Return Value
Type: boolean
true if overlapping periods exist; otherwise, false.