AssetShiftDepreciationProfile_IN::existSamePeriod Method
Checks whether there is another record in the same period.
Syntax
client server private static boolean existSamePeriod(
AssetDepreciationProfileId _profile,
FromDate _fromDate,
ToDate _toDate,
RecId _recId)
Run On
Called
Parameters
- _profile
Type: AssetDepreciationProfileId Extended Data Type
The depreciation profile for which to search.
- _fromDate
Type: FromDate Extended Data Type
The ‘from’ date of the specified period.
- _toDate
Type: ToDate Extended Data Type
The ‘to’ date of the specified 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 another record exists; otherwise, false.