Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Deleting purchase order

Posted on by 225

How to delete all "OPEN" purchase orders through code in process only reports for NAV. Please suggest , i am new to nav. Thankyou in Advance!

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Deleting purchase order

    hi Suresh

    Is this way to be used by the IT analyst team member?

    I am an operator and have to delete open PO and unused purchase orders from beginning 2013 to end of June 2017 .

    This unachievable task time wish as we have to return status to open, hope they have not Items received and delete one by one.

    is there a way for an operator with only Accounts Payable Coordinator status to do a bulk deletion .

    thank you in advance

    SIMONE

  • KaryaNavTech Profile Picture
    KaryaNavTech 225 on at
    RE: Deleting purchase order

    Thanks Suresh it works.

  • KaryaNavTech Profile Picture
    KaryaNavTech 225 on at
    RE: Deleting purchase order

    Wow...Andrey superb! Thanks for detailed explaination appreciate your help Thankyou.

  • Verified answer
    Andrey Baludin Profile Picture
    Andrey Baludin 3,941 on at
    RE: Deleting purchase order

    3 steps of report creation:

    1. Create data item:

    19_2D00_1.JPG

    2. Set data item filter:

    19_2D00_1.JPG

    3. Place the code. (SetHideValidation needed to not press Yes button on each order deletion):

    19_2D00_2.JPG

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Deleting purchase order

    Filter for the purchase orders using filters and use DELETE(TRUE) function. Use the purchase header data item for your report.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans