This documentation is archived and is not being maintained.
DictTable.reportRef Method [AX 2012]
Returns the name of the default report for the table.
Run On
Called
Return Value
Type:
str
The name of the default report for the table; an empty string if there is no default report for the table.
The following shows the retrieval of the name of the default report for a table.
DictTable dt;
str strReport;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
strReport = dt.reportRef();
print strfmt("Default report: %1", strReport != "" ? strReport : "None specified");
}