Cannot Ship Drop Shipment Line: Not Yet Associated With a Purchase Order
You cannot ship sales order line 10000. The line is marked as a drop shipment and is not yet associated with a purchase order.What It Means
You post the sales order with Ship (or the integration posts it when the vendor reports shipment). Business Central stops, because the drop-shipment line has no linked purchase order line. Nothing posts.
Root Cause
Sales-Post checks every line with Drop Shipment = Yes. If Qty. to Ship is not 0 and Purch. Order Line No. is 0, it raises this error. The sales line was marked for drop shipment (directly or through a Purchasing Code with Drop Shipment), but no purchase order was created and linked: nobody ran Create Purchase Orders, Get Sales Order on a purchase order, or Carry Out Action Message in the requisition worksheet. It also happens when the linked purchase order was deleted, or when an import sets Drop Shipment on lines after the purchase orders were made.
Step-by-Step Fix
- Open the sales order. Personalize the lines to show Drop Shipment, Purchasing Code, Purchase Order No. and Purch. Order Line No. if they are hidden.
- Find the line in the error. Confirm Purchase Order No. is blank.
- Choose Create Purchase Orders on the sales order. On the Create Purchase Orders page, check the vendor (it comes from the Item Card or Stockkeeping Unit Card) and create the order.
- Or: open a purchase order for the vendor, set Ship-to to Customer Address, choose Drop Shipments > Get Sales Order, and select the sales order.
- Or, for many orders: open Requisition Worksheets, choose Drop Shipments > Get Sales Order, fill in Vendor No., and choose Carry Out Action Message.
- Send the purchase order to the vendor. When the vendor ships, post the sales order with Ship. Business Central posts the purchase receipt at the same time.
- If the line should not be a drop shipment, clear Drop Shipment / Purchasing Code on the line and ship it from stock instead.
Verification Steps
Sources & References
- https://github.com/microsoft/BCApps/blob/e48e2d94b13dc61a88b9a1811732ca4fbc36e6c2/src/Layers/W1/BaseApp/Sales/Posting/SalesPost.Codeunit.al#L125
- https://github.com/microsoft/BCApps/blob/e48e2d94b13dc61a88b9a1811732ca4fbc36e6c2/src/Layers/W1/BaseApp/Sales/Posting/SalesPost.Codeunit.al#L2635-L2652
- https://learn.microsoft.com/en-us/dynamics365/business-central/sales-how-drop-shipment
Early Access · 30-Day Sandbox Pilot
Stop Order Sync Failures Before Customers Notice
The Order Flow Doctor monitors Microsoft Dynamics 365 Business Central order flows across Shopify, EDI (TrueCommerce, SPS), 3PLs, and carriers. Get automated root-cause diagnosis and one-click fixes.