We have a customer who requires the invoice lines to match the sales order lines, even if we can't fulfill an item due to a shortage. For example, they order 5 different items on 5 different lines. Lets call it product A, B, C, D and E. We only have product to fulfill 4 of the lines. We are out of product D. In our normal practice, we would update the sales order to quantity of 0 and save the order. When we do this, however, and after we fulfill the order, that line does not come to the invoice as 0 quantity. We only get lines 1, 2, 3, and 5 to come over (A, B, C and E) or the items we fulfill. This means line 5 (item E) becomes line 4 on the invoice and now the invoice does not match the sales order lines.
We need item D to come over still on the invoice for 0 quantity so we have all 5 lines.