Share via


DimensionTreeResult.hasError Method [AX 2012]

Retrieves the error state from an operation.

Syntax

public boolean hasError()

Run On

Called

Return Value

Type: boolean
true if the operation has an error message; otherwise, false.

Remarks

When the allowOverlap method is called, the operation can be successful and is committed to the database, but errors can still occur. The hasError method must be called in these circumstances.

See Also

Reference

DimensionTreeResult Class