Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have one record like this
and his record is saving in ledgerdimension field. I want to display all the segments separately. Can Somebody please share the
code how can I display all the dimensions separately..
Thanks and regards..
If you want to display all values, you can use DimensionAttributeLevelValueAllView.
If you wanted to work with individual segments in code, DimensionStorage class would help you.
static DimensionDisplayValue getAttributeValueFromCombination(
Name _attributeName = 'BusinessUnit')
DimensionAttribute attribute = DimensionAttribute::findByName(_attributeName);
select DisplayValue from valueView
where valueView.ValueCombinationRecId == _combination.recId
&& valueView.DimensionAttribute == attribute.RecId;
Above code should help you .
Hi Mohamed Ahmed Hassan,
For what purpose do you need this separation?
If it is 'only' for investigating the results then you can make use of the trial balance form in GL that allows you this separation by the selection of a standard parameter inside the form.
No I have to display them in report. That's why I was looking for code...
Then try to take a look at the trial balance form and how they realized the separation of the findims there.
Business Applications communities