在 Dynamics Ax 中,在这种情况下,字段类型:EDT、枚举、字符串或整数?

In Dynamics Ax, In this case Type of field : EDT, Enum, String or an integer?

You need to store the preferred method of correspondence in a table named Dir Person Table. The solution must meet the following requirements:

  • The table must have a field that stores the preferred method of correspondence. The field must have values of Mail, E-mail, or
    Unknown. The text representing the preferred method of correspondence values on forms must be localized to the language used by the user.
    The values in the database must not be localized.

如何在 Dir Person 中创建字段 Table?

  1. 一个。创建用于存储首选通信方法的扩展数据类型 (EDT)。 EDT 必须从字符串扩展。使用 EDT 在 Dir Person Table 中创建字段。
  2. 乙。创建一个枚举,用于存储首选通信方式并具有 Mail、E-mail 和 Unknown 值。使用此枚举在 Dir Person Table 中创建字段。
  3. C。创建一个字符串字段,用于存储首选的通信方式。
  4. D.创建一个存储首选通信方法的整数字段。

I did choose B, the enum but others say that it's an EDT that extends a string ?? response A... Any explanation . thanks.

你是对的,是B

The table must have a field that stores the preferred method of correspondence. The field must have values of Mail, E-mail, or Unknown

这显然意味着它可以包含 3 options/enumerations。

The text representing the preferred method of correspondence values on forms must be localized to the language used by the user.

这意味着它必须使用可以本地化为相关语言的标签。

The values in the database must not be localized.

这意味着数据库中的值不能是 "mail"、"email" 或 "unknown",因为它们会被本地化,而必须是 0、1、2,这是一个枚举。

谁说答案是A谁错了。