Show TOC

Function documentationMDO Attributes Locate this document in the navigation structure

 

You use this function to define the attributes of your manufacturing data object (MDO).

Features

You can use the attributes for the MDO's data provider to define the MDO attributes. You can use the Source Mapping Type radio buttons to specify whether you want to map the attributes by name or position. You can modify the attribute values.

The attributes are listed in the following table:

Attribute

Description

Source Name

Maps the MDO attribute to the data provider attribute by name. This name value must match the data provider attribute name.

Source Position

Maps the MDO attribute to the data provider attribute by the position of the attribute in the dataset returned by the data provider.

Custom Attribute

Defines an MDO attribute as one that is not associated with a data provider attribute (specified by Source Name or Source Position). You populate and maintain a custom attribute using insert, update, and delete MDO queries.

Type

Defines the MDO attribute type as one of the following:

  • Boolean

  • byte

  • dateTime

  • double

  • float

  • integer

  • long

  • short

  • string

Length

Defines the length of the MDO attribute

Note Note

Do not use large lengths to manage large character datasets in your objects. To define an object as a character large object (CLOB), enter -1 as the length.

End of the note.

Default Value

Defines a default value for an MDO attribute. If a value is not provided by the data provider, this default value is used.

Description

Defines the MDO attribute

Min

Max

Specifies the minimum and maximum values of the MDO attribute

Key

Specifies whether the MDO attribute is the unique identifier for the MDO. You can specify multiple attributes as keys.

Custom Properties

Additional metadata for an MDO attribute. Each property is defined by a key and an associated value. The properties are returned and visible when the object XML is generated.