Out-of-stocks are more costly than losing a sale — but there's a fix