AssetShiftDepreciationProfile_IN::existPeriodOverlap Method
Checks whether there is an overlap in a period.
Syntax
client server private static boolean existPeriodOverlap(
AssetDepreciationProfileId _profile,
FromDate _fromDate,
ToDate _toDate,
RecId _recId)
Run On
Called
Parameters
- _profile
Type: AssetDepreciationProfileId Extended Data Type
The depreciation profile to search for.
- _fromDate
Type: FromDate Extended Data Type
The ‘from’ date of the period.
- _toDate
Type: ToDate Extended Data Type
The ‘to’ date of the period.
- _recId
Type: RecId Extended Data Type
The record ID of another record for which you don’t want to search.
Return Value
Type: boolean
true if there is an overlap in the specified period; otherwise, false.