Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Field Service updates!Learn about the key capabilities and features of Dynamics 365 Field Service and experience some of the new features.
Download overview guide | Watch Field Service video
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I want to set pricing zones for servicing based on the accounts distance from the company HQ.
I've set up Geo coding and I'm trying to work out how to get the distance calculation (as crow fly's is fine) for the Main Office.
I'll then use that to specify which service pricing should be used.
Can anyone help with how I calculate the distance?
It's a simple mathematical formula and you can find tons of code examples such as this one: stackoverflow.com/.../calculate-distance-between-2-gps-coordinates
If you wanted to calculate the driving distance (though I agree that for zones the other approach is more reasonable), here is an example: powerusers.microsoft.com/.../54895
Business Applications communities