See this link:
https://proconnect.intuit.com/community/form-1099-b/help/methods-for-entering-stock-transactions-for...