zoukankan      html  css  js  c++  java
  • AX视图View中添加静态方法

    public static server str  EcoResCategoryName()
    {
        DictView dv = new DictView(tableNum("ViewName"));

        SysDictTable ecoresCatory              = new SysDictTable(tableNum(EcoResCategory));//视图中包含数据源EcoResCategory

        str idFieldName = dv.computedColumnString(
            'EcoResProductCategory',
            fieldStr(EcoResProductCategory, Category),
            FieldNameGenerationMode::WhereClause);

        return strFmt('select Name from %1 where %1.recid = %2',
            ecoresCatory.name(DbBackend::Sql),
            idFieldName);
    }

  • 相关阅读:
    os模块
    函数练习
    集合 去重
    作业二:购物车程序
    作业一: 三级菜单
    字典练习
    字典
    切片
    冒泡练习
    判断整型数据奇偶数
  • 原文地址:https://www.cnblogs.com/alfred-cn/p/6387252.html
Copyright © 2011-2022 走看看