Export (0) Print
Expand All
Expand Minimize

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.

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.

public boolean showIndexFields(tableId id) 
{ 
    switch (id) 
    { 
        case tablenum(Ledger): 
            return true; 
        default: 
            return false; 
    } 
}

Community Additions

ADD
Show:
© 2015 Microsoft