我想查询的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();
    }
}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top