The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Now Available in Community - New TechTalk Videos for 2020
Read More about New TechTalks for 2020
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
To get company address using x++ is a two line solution. I have seen many times that developers/consultants are confused about how to get the value. Below is the picture in which I have high-lightened the field which we will get using the code.
I have written the following code. You can also get this code from here. To execute and test the code, create a Class (Runnable Job) and paste the code in it. And then execute the class.
When you will execute the class, you will get the company address printed on the screen as follows:
So, this is how you can get company address using x++ in D365FO. If this helps you, please Like, Comment and Share to help other people.
If you found any ambiguity or a better solution, please feel free to ask.
Download code: Click here
Blog: Click here
YouTube: Click here
GitHub: Click here
Those who cannot change their minds cannot change anything. – George Bernard Shaw
The post Get company address using x++ in D365FO appeared first on NevoiTech Blog.
Business Applications communities