AssetBookTableShiftDepreciation_IN::existSamePeriod Method
Checks whether another record exists that has the same period interval.
Syntax
server private static boolean existSamePeriod(
AssetBookId _assetBookId,
FromDate _fromDate,
ToDate _toDate,
RecId _recId)
Run On
Server
Parameters
- _assetBookId
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 another record exists that has the same period interval; otherwise, false.