How to link Customer and Vendor on web?

I will purchase the products from the vendor and I will sell products for the same vendor. In Swipe ledgers, it is showing separately, but I want to show it in a single ledger.

Please follow the steps mentioned below to link customer and vendor:

Step 1: Please go to Vendors >> Search Vendor >> Click on Edit

Step 2: Link existing Customer >> Click on Select Customer

Step 3: Search Customer >> Link Customer

Step 4: Click on Update vendor