Using single vendor code for sale and purchase

My consultant told me that single vendor code/ Ledger cannot be used for sales and purchase both.
I need to confirm is it so, that we have to create separate vendor code/ Ledger for same party for sale and separate for Purchase?
Please tell me if this problem can be sorted by customization.

https://docs.erpnext.com/docs/user/manual/en/common_party_accounting

Thanks for the suggestion.
Another question is: for linking party there shall be two different ledgers. Both the ledgers hit separately in the GL.
Is there another way to create single party and make sale & purchase both?