Share via


WMSOrderTransType_Output_OrderPick.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:

  • Remove the child reference on inventory transactions that are related to the canceled quantity.

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

  • Unreserve the canceled quantity.

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

  • Verify that the related picking route should be ended.

  • Complete the inventory order if no quantity remains after the cancellation.

See Also

Reference

WMSOrderTransType_Output_OrderPick Class