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, ...
Answered

Delete main account from GOLD configuration environment

(0) ShareShare
ReportReport
Posted on by 74

Hi, 

I am trying to delete some main accounts in a GOLD configuration environment and receiving the error: A financial dimension value is based on the XXXXX record and has been used on a transaction. You cannot delete the 32110 record.

This main account is not linked to any posting profiles and I have tried removing the whole range from the account structures with no luck. Other community posts have mentioned deleting the value from the various DimensionAttributeValue tables but I am finding when I browse to these tables the delete option has been removed. 

VERSION INFORMATION

2019 release wave 2
Installed product version :
Finance and Operations (10.0.6)
Installed platform version : Update30 (7.0.5407.35455)

Any help would be much appreciated! Thank you 
Mark

I have the same question (0)
  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Mark,

    Do you know if somebody has opened a journal and entered the account-findim combination in a journal line?

    That is usually sufficient to cause this kind of problem.

    If you cannot delete the record yourself then please ask a developer for some help.

    A better option is of course if you could simply suspend the account, which might not be a 'bad' thing because you might need the account later on anyway.

    Note: If this happens in your live environment deleting a value from the dimensionattributevalue table will most probably result in issues with the data mart of the financial reporter and as a result, you regularly have to reset the datamart.

    Best regards,

    Ludwig

    P.S. Moving this thread to the D365 community forum where it belongs to ;-)

  • Verified answer
    SouravDam Profile Picture
    11,730 on at

    Hi MarkChristensen,

    As Ludwig mentioned; suspending these accounts would be a good option to go with.

    There must be transactions with financial dimensions already recorded in Golden environment due to which now system is not allowing to delete those main accounts.

    You can check with developer and run the "Sysdatabasetransdelete" class to delete all transactions from system and then try if this is helping you to delete those main accounts or not. But do not execute this in PROD environment.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • MarkChristensen Profile Picture
    74 on at

    Thanks for the Sourav! I will ask our Devs to run that class for me, it's in GOLD so should only be configuration

  • Suggested answer
    MarkChristensen Profile Picture
    74 on at

    Thanks for the help Ludwig :) I don't think any one has entered or created any journals but I will be sure to check.

    I ended up suspending them for now and changing the name to TBD to help identify they are to be used later.

    Thanks for the tip in the datamart, if this is the case I think suspending will be a safer option.

    btw, sorry didnt know I posted in the wrong place

    Kind Regards

    Mark

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans