An order is a commitment, not a transaction
Confirming a sales order commits the stock, so the same twenty units cannot be promised twice. It posts nothing, and that is the point: nothing has been earned and nothing has moved. An order you never ship has no business in an income statement.