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

Can't delete unposted journal

(0) ShareShare
ReportReport
Posted on by 64

Hi Brains trust. 

This issue has me stumped. I have a big unposted general journal of approx 50k lines that I need to delete. I have tried so many ways but my AX just freezes and nothing gets deleted. I have not been able to put a dent in it for the last 3 days! I have tried:

1) The delete button for the journal - failed

2) Then tried clearing journal lines first - failed

3) tried deleting just one line - failed

4) tried to delete via the back tables - failed

5) tried deleting just one line via back tables - failed

This journal is possessed and would not budge! Please help! The only thing I'm left to try is SQL via DB but I'd rather leave that as a last resort. The journal was loaded via DMF so I checked to see if maybe it was stuck as still processing, but no, it processed fully. Are there any locks that might be stopping me from clearing it? I am not getting any warnings or messages as to why it is not working. 

Thanks

Shristi

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

    Hi Shristi,

    Have you tried using the clean up function that you can find in the periodic GL section under periodic/cleanup/clean up ledger journal?

    If this does not help either then get into contact with a technical expert (developer) who should be able helping you getting the journal and the lines removed.

    Best regards,

    Ludwig

  • Oscar Profile Picture
    45 on at

    Do you get any feedback or does it just say that it is not allowed?

    Do you have a developer present that could check the delete methods on the journal? (or pre-actions)

    Is there a user that has opened the journal, then there could be a blocking user?

    Br
    Oscar

  • Verified answer
    Aartserp Profile Picture
    62 on at

    Hi Shristi,

    It could be that after a couple of attempts of deleting this journal the tmp database (in SQL) is getting full which makes every effort after it worthless. Deleting the one line should be your best shot of figuring out how to delete the whole journal, but if this is not possible because the tmp database does not have any space (from the settings or the harddrive itself) you'll keep ketting a frozen Dynamics.

    I've been in your situation before and a lot of restarts and trying of different ways of making sure there is enough space and memory solved the problem for me.

    Good luck!

    Remco

  • Suggested answer
    Junaid Idrees Profile Picture
    on at

    Hi Shristi_MP,

    Please enable the below feature from Feature Management and try to delete lines from Journal voucher screen. This feature will improve the performance of deleting unposted journal. The feature wad added in Sep 2020 by Microsoft.

    2703.PNG

    Delete Journal Lines.

    14504.PNG

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Junaid,

    As I understand it, this issue is related to AX2012, not D365FO ;-)

  • Suggested answer
    OsmanIstanbul Profile Picture
    2,818 on at

    Hi

    As Junaid mentioned, there is same button in ax 2012. It will delete easily.

    Best regards

  • Suggested answer
    Junaid Idrees Profile Picture
    on at

    Yeah Ludwig my bad

    @Shristi, Did you tried delete journal line option from journal voucher, it should be available in AX 2012 as well. 

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

    Hi Shristi,

    When you mention that several attempts were failing, can you elaborate if you get error messages and which ones?

  • Shristi_MP Profile Picture
    64 on at

    Hi Junaid. Attempt number 2 was through this feature.

  • Shristi_MP Profile Picture
    64 on at

    Hi Andre,

    Zero error messages. Just frozen AX.

    Regards

    Shristi

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 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans