Share via


DimensionTree::activateDraft Method [AX 2012]

Converts the draft tree into the active tree

Syntax

server public static RecId activateDraft(RecId _treeId)

Run On

Server

Parameters

Return Value

Type: RecId Extended Data Type
The record ID of the active tree if activation is successful; otherwise, zero.

Remarks

If an active tree exists, it is deleted.

If the draft tree is an account structure, the ledger accounts are updated.

See Also

Reference

DimensionTree Class