PrintMgmtHierarchy::construct Method [AX 2012]

Constructs an instance of the appropriate PrintMgmtHierarchy class derivative.

client server public static PrintMgmtHierarchy construct(PrintMgmtHierarchyType _hierarchyType)

Run On

Called

Parameters

_hierarchyType
Type: PrintMgmtHierarchyType Enumeration
The PrintMgmtHierarchyType enumeration value of the hierarchy being constructed.

Return Value

Type: PrintMgmtHierarchy Class
An instance of the PrintMgmtHierarchyType class being requested.

As new PrintMgmtHierarchy types are added, they should be added here also so that they can be constructed like the other PrintMgmtHierarchy types. Additional hierarchy types should also be defined in the PrintMgmtHierarchyType enumeration.

Show: