AssetBookShiftDepreciation_IN::existSamePeriod Method
Checks whether another record exists that has the same period interval.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server private static boolean existSamePeriod(
AssetId _assetId,
AssetBookId _assetBookId,
FromDate _fromDate,
ToDate _toDate,
RecId _recId)
Microsoft Dynamics AX 2012 R2 (SYS)
server private static boolean existSamePeriod(
AssetId _assetId,
AssetBookId _assetBookId,
FromDate _fromDate,
ToDate _toDate,
RecId _recId)
Run On
Called
Parameters
- _assetId
Type: AssetId Extended Data Type
The asset ID to search for.
- _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.