web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to get all the financial dimensions of Fixed Asset?

(0) ShareShare
ReportReport
Posted on by 607

Hi All,

I have a requirement where i need to get all the financial  dimensions of a Fixed Asset,: 

pastedimage1606137915570v1.png

I tried to get atleast one of them but giving me a blank value instead : 

DimensionAttributeValueSetStorage dimStorage;
Str costCenter;
Counter i;
AssetBook assetBook;


//dimStorage = DimensionAttributeValueSetStorage::find(assetBook.DefaultDimension);
dimStorage = DimensionAttributeValueSetStorage::find(AssetTable::find('167968').DefaultDimension);
for (i= 1 ; i<= dimStorage.elements() ; i++)
{
// Change the string "CostCenter" to whatever financial dimension you want
if(DimensionAttribute::find(dimStorage.getAttributeByIndex(i)).Name == "CostCenters")
{
costCenter = dimStorage.getDisplayValueByIndex(i);
}

}
Info(strFmt("%1",costCenter));
}

Can someone please explain me in detail how can I achieve this?

Thanks in Advance

I have the same question (0)
  • Suggested answer
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at

    Hi,

    Cant this be done by data management? it shows the default dimension.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello AXBOY,

    Why do you need the default dimensions?

    If somebody posts a fixed asset transaction with a different findim then those default dimension values won't help.

    Don't you need the ones used for posting?

    Best regards,

    Ludwig

  • AXBOY Profile Picture
    607 on at

    I need those default dimensions for custom inquiry form created for fixed asset. can you please help me to achieve the same?

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi AXBOY,

    The table AssetBook contains the DefaultDimension field. You now tried to get the default dimension from the Asset table. Have you tried it with enabling the first line and find the correct AssetBook record?

  • Junaid Idrees Profile Picture
    on at

    Hi AXBOY,

    What kind of data you want to display in this custom inquiry screen?  Would you like to share the business case? Let's say you picked the default dimension from Asset Book and while posting Fixed Asset depreciation user changed the dimension on the journal so how are you going to handle this? Did you think about it.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello AXBOY,

    Can you please check out the following standard entity that has the default findim already included:

    fab.png

    fab2.png

    You can either use the Excel addin as I did or use the data management workspace to analyze, extract, ... those data. 

    Best regards, 

    Ludwig

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans