The 1099- series is called Informational.
-B = brokers will use this to report to you and to the IRS information about transactions (basically, a summary of the details) done through them. A taxpayer might have multiple 1099-B, in other words, since it is per brokerage firm. A transaction summary from one broker can be negative, another can be positive, there can be short-term and long-gain or loss, across each broker. Just like individual transactions can have any one of these outcomes.
Form 8949 is part of the tax return. It is not from any one transaction, but includes all transactions that apply to that form for that taxpayer for that tax year. The information transfers to Sched D, which is part of the 1040.
It's not at all like you asked. You asked: "If I have lettuce and an entire sandwich, which should I eat?"
You have clicked a link to a site outside of the Intuit Accountants Community. By clicking "Continue", you will leave the community and be taken to that site instead.