DictTable.new Method [AX 2012]

Initializes a new instance of the Object class.

public void new(TableId tableId)

Run On

Called

Parameters

tableId
Type: TableId Extended Data Type
The ID of the table that is used to create the instance of the DictTable class.

The following example shows how to create an instance of the DictTable class.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
if (!dt) 
{ 
    // Take error action. 
}

Community Additions

ADD
Show: