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 the customer and the vendor:

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

Step 2: Link existing Customer >> Click on Search Customer and select a customer >> Click on Link customer.

Step 3: Once linked, click on Update vendor.