Data types

Data type names should be as consistent and descriptive as possible to allow for systemwide use. Keep in mind that you can use existing Microsoft Dynamics GP data types for fields in your dictionary, rather than creating new data types.

We currently use three categories of data types: standard, object and control field.

Standard data types

Standard data types include string, integer or currency types. Names for standard data types begin with the control type abbreviation followed by the keyable length. Standard data type names using a format begin with the control type abbreviation followed by the keyable length, an underscore and the second and third parts of the format name.

[spacer]

Name

Control type

Example

INTXX

Integer

INT7

STRXX

String

STR30_LBAU

DLRXX

Currency (Dollar)

DLR9_LB0_UTR$


Object data types

Names for object data types, such as push buttons or list boxes, begin with the control type abbreviation followed by a descriptive name indicating how the object is used.

[spacer]

Name

Control type

Example

PB_Name

Push Button

PB_Save

DDL_Name

Drop-down List

DDL_Sort_By


Control field data types

Names for control field data types are always uppercase. Control fields contain key values used to identify records, like Customer ID, Vendor ID or Item ID.

Each control field should have its own data type. In addition to the naming conventions already described, identify the data type as a control field data type by adding a prefix that describes the functionality of the control field.

[spacer]

Name

Control type

Example

Prefix_STR15

String

Item_ID_STR15_LBAU

Prefix_STR15

String

Bank_ID_STR15_LBAU



Documentation Feedback