DictType.extend Method [AX 2012]

Provides the ID for the extended data type that an extended data type extends.

public ExtendedTypeId extend()

Run On

Called

Return Value

Type: ExtendedTypeId Extended Data Type
The ID for the extended data type than an extended data type extends; 0 (zero) if the extended data type does not extend an extended data type.

In the following example, the extend method returns the ID for the extended data type that the ABCPercentA extended data type extends.

    DictType dicttype; 
 
    dicttype = new DictType(extendedTypeNum(ABCPercentA)); 
    print dicttype.name() + " extends: " + extendedTypeId2Name(dicttype.extend());

Community Additions

ADD
Show: