Freigeben über


(EEUR) Set up data types for requisites

Gilt für: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

You can use the data type directory to store and manage a list of all possible data types for requisites that might appear in the electronic reporting templates. Data from this directory is used to verify report data.

Hinweis

Dieses Thema wurde nicht vollständig für Microsoft Dynamics AX 2012 R2 aktualisiert.

Every data type includes the following parameters:

Type Name

Description

Processing Rules

string

Line

Any lines are valid.

boolean

Boolean

Valid values: {true, false, 1, 0}.

decimal

Decimal

Integers and fractions are valid.

integer

Integer

Only integers are valid.

long

Integer

Value range [-9223372036854775807; 9223372036854775808].

int

Integer

Value range [-2147483648; 2147483647].

short

Integer

Value range [-32768; 32767].

byte

Integer

Value range [-128; 127].

nonPositiveInteger

Integer

Value must be less than or equal to zero.

nonNegativeInteger

Integer

Value must be greater than or equal to zero.

unsignedLong

Integer

Value range [0; 18446744073709551615].

positiveInteger

Integer

Value must be greater than zero.

unsignedInt

Integer

Value range [0; 4294967295].

unsignedShort

Integer

Value range [0; 65535].

unsignedByte

Integer

Value range [0; 255].

float

Decimal

Integers and fractions are valid.

double

Decimal

Integers and fractions are valid.

dateTime

Date and time

Must be in the following format: '-'? yyyy '-' mm '-' dd 'T' hh ':' mm ':' ss ('.' s+)? (zzzzzz)?, where:

‘-’? yyyy – year, must contain four characters

‘-’ – sign is not required

'-' – delimiter between date value parts

mm – month, two characters

md – day, two characters

T – delimiter between date and time

hh – hours, two characters

‘:’ – delimiter between time value parts

mm – minutes, two characters

ss – seconds, two characters

(‘.’ s+)? – milliseconds, optional value

(zzzzzz)? – time zone code, optional value

Example: 1999-01-01T13:20:21.12.

time

Time

Must be in the following format: hh:mm:ss.sss, where:

hh – hours, two characters

mm – minutes, two characters

ss – seconds, two characters

sss – milliseconds, three characters

Example: 13:20:21.233.

date

Day

Must be in the following format: '-'? yyyy '-' mm '-' dd zzzzzz?, where:

'-'? yyyy ' – four characters and minus sign (if required)

mm – month, two characters

dd – day, two characters

zzzzzz? – time zone code, optional

gYearMonth

Year and month

Must be in the following format: CCYY-MM, where:

CCYY– year, four characters

MM – month, two characters

gYear

Year

Value range: [0001; 9999].

gMonthDay

Day of the month

Must be in the following format: mm-dd zzzzzz?, where:

mm – month, two characters

dd – day, two characters

zzzzzz? – time zone code, optional

gDay

Day

Must be in the following format: dd, where:

dd – day, two characters

gMonth

Month

Must be in the following format: mm, where:

mm – month, two characters

  1. Klicken Sie auf Hauptbuch > Einstellungen > Financial reports generator > Data types.

  2. Press CTRL+N to create a new line.

  3. In the Extended data type field, enter a unique identification for the data type.

  4. In the Description field, enter the description for the data type.

  5. In the Base type field, select the base data type to be used in the XSD schema.

    Hinweis

    The XSD schema is the requisite used in XML formats for the element.

  6. Click the General tab.

  7. Select the Automatic creation check box to create the requisite automatically.

    Hinweis

    If this check box is not selected, the requisite is created manually.

  8. In the Minimum length field, enter the minimum value length of the requisite if the Base type is String.

  9. In the Maximum length field, enter the maximum value length of the requisite if the Base type is String.

  10. In the String length field, enter the string length of the requisite.

  11. In the Number of digits field, enter the number of digits in a number if the Base type is a number.

  12. In the Number of decimals field, enter the number of decimals in a number if the Base type is a number

  13. In the Min exclusive field, enter the minimum value of the requisite if the Base type is integer.

  14. In the Max exclusive field, enter the maximum value of the requisite if the Base type is integer.

    Hinweis

    For example, if the maximum value is 10, the valid value will be less than 10.

  15. In the Min inclusive field, enter the minimum value of the requisite if the Base type is integer.

  16. In the Max inclusive field, enter the maximum value of the requisite if the Base type is integer.

    Hinweis

    For example, if the maximum value is 10, the valid value will be less than or equal to 10.

  17. Click the Templates tab, and then press CTRL+N to create a new line.

  18. In the Template field, enter the templates that define the valid sequence of characters and numbers in a value.

  19. Click the Values tab, and then press CTRL+N to create a new line.

  20. In the Value field, enter a value for the selected base type.

Hinweis

Data types in a directory are created automatically when you refresh the structure in the Document Templates form or when you transfer settings from one template to another. If necessary, you can also create a data type manually using the standard method.

Siehe auch

(EEUR) Extended data types (form)

(EEUR) Document templates (form)