在 Axapta AOT 中查找表字段及其属性

发布于 2024-08-14 06:25:02 字数 54 浏览 3 评论 0原文

我想查询 Axapta AOT 以查找给定表的字段及其属性。您能提供一些代码示例吗?提前致谢!

I would like to query the Axapta AOT to find the fields of a given table and their properties. Could you please provide some code examples? thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

醉生梦死 2024-08-21 06:25:02
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();
    }
}
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();
    }
}
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文