InventPostingForm.searchIndex Method [AX 2012]
Adds ranges to the form data source query to show records for the current account type.
Syntax
protected void searchIndex(
FormDataSource _inventPosting,
InventAccountType _accountType,
str _indexName)
Run On
Called
Parameters
- _inventPosting
Type: FormDataSource Class
The form data source to which to add ranges.
- _accountType
Type: InventAccountType Enumeration
The current selected account type.
- _indexName
Type: str
An index that is used to sort the records primarily by using the ItemCode field or the AccountCode field.
Remarks
If the form is called by using a data source then ranges are added to only show records affecting the called buffer.