Data Import does not connected

I import the sales order data and submit all, after than import delivery note data and submit all. in the sales order analysis report, the qty needed to deliver cannot been calculate because the delivery note does not link with the sales order.