How to get the reverse association of an object

Hi,

we have an integration where our customers have selected how their deals and custom objects relate to their companies by selecting the deal/custom object (from) to company association. We have cases where we need to backfill deals or custom objects but only know the company ID so we need a way to identify the reverse relationship – eg default deal to company association ID is 5 and it appears the default company to deal association ID is 6. Is there a way to identify this 2nd relationship through the API or some other pattern? 

thanks! 

Leave a Reply

Your email address will not be published. Required fields are marked *