Hi, I have "customer id" attribute / field on both Company and Product purchase (custom) objects...

Hi,

I have "customer id" attribute / field on both Company and Product purchase (custom) objects, can I auto associate/link the two with this customer id?

ex:
Company (name, customer id): Nike, 123
Product purchase (customer id, type, email): 123, Clothes, test@test.com

I’d like to auto associate test@test.com record to Nike (company) since their customer id is the same, and would like to run reports/view based on this relationship/dynamics. any tips?