ProjLegalEntityLookupListPageHelper::setFilterValuesFromControl Method [AX 2012]

Sets the company range of a given form data source query and execute the query.

client server public static boolean setFilterValuesFromControl(
    FormDataSource _formDataSource, 
    str _ctrlCompanyLookup, 
    str _formName)

Run On

Called

Parameters

_formDataSource
Type: FormDataSource Class
The form data source object of the ListPage.
_ctrlCompanyLookup
Type: str
The name of the company lookup control of the ListPage.
_formName
Type: str
The name of the ListPage form.

Return Value

Type: boolean
false if there are no selected company or the first instance of the company does not exists.

This is called inside the modified event of the company lookup control of the ListPage.

Show: