This simple code illustrates the table property by X++.
static void Job19(Args _args)
{
SysDictTable sysDictTable;
TreeNode treeNode;
TableName tableName = 'VendTable';
TableId tableId;
;
tableId = tableName2Id(tableName);
sysDictTable = new SysDictTable(tableId);
treeNode = sysDictTable.treeNode();
info(strFmt('%1',tableName));
info(strFmt('%1',tableId));
info(strFmt('%1',treeNode.AOTgetProperty("CreatedDateTime")));
info(strFmt('%1',treeNode.AOTgetProperty("SaveDataPerCompany")));
}
No comments:
Post a Comment