RunBase.showIndexFields Method [AX 2012]
If this method returns true, it will look for the first enabled index when you are adding query range fields to the dialog and if a data source does not have any ranges specified. It will also show the visible fields from that index.
Syntax
public boolean showIndexFields(TableId id)
Run On
Called
Parameters
- id
Type: TableId Extended Data Type
The table ID of the table in the test.
Return Value
Type: boolean
true by default.
Examples
public boolean showIndexFields(tableId id)
{
switch (id)
{
case tablenum(Ledger):
return true;
default:
return false;
}
}