AssetBook::getPrimaryBookForAssetProject Method
Gets the primary value model for the current fixed asset record.
Syntax
server public static AssetBook getPrimaryBookForAssetProject(AssetId _assetId)
Run On
Server
Parameters
- _assetId
Type: AssetId Extended Data Type
The ID of the asset for which to retrieve the value model.
Return Value
Type: AssetBook Table
The primary value model.
Remarks
If no value model is defined for the current layer, AssetBook records are sorted in descending order, and the first record is retrieved. If there are no records, null Nothing nullptr unit a null reference (Nothing in Visual Basic) is returned.