AxdBaseProperty::buildAxdBaseProperty Method [AX 2012]
Creates an AxdBaseProperty object.
Syntax
client server public static AxdBaseProperty buildAxdBaseProperty(
str _propertyName,
Types _baseType,
int _noOfDecimals,
boolean _mandatory,
ClassId _implementingClassId,
TableId _implementingTableId,
FieldId _implementingFieldId,
List _childPropertyList,
[ExtendedTypeId _extendedTypeId,
EnumId _enumId,
int _arraySize,
UtilElementName _typeName])
Run On
Called
Parameters
- _propertyName
Type: str
The name of the property. The name will be used when serialization or deserialization of the property occurs.
- _baseType
Type: Types Enumeration
The base type of the property.
- _noOfDecimals
Type: int
The number of decimals defined on the property.
- _mandatory
Type: boolean
A Boolean value that indicates whether or not the property is mandatory.
- _implementingClassId
Type: ClassId Extended Data Type
The ID of the class that implements the method that is represented by the property.
- _implementingTableId
Type: TableId Extended Data Type
The ID of the table that is implemented by the field that is represented by the property.
- _implementingFieldId
Type: FieldId Extended Data Type
The ID of the field that is represented by the property.
- _childPropertyList
Type: List Class
The list of child properties.
- _extendedTypeId
Type: ExtendedTypeId Extended Data Type
The extended data type ID of the property; optional. The default value is zero.
- _enumId
Type: EnumId Extended Data Type
- _arraySize
Type: int
The array size of the extended data type that is used by the property; optional. The default value is one.
- _typeName
Type: UtilElementName Extended Data Type
A type name. If the _baseType parameter is an integer, the IsTypeTime value of the property will be set to the value of the _typeId parameter; optional. The default is zero.
Return Value
Type: AxdBaseProperty Class
A new AxdBaseProperty object.