Share via


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

  • _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.

See Also

Reference

InventPostingForm Class