The quantity to be delivered is in shortage and negative stock is prohibited, or shortage quantities are not deliverable

SUGGESTED

When trying to create a delivery for a sales order I got the following error:

On the sales order, line item number one is has order quantity of 14784.

On the stock by site inquiry; The product shows on sales order 14784 and available stock at 0

On detail allocation inquiry: It shows a subcontract order number that was closed months ago.

On the subcon order. The consumed quantity is zero,