DictTable.id Method [AX 2012]

Returns the ID of the table.

public TableId id()

Run On

Called

Return Value

Type: TableId Extended Data Type
The ID of the table.

The following example shows the retrieval of the ID of a table.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
if (dt) 
{ 
    print (strfmt("The table ID is: %1", dt.id())); 
 
}

Community Additions

ADD
Show: