Share via


PurchTableType.canTypeBeChanged Method [AX 2012]

Indicates whether the order type can be changed.

Syntax

public boolean canTypeBeChanged()

Run On

Called

Return Value

Type: boolean
true when all lines in the order correspond to order type change conditions; otherwise, false.

Remarks

The order type cannot be changed if any of the lines are not in the status open order.

The order type cannot be changed for intercompany orders.

The order type cannot be changed to order types apart from the Journal and Purch, where delivery lines are part of the order.

The order type cannot be changed to Journal if any of the lines do not satisfy the conditions for changing the StockedProduct.

The order type cannot be changed if any related Bank document has been created.

See Also

Reference

PurchTableType Class