PrintMgmtNodeInstance::merge Method [AX 2012]

Merges two nodes into one.

client server public static PrintMgmtNodeInstance merge(PrintMgmtNodeInstance _nodeInstance1, PrintMgmtNodeInstance _nodeInstance2)

Run On

Called

Parameters

_nodeInstance1
Type: PrintMgmtNodeInstance Class
The first node to merge.
_nodeInstance2
Type: PrintMgmtNodeInstance Class
The second node to merge.

Return Value

Type: PrintMgmtNodeInstance Class
A node that combines the settings from both specified nodes.

ExceptionCondition
Error

The _nodeInstance1 parameter does not reference the same node definition and table buffer as the _nodeInstance2 parameter.

The merger assumes that the two nodes to be merged reference the same node definition and table buffer. It will merge the appropriate setup documents by adding setup documents that are not present in one node to the other node. It will not compare any one of the settings that are contained in two setup documents that are the same. The merger will also add any child nodes that may be present on one node, but not the other.

Show: