The Customer has a Sales order, that has been partially invoiced, but the delivery remainder quantity is not reflected anywhere in inventory transactions.
The below screenshot illustrates the status.
- Sales line qty: 112
- Invoiced qty: 104
- Sales line reservation method: Automatic
- The inventory transaction for the delivery remainder 8 Qty is missing , but that is wrong.

The customer wants to cancel the delivery remainder, but the Update delivery remainder job will throw an error because of the missing transaction.
It is not possible either to manually fix the sales line qty, because of the same error.
I have executed the Consistency check job, but it did not fix the transaction.
This issue is not reproducible anymore.
Which is the safest way to fix this issue?
I was thinking to create the missing InventTrans for the remaining 8 qty, after that the Update delivery remainder can cancel the remaining qty.
Which is the safest way to create a missing InventTrans record?