Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Deleting posted entries

(0) ShareShare
ReportReport
Posted on by 85

I have prepared a database for production with all setup, but I also use ​​it for test (I posted different documents).

I want to delete all data from posted entries tables. How I can do it on easy way?

I use Dynamics NAV 2009.

*This post is locked for comments

  • Andri Wianto Profile Picture
    Andri Wianto 385 on at
    RE: Deleting posted entries

    I ever saw a feature like this in NAV 4 SP3, but not in later version.

    I have tried it, and prefer to create a Database from the scratch.

    You can utilize Data Migration, and always backup your DB after setting up Setup tables, before you use it for testing purposes.

    Later, you can restore it, for Production use.

  • Verified answer
    Aleksandar Totovic Profile Picture
    Aleksandar Totovic 16,765 on at
    RE: Deleting posted entries

    Depends of table you want to delete. More of them require partner license permissions. I guess you want to delete G/L Entry, Item Leder Entry, Customer Entry... If I am in right, these tables surely require partner license permissions.

  • Kord Meister Profile Picture
    Kord Meister 85 on at
    RE: Deleting posted entries

    Why I need a partner license?

  • Verified answer
    Aleksandar Totovic Profile Picture
    Aleksandar Totovic 16,765 on at
    RE: Deleting posted entries

    You can make a report. In DataItem of this report, you need to fill all tables you want to delete.

    For each DataItem, in C/AL editor, in OnPreDataItem(),  you need to write DELETEALL;

    It is important that you have partner license.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans