AssetBook::lookupBookIdForPostingLayer Method
Opens a value model lookup that is limited to value models that use the specified posting layer.
Syntax
client public static void lookupBookIdForPostingLayer(
FormStringControl _ctrl,
[CurrentOperationsTax _currentOperationsTax,
CompanyId _company])
Run On
Client
Parameters
- _ctrl
Type: FormStringControl Class
The control that is performing the lookup.
- _currentOperationsTax
Type: CurrentOperationsTax Enumeration
The posting layer to limit the lookup to; optional. The default value is Current.
- _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. |