Extended Data Type Properties [AX 2012]

This topic has not yet been rated - Rate this topic

Updated: May 18, 2011

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Extended data type (EDT) 属性分为以下几组:

Properties Common to All EDTs

 

Property

Description

New in this version of
 Microsoft Dynamics AX

Alignment(对齐)

Changes the alignment of the text (Left, Right, Center).

 

Analysis-

DefaultSort

(分析默认排序)

指定在使用该EDT的报表模型中,默认根据该字段排序.

 

Analysis-

DefaultTotal

为度量决定聚合函数. 当 AnalysisUsage 设为 Measure(测量) 时,可以使用该属性. 你可以指定以下值之一.

  • Sum - Returns the sum of all the values in a set.
  • Count - Returns the number of non-null items in a set.
  • CountDistinct - Returns the number of distinct non-null items in a set.
  • Min - Returns the minimum value in a set.
  • Max - Returns the maximum value in a set.
  • None - No aggregate function is applied.
  • Auto - 可应用于派生的EDTs. 将使用父EDT的 AnalysisUsage 属性的值.

聚合函数可以在字段级别被重写.也就是说, 你可以使用 AnalysisDefaultTotal 属性改变要聚合的字段.

 

AnalysisGrouping

Specifies whether a field that has this EDT is grouped by default when the field is added to a report using the Report Builder for Microsoft SQL Server Reporting Services.

The property is automatically set to Discouraged for currency amounts. For other fields that are unique, you should set the property toDiscouraged . For more information about report models, see "Generate and publish report models" in the Help menu for System and Application Setup .

 

AnalysisUsage

Identifies the role of the EDT in a cube. This setting is automatically propagated to all table fields that reference the EDT. However, the setting can be overridden on the table field. Specify one of the following values.

  • Attribute - A field that references the EDT is a dimension attribute.
  • Measure - A field that references the EDT is a measure.
  • Both - A field that references the EDT is both a dimension attribute and a measure.
  • None - A field that references the EDT is not a dimension attribute and not a measure.
  • Auto - Applies to derived EDTs. The value of the AnalysisUsage property for the parent EDT is to be used.

 Note

EDTs that are based on enumerations cannot be measures.

 

ArrayLength

(数组长度

只读属性.

默认 ArrayLength 是 1. 要添加数组元素到EDT,右键单击 Array Element 节点,选择 New Array Element . ArrayLength 属性的值会据此增加.

 

ButtonImage

当EDT用作窗体上的查找按钮时,指定它要显示的图像.

The possible values are as follows:

  • Arrow (default)
  • Mail (possible use: the e-mail type)
  • URL (possible use: the URL type)
  • ThreeDots (...)
  • OpenFile (possible uses: the FilenameOpen and FilenameSave types)
  • Calendar (possible use: date types)
 

CollectionLabel

Specifies the label that is used to display the plural name of a field that has this EDT.

 

ConfigurationKey

Specifies the configuration key for the EDT.

 

CountryRegion-

Codes

Specifies the country region codes where the menu is applicable or valid. The client uses this property to enable or disable country or region specific features. This is implemented as a comma-separated list of ISO country codes in a single string. The values must match data that is contained in the global address book.

AX 2012

DisplayLength

Specify a maximum number of characters to be displayed in a form or report.

 

EnumType

Specifies an enumerated data type. If an EDT is of type enum, it is mandatory to set the EnumType property.

 

Extends

Enables you to base the EDT on another EDT.

 

FormHelp

Specifies a form that will be used when you perform lookup from a field in a form.

 

HelpText

Creates a Help string for the EDT. The Help string is displayed when the type is used in a form.

 

ID

Read-only property.

 

Label

Specifies a label for the type that is shown when the type is used in a form or report.

 

Model

Specifies which model the table is in.

A model is a logical grouping of elements in a layer. An element can exist in exactly one model in a layer. Examples of elements are a table or class. The same element can exist in a customized version in a model in a higher layer.

AX 2012

Name

Specifies the name of the type.

The name is used when it refers to the type from X++.

 

PresenceClass

Identifies the X++ class that will be used with the PresenceMethod to return a PresenceInfo object instance.

AX 2012

Presence-IndicatorAllowed

Specifies whether the control referencing the EDT will use presence. Default value is Yes .

AX 2012

PresenceMethod

Identifies the X++ static class method in PresenceClass to be called with a controls data value; this returns a PresenceInfo object instance that contains the data needed by the Presence indicator.

AX 2012

ReferenceTable

Identifies the table that is referenced by this EDT, and which has the primary key.

Indicates the primary key table which this EDT references.

AX 2012

Style

Changes the default display of the EDT. Options Are:

  • Auto
  • Combo box
  • Radio button

AX 2012

For rules and hints about how to set these properties, see Best Practice for extended data types .

Properties that are only Available for Certain Base Data Types

 

Leave these properties set to Auto unless specified otherwise in the following table.

Property

Exists for these types:

Description

Adjustment

String

For fixed length strings, this specifies whether the entered characters will be stored on the left or the right side of the padding spaces.

Values are Left or Right. The default value is Left .

AllowNegative

Integer

Int64

Real

Specifies whether the field can accept negative values.

AutoInsSeparator

Real

Specifies whether the system inserts a decimal separator automatically. For example, if you enter 2222, the system automatically shows 2222.00.

ChangeCase

String

Specifies how text entered in a string control should be formatted. This property is not supported for Enterprise Portal.

For example, the text can be formatted as uppercase, or with title capitalization.

DateDay

Date

UtcDateTime

Specifies how the day should be displayed.

DateFormat

Date

UtcDateTime

Specifies the layout of a date.

DateMonth

Date

UtcDateTime

Specifies how the month should be displayed.

DateSeparator

Date

UtcDateTime

Specifies the separators between year, month, and day.

DateYear

Date

UtcDateTime

Specifies how the year should be displayed.

DecimalSeparator

Real

Specifies the decimal separator. The default (Auto) setting is whatever is specified in the system setup.

DisplaceNegative

Integer

Int64

Real

Specifies if negative numbers should be indented to the left.

DisplayHeight

String

Specifies the number of lines to be displayed simultaneously when the EDT is displayed in a form.

EnumType

Enum

Specifies the base enum used to create the EDT.

FormatMST

Real

Specifies how to format master currency values.

The following list contains the possible values for this property:

  • Auto
  • Yes
  • No

The default value is Auto .

NoOfDecimals

Real

Determines the number of decimals when a value displays on a form or a report.

RotateSign

Integer

Int64

Real

Choose this to negate the number, that is, change - to + and + to -.

ShowZero

Integer

Int64

Real

Specifies whether the value zero should be shown as an empty field.

If the value zero in fields of this kind means null/nothing, ShowZero set to No .

SignDisplay

Integer

Int64

Real

Specifies whether the sign of a number should be displayed, if it is a negative number, and also whether the sign should be before or after the number.

Normally set to Auto . Can be set to None if they are used with DisplaceNegative .

StringSize

String

Specifies the maximum size of the string.

ThousandSeparator

Real

Specifies the thousand separator.

TimeFormat

Time

UtcDateTime

Specifies how times should be formatted.

TimeHours

Time

UtcDateTime

Specifies whether hours should be included.

TimeMinute

Time

UtcDateTime

Specifies whether minutes should be included.

TimeSeconds

Time

UtcDateTime

Specifies whether seconds should be included.

TimeSeparator

Time

UtcDateTime

Specifies the separator that must be used when displaying times.

TimezonePreference

UtcDateTime

Specifies the time zone that the value should be converted to from Coordinated Universal Time (UTC).

For more information, see Form Control Properties .

See also

 

How to: Create an Extended Data Type

Best Practices for Extended Data Type Properties

Extended Data Type Properties [AX 2012]的更多相关文章

  1. View Properties [AX 2012]

    View Properties [AX 2012] Other Versions This topic has not yet been rated - Rate this topic Updated ...

  2. Table Properties [AX 2012]

    Table Properties [AX 2012] 1 out of 2 rated this helpful - Rate this topic Updated: July 20, 2012 Ap ...

  3. Base Enum Properties [AX 2012]

    Base Enum Properties [AX 2012] This topic has not yet been rated - Rate this topic Updated: December ...

  4. Oracle 12C 新特性之扩展数据类型(extended data type)

    Oracle 12C 新特性-扩展数据类型,在12c中,与早期版本相比,诸如VARCHAR2, NAVARCHAR2以及 RAW这些数据类型的大小会从4K以及2K字节扩展至32K字节.只要可能,扩展字 ...

  5. Understanding the RelationshipType Enumeration [AX 2012]

    Understanding the RelationshipType Enumeration [AX 2012] 3 out of 3 rated this helpful - Rate this t ...

  6. Dynamics AX 2012 R2 切换环境后项目导入报错

        Reinhard重装了服务器.重装后,导入项目A报错,错误提示如下: A table, Extended Data Type, Base Enum or class called ???? a ...

  7. 【12c】扩展数据类型(Extended Data Types)-- MAX_STRING_SIZE

    [12c]扩展数据类型(Extended Data Types)-- MAX_STRING_SIZE 在12c中,与早期版本相比,诸如VARCHAR2, NAVARCHAR2以及 RAW这些数据类型的 ...

  8. Overview of Form Control Types [AX 2012]

    Overview of Form Control Types [AX 2012] Other Versions 0 out of 1 rated this helpful - Rate this to ...

  9. Hosting custom WPF calendar control in AX 2012

    原作者: https://community.dynamics.com/ax/b/axilicious/archive/2013/05/20/hosting-custom-wpf-calendar-c ...

随机推荐

  1. js 如何清除setinterval

    var id=window.setInterval(function(){ },1000);window.clearInterval(id);

  2. Vue.2.0.5-自定义指令

    简介 除了默认设置的核心指令( v-model 和 v-show ),Vue 也允许注册自定义指令.注意,在 Vue2.0 里面,代码复用的主要形式和抽象是组件--然而,有的情况下,你仍然需要对纯 D ...

  3. c# 基本知识 ref 和 out

    一:首先两者都是引用传递,都是按地址传递的. 二: 区别 (1)ref 默认必须初始化,out 不需要显式初始化.例如: ; int num2; refMethod(ref num1); outMet ...

  4. 编写简单的Mapreduce程序并部署在Hadoop2.2.0上运行

    今天主要来说说怎么在Hadoop2.2.0分布式上面运行写好的 Mapreduce 程序. 可以在eclipse写好程序,export或用fatjar打包成jar文件. 先给出这个程序所依赖的Mave ...

  5. 某个点到其他点的曼哈顿距离之和最小(HDU4311)

    Meeting point-1 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) ...

  6. [原创]java WEB学习笔记56:Struts2学习之路---Struts 版本的 登录 demo

    本博客的目的:①总结自己的学习过程,相当于学习笔记 ②将自己的经验分享给大家,相互学习,互相交流,不可商用 内容难免出现问题,欢迎指正,交流,探讨,可以留言,也可以通过以下方式联系. 本人互联网技术爱 ...

  7. [原创]java WEB学习笔记48:其他的Servlet 监听器:域对象中属性的变更的事件监听器 (3 个),感知 Session 绑定的事件监听器(2个)

    本博客为原创:综合 尚硅谷(http://www.atguigu.com)的系统教程(深表感谢)和 网络上的现有资源(博客,文档,图书等),资源的出处我会标明 本博客的目的:①总结自己的学习过程,相当 ...

  8. [Linux]可用于管道操作的命令

    管道命令——| command1 | command2 | command3 注:管道命令必须能够接受来自前一个命令的数据成为standard input继续处理. cut 将一段信息的某一段切出来, ...

  9. Java基础(7):二维数组初始化时需要注意的问题

    二维数组可以先指定行,再指定列:但不能先指定列,再指定行 没有说明二维数组的行的个数,在定义二维数组时也可以只指定行的个数,然后再为每一行分别指定列的个数.如果每行的列数不同,则创建的是不规则的二维数 ...

  10. webpack 无法安装

    命令行输入:  npm install webpack -g 解决办法:增加环境变量  D:\nine\trunk\node_modules\.bin\ bin目录下有webpack.cmd 如果还是 ...