PrintMgmtPrintContext.validate Method [AX 2012]

Validates the contents of a PrintMgmtPrintContext object.

public void validate()

Run On

Called

ExceptionCondition
Error

The LanguageId field is empty.

-or-

The value of the DefaultOriginalPrintJobSettings field is nullNothingnullptrunita null reference (Nothing in Visual Basic).

-or-

The value of the DefaultCopyPrintJobSettings field is nullNothingnullptrunita null reference (Nothing in Visual Basic).

-or-

The value of the QueryTableBuffer table ID is nullNothingnullptrunita null reference (Nothing in Visual Basic).

-or-

The QueryTableBuffer table ID is invalid for the StartingNode field.

Exceptions from the PrintMgmtHierarchyContext class can be caused if the hierarchy context provided is incorrect.

Community Additions

ADD
Show: