AssetBook::lookupOpenBookIdForAssetInternal Method
Opens a value model lookup that is limited to value models that have the specified status.
Syntax
client private static void lookupOpenBookIdForAssetInternal(
FormStringControl _ctrl,
AssetId _assetId,
boolean _selectLayer,
CurrentOperationsTax _restrictedLayer,
CompanyId _company,
boolean _excludeNoAcquisition)
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.
- _selectLayer
Type: boolean
A Boolean value that determines whether the lookup should be limited to a specific posting layer.
- _restrictedLayer
Type: CurrentOperationsTax Enumeration
The posting layer to limit the lookup to.
- _company
Type: CompanyId Extended Data Type
The company to limit the lookup to.
- _excludeNoAcquisition
Type: boolean
A Boolean value that determines whether the lookup should exclude value models that have NoAcquisition status.
Exceptions
Exception | Condition |
---|---|
Error | The specified company does not exist. |