Share via


WMSOrderTransType_Output.cancel Method [AX 2012]

Cancels a picking line.

Syntax

public void cancel([boolean _checkRoute])

Run On

Called

Parameters

  • _checkRoute
    Type: boolean
    A Boolean value that indicates whether to verify that the related picking route should be ended; optional.

Remarks

The cancellation consists of the following steps:

  • Removes the child reference on inventory transactions related to the canceled quantity.

  • Removes over-delivered inventory transactions by updating remaining quantity on the parent.

  • Unreserves the canceled quantity.

  • Changes the status on the WMSOrderTrans record that is being canceled.

  • Verifies that the related picking route should be ended.

  • Finishes the inventory order if there is no quantity left after the cancellation.

See Also

Reference

WMSOrderTransType_Output Class