EcoResAttributeType::findOrCreateAttributeType Method
Finds or creates the attribute type record.
Syntax
client server public static RefRecId findOrCreateAttributeType(
Name _typeName,
AttributeDataType _dataType,
[NoYes _isEnum,
NoYes _isHidden])
Run On
Called
Parameters
- _typeName
Type: Name Extended Data Type
The attribute type name.
- _dataType
Type: AttributeDataType Enumeration
The attribute data type.
- _isEnum
Type: NoYes Enumeration
A value that indicates whether the attribute type is enumeration.
- _isHidden
Type: NoYes Enumeration
A value that indicates whether the attribute type is hidden.
Return Value
Type: RefRecId Extended Data Type
A record of the EcoResAttributeType table.