Data Type Definition window: Fields

 


Data Type Name

Displays the name of the data type. Typically, the name indicates the characteristics of the data type, such as the control type used or the size of the data type. For instance, the name String30 indicates the data type has a string control type that can display 30 characters.

Control Type

Specifies the function of the data type, indicating how it will display and store data. Other fields in this window may be available or unavailable, depending on the control type selected. Refer to Control types for a description of each control type.

Keyable Length

Displays the number of characters that can be typed in the field by the user. Control types such as currency, integer and string have a keyable length.

Storage Size

Displays the amount of storage space, in bytes, that the field will require when stored in a table. The storage size is calculated automatically and can't be changed. The storage size for strings is typically larger than the minimum amount calculated to allow room for expansion, in case you need to increase the keyable length of the data type.

Allow Odd Length

Allows string data types that have an odd-length storage size, rather than appending an extra byte to make the storage size even. For example, if this selection is marked and the keyable length of the string is 10, the storage size would be 11. If this selection is not marked, the storage size would be 12. This field is only available when the control type has been set to string. This option isn’t used in Microsoft Dynamics GP.

Decimals

Specifies the number of decimal places for Variable Currency control types. This field isn’t used for standard Currency control types.

Static Values

Allows you to specify text or picture items that will always be associated with the data type. For instance, a button label, such as "Save", may be associated with a push button data type. The phrase Text, Picture, Native Picture, Text - Picture, or Text - Native Picture will be displayed, indicating the type of static value to be used with this data type. To view or change the static values associated with the data type, click the Static Values lookup button. A window will appear, allowing you to enter or select static values. Refer to the topic Static values for more information about defining static values.

Format

Attaches a predefined data format to the data type. The format defines data display and entry characteristics for string, currency, composite and integer data types.

Composite

Shows the name of the composite resource associated with a composite data type. A composite is a group of fields and their associated data types that are combined to form a single data type.

Auto Add Field

This field isn’t available in the Modifier.

Call Component Scripts

This field isn’t available in the Modifier.


Documentation Feedback