Skip to main content
Liz Malman (SMT) 님이 #Sales Cloud에 질문했습니다

I have a Many-To-Many Relationship built out and I'm trying to compare two records. Each object has a Geolocation field and I want to calculate the distance between those two locations but I'm having trouble accessing the fields from the related records.

 

Is there a way to grab fields from many-to-many or does it have to be done through lookup-relationships?

 

#Sales Cloud #Salesforce #AwesomeAdmins #Data Management #Master Detail Relationship #Lookup Relationship

답변 5개
  1. Michael Brown (Salesforce) Forum Ambassador
    2021년 9월 9일 오후 8:41

    Hey Liz, 

     

    You may need to use a flow for this, but could elaborate on the objects in question. 

     

    If you're calculating this on the junction object that is relating these 2 objects, you may be able to retrieve the gelocation details from each object and calculate the distance on the junction record. 

     

    Thanks,

    Mikey

0/9000