UtilElements Table

Id: 65523

Label: UtilElements

Security key: AdminTables

Settings shown are initial values.

NoteNote

This method enables you to create, read, update, and delete X++ code and metadata. Make sure that the user has access to the Development Security Key (SysDevelopment) before calling this API.


NoteNote

At the time of publication, portions of this topic were intentionally left blank. For the most current information, visit Microsoft Dynamics AX Online.


Field

Description

utilLevel

ID: 1

Enum: UtilEntryLevel Enumeration

Label: utilLevel

recordType

ID: 2

Enum: UtilElementType Enumeration

Label: recordType

parentId

ID: 3

Type: Integer

Label: parentId

name

ID: 4

Type: String Size: 40

Extended data type: identifiername Extended Data Type

Label: Name

Unique name for the ID

baseVersion

ID: 5

Type: Integer

Label: baseVersion

version

ID: 6

Type: Integer

Label: version

saveCount

ID: 7

Type: Integer

Label: saveCount

source

ID: 8

Type: Container

Label: source

code

ID: 9

Type: Container

Label: code

Index

Fields

name

AllowDuplicates: No

Enabled: Yes

recordType

parentId

name

utilLevel

RecId

AllowDuplicates: No

Enabled: Yes

RecId

The following example reads some properties from the UtilElements table. The example confirms that the user has the required security key before performing any modifications.

server static public void Main(Args _args)
{
    UtilElements u;
    str name;
    str dataArea;
    ;
 
 
    if (hasSecuritykeyAccess(securitykeynum(SysDevelopment), AccessType::View))
    {
        dataArea = u.dataAreaId;
        name     = u.Name;
    }
}

Community Additions

ADD
Show: