zoukankan      html  css  js  c++  java
  • AX2012 multiple enum values as query filter选择多个枚举值当过滤条件

    classDeclaration

    {

      QueryBuildRange    qbrLocationType;

    }

    datasource.init()

    {

      super();

      qbrLocationType = WMSLocation_ds.query().datasourceNo(1).addRange(fieldnum(WMSLocation,HV_LocationType));

    }

    datasource.executeQuery()

    {

      ;
         qbrLocationType.value(queryRange(HV_LocationType::StackLocation,HV_LocationType::WrkCtrLocation));
         //qbrLocationType.value(queryRangeConcat(qbrLocationType.value(),HV_LocationType::StackLocation));      可以加多个间隔的枚举值
         //qbrLocationType.value(queryRangeConcat(qbrLocationType.value(),HV_LocationType::WrkCtrLocation));
         super();

    }

    sysQuery类有各种过滤值的方法,可以研究。

  • 相关阅读:
    oracle-PL/SQL1
    ROS之Gazebo
    ROS之urdf 2
    ROS之urdf 1
    ROS 面部识别
    ROS x Arduino
    STM32F0的低功耗模式
    项目进度
    C++函数返回为引用
    STM32F0的多路ADC 无DMA
  • 原文地址:https://www.cnblogs.com/cnaxuser/p/5764219.html
Copyright © 2011-2022 走看看