Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Unable to Delete UnPosted Journal through X++.

Posted on by Microsoft Employee

When i run the code to delete a journal the below error shows.

Help me out with proper solution to this.

73014.Untitled.png

   

*This post is locked for comments

  • Suggested answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Unable to Delete UnPosted Journal through X++.

    Proper solution it to fix number seq. In journal header you have field that holds number seq, it is editable in AOT. Number seq in that field should match journal number number seq, fix it and you'll be able to delete the journal.

  • Suggested answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,647 Moderator on at
    RE: Unable to Delete UnPosted Journal through X++.

    Problem is with  journal lines . If it is dev environment you can use direct SQL to delete lines first and then Journal header .

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans