Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the top default book from the list of books that are associated with the specified fixed asset.
Syntax
client server public static AssetBookId getTopDefaultBookIdForAssetId(
AssetId _assetId,
CompanyId _company,
CurrentOperationsTax _currentOperationsTax)
Run On
Called
Parameters
- _assetId
Type: AssetId Extended Data Type
The ID of the fixed asset for which to find the book.
- _company
Type: CompanyId Extended Data Type
The company to which the fixed asset belongs.
- _currentOperationsTax
Type: CurrentOperationsTax Enumeration
The current operations tax, which are usually gathered from a journal.
Return Value
Type: AssetBookId Extended Data Type
The top default book from the list of books that are associated with the specified fixed asset.