It's possible to create customer groups in your online shop.
When editing a product you can set separate prices for each customer group.
Then you can add customers to the B2B customer group. If these customers log in, they will see their personal prices.
Customers who are not logged in or are not connected to a customer group will see the default prices of the products.