PrintMgmtPrintContext.setHierarchyContext Method [AX 2012]

Sets an instance of the PrintMgmtHierarchyContext class.

public void setHierarchyContext(
    PrintMgmtHierarchyType _hierarchyType, 
    PrintMgmtNodeType _startingNodeType, 
    PrintMgmtDocumentType _docType, 
    Common _referencedTableBuffer)

Run On

Called

Parameters

_hierarchyType
Type: PrintMgmtHierarchyType Enumeration
The PrintMgmtHierarchyType enumeration value that is used to retrieve settings.
_startingNodeType
Type: PrintMgmtNodeType Enumeration
The PrintMgmtNodeType enumeration value that is used as the starting point to retrieve settings in the hierarchy.
_docType
Type: PrintMgmtDocumentType Enumeration
The PrintMgmtDocumentType enumeration values that represent the settings to retrieve.
_referencedTableBuffer
Type: Common Table
The table buffer with which the print management settings are associated.

ExceptionCondition
Error

The hierarchy context has already been added for this instance of the PrintMgmtPrintContext class.

For more information about how to set contextual information, see the PrintMgmtHierarchyContext class.

Community Additions

ADD
Show: