Never mind, I found it. It dumped it onto the ship as cargo.
I just deleted a sell order for 4000 units on the Katoa LM and the SF simply disappeared.
I tried transferring a unit from the ship to the Inventory (transferring a unit of something from inventory to ship makes shipments appear), but only 1 appeared.
I logged out and back in again but no luck.