You can set the Deliver Now quantity to match the actual shipped quantity and remove the remainder.
Go to Sales and marketing > Sales orders > All sales orders
Open the Sales Order
Go to the Lines section
Select the sales line you want to close
In the Line details, go to the Quantity tab
Update:
Deliver remainder → Set it to 0
Picked or Deliver now → Set to actual quantity (if needed)
This action will "end" the line — no more shipments will be expected.
If you're in the shipping or delivery stage:
Go to the Sales Order
Click Update line > Deliver remainder
The system will prompt you to set the delivery remainder to 0
Confirm, and the line is effectively closed
This is helpful if you've shipped part of the line and want to cancel the rest.
You can cancel the remaining quantity if no picking or shipment has occurred:
On the sales line, click Functions > Cancel
Enter the reason (optional)
The system updates the deliver remainder to zero
In Dynamics 365 Finance and Operations (D365FO), the “End inventory” functionality on an Output Order is used to manually close the remaining quantity that has not been picked, shipped, or processed — essentially signaling that the remaining inventory will not be processed, and the system should consider the output order completed.
This function is typically used in:
Warehouse Management-enabled environments
Output orders for sales, transfers, or production that are partially fulfilled
Situations where the remaining quantity cannot or should not be picked or shipped
Go to:
Warehouse management > Outbound orders > Output orders
Select the Output Order you want to close
In the action pane, go to:
Inventory > End inventory
Confirm the dialog:
It will show the remaining quantity to be ended
You can optionally add a reason code (if configured)
Click OK
Output order status will change to Ended
The related inventory transactions will be updated
No further picking or shipping actions will be allowed for that order
Reservations are released for the canceled remainder
Customer cancels the remainder of a sales order line
Items are damaged or unavailable and will not be replaced
Transfer order or production cannot proceed with remaining quantity
You’re cleaning up stuck or partial output orders in the system