1
我想查詢Axapta AOT以查找給定表格的字段及其屬性。您能否提供一些代碼示例?提前致謝!在Axapta AOT中查找表格及其屬性
我想查詢Axapta AOT以查找給定表格的字段及其屬性。您能否提供一些代碼示例?提前致謝!在Axapta AOT中查找表格及其屬性
static void Job68(Args _args)
{
TreeNode node = TreeNode::findNode(@'\Data dictionary\Tables\CustTable\Fields');
TreeNode childNode;
TreeNodeIterator nodeIT;
nodeIt = node.AOTiterator();
childNode = nodeIt.next();
while(childNode)
{
info(strfmt("field %1", childNode.treeNodeName()));
childNode = nodeIt.next();
}
}