AssetBook::lookupLVPBookIdForAsset Method
Opens a lookup that contains the value models that have a particular asset ID and that use low-value pool depreciation.
Syntax
client public static void lookupLVPBookIdForAsset(
FormStringControl _ctrl,
AssetId _assetId,
[boolean _selectCurrentOperationsTax,
CurrentOperationsTax _currentOperationsTax,
CompanyId _company])
Run On
Client
Parameters
- _ctrl
Type: FormStringControl Class
The control that is performing the lookup.
- _assetId
Type: AssetId Extended Data Type
The asset to limit the lookup to.
- _selectCurrentOperationsTax
Type: boolean
A Boolean value that determines whether the lookup should be limited to a specific posting layer; optional. The default value is true.
- _currentOperationsTax
Type: CurrentOperationsTax Enumeration
The posting layer to limit the lookup to; optional. The default value is the current posting layer.
- _company
Type: CompanyId Extended Data Type
The company to limit the lookup to; optional. The default value is the current company.
Exceptions
Exception | Condition |
---|---|
Error | The specified company does not exist. |