To cancel outbound order lines

Orders can be canceled for various reasons. For example, you can cancel sales orders if contracts are broken, or credit limits are exceeded.

If canceling is allowed, the outbound order line is deleted or set to Canceled when the originating order line is canceled.

When a canceled outbound order line is not deleted but set to Canceled, the Canceled check box is selected in the Outbound Order Lines (whinh2120m000) session.

Canceled outbound order lines with statuses up to Advised are automatically deleted by default. You can change the default setting so that order lines with statuses up to Released are deleted.

For most order origins, cancellation of outbound order lines is controlled by the Allow Canceling Outbound Order Lines up to and including parameter in the Warehousing Order Types (whinh0110m000) session. In this field, you must specify up to which step in the outbound procedure it is allowed to cancel the originating order line and the related outbound order line.

For example, if Generate Outbound Advice is selected in the Allow Canceling Outbound Order Lines up to and including field, canceling is allowed for outbound order lines with status Open or Advised.

Delete canceled outbound order line

The Remove Canceled Outbound Order Lines up to and including parameter in the Warehousing Order Types (whinh0110m000) session determines up to which stage of the outbound procedure canceled outbound order lines are deleted. These options are available:

  • Generate Outbound Advice

    LN deletes canceled outbound-order lines with status Open or Advised. Canceled outbound order lines with other outbound order line statuses are set to Canceled.

  • Release Outbound Advice

    LN deletes canceled outbound-order lines with the Open, Advised, or Released statuses. Canceled outbound order lines with other outbound order line statuses are set to Canceled.

Delete related outbound advice, picking lists, and shipment lines

If canceled outbound order lines are deleted and outbound advice is present, LN deletes the outbound advice.

If outbound advice is released and picking lists are generated, LN deletes the outbound advice and the picking list when the canceled outbound order lines are deleted. If picking lists are not used in the applicable warehousing procedure, shipments and shipment lines are generated when the outbound advice is released. The quantities of these shipment lines are set to 0 (zero) when the canceled order lines are deleted.

Manual order origins

The Remove Canceled Outbound Order Lines up to and including setting does not apply to outbound order lines based on manual order origins. Therefore, the outbound and shipment procedures must be completed as described in the next section.

To cancel an outbound order line that originates from a manual order origin, select the Cancel option on the appropriate menu of the Outbound Order Lines (whinh2120m000) session.

Cancel outbound order lines

If the outbound order cannot be deleted according to the setting of the Remove Canceled Outbound Order Lines up to and includingparameter, the outbound order line is set to Canceled. When an outbound order line is set to Canceled, the Canceled check box is selected in the Outbound Order Lines (whinh2120m000) session and the Outbound Line Status Overview (whinh2129m000) session.

To process a canceled outbound order line, the outbound order line must be set to Shipped.

When a canceled outbound order line is set to Shipped, the shipped quantity is automatically set to 0 and the order line quantity is set to Not Shipped Quantity in Inventory Unit. You can create a transfer order to return the not-shipped goods to inventory.

The status of the outbound order line at the moment the outbound order line is canceled determines whether all steps of the outbound and shipment procedures must be carried out to set the outbound order line to Shipped.

Advised

If the outbound order line has the Advised status when it is canceled, you are asked if the outbound advice must be deleted.

If yes, the outbound advice is deleted, and the outbound order line is set to Shipped and the shipped quantity is set to 0.

If no, you must continue the outbound procedure or select the Undo Advice/Release option in the Outbound Order Lines (whinh2120m000) session as described in the next section.

Released

If the outbound order line has the Released status when it is canceled, you can select the Undo Advice/Release option in the Outbound Order Lines (whinh2120m000) session to remove the picking list and automatically set the outbound order line to Shipped with shipped quantity 0.

Picking list

If a picking list is generated for a canceled outbound order line, a message to the effect that the order line is canceled and the goods will not be shipped is printed on the picking list.

In the Outbound Order Lines (whinh2120m000) session, you can select the Undo Advice/Release option to remove the picking list and automatically set the outbound order line to Shipped with shipped quantity 0.

Inspection

If you approve an inspection for a canceled outbound order line, you must confirm the related shipment line. This will set the status to Confirmed, and the order line quantity to not-shipped. If you reject the inspected order line, an adjustment order is generated, and the outbound order line is set to Shipped. The quantity of the order line is set to rejected.

Canceling not allowed

If you try to cancel an originating order line when canceling is not allowed according to the Allow Canceling Outbound Order Lines up to and including parameter in the Warehousing Order Types (whinh0110m000)session, a message to that effect is displayed.

For outbound order lines that originate from manual order origins, the Cancel option on the appropriate menu of the Outbound Order Lines (whinh2120m000) session is unavailable.

To prevent the goods from being shipped when the outbound order line cannot be canceled, you must complete the outbound and shipment procedures in LN. When confirming the shipment line, you must set the shipped quantities to 0 and create a transfer order to return the not-shipped goods to inventory.