DictTable.tableGroup Method [AX 2012]

Returns the table group for a table.

public TableGroup tableGroup()

Run On

Called

Return Value

Type: TableGroup Enumeration
A TableGroup value that represents the table group of the table.

The return value corresponds to the TableGroup property of the table in the AOT.

The following example shows the retrieval of the table group of the table.

DictTable dt; 
 
dt = new DictTable(tablenum(CustTable)); 
 
if (dt) 
{ 
   print strfmt("Table Group: %1", dt.tableGroup()); 
}

Community Additions

ADD
Show: