PCRuntimeAttribute::newRuntimeAttribute Method [AX 2012]

Creates an instance of the runtime data structure class for an attribute.

client server public static PCRuntimeAttribute newRuntimeAttribute(
    PCName _displayName, 
    int _instanceId, 
    RecId _attributeRecId, 
    PCRuntimeAttributeDataType _dataType)

Run On

Called

Parameters

_displayName
Type: PCName Extended Data Type
The display name.
_instanceId
Type: int
The instance ID.
_attributeRecId
Type: RecId Extended Data Type
The category attribute record ID.
_dataType
Type: PCRuntimeAttributeDataType Enumeration
The data type of the attribute.

Return Value

Type: PCRuntimeAttribute Class
An instance of the runtime data structure class for an attribute.
Show: