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
- _treeId
Type: RecId Extended Data Type
The record ID of the draft tree to become active.
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.