web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Delete Multiple Line items from Page List

(0) ShareShare
ReportReport
Posted on by

Hello,

Users are complaining for not able to delete a Batch of lines from Page list. For example they want to delete a batch of purchase orders, or planned work orders from purchase order page list or planned work order list. Is it possible customize this functionality in NAV thought it is possible to delete multiple lines from the purchase line of the purchase order.  Please advise any available option or page with same functionality in NAV.

Thank you

Eri

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at
    RE: Delete Multiple Line items from Page List

    It actually depends on the page and type of data you want to delete. You can delete multiple lines from one purchase order (under certain conditions), but you can't delete several purchase headers in the list of purchase invoices, they need to be deleted one by one via user interface. You can delete them directly from tables as administrator of the database, also under certain conditions (e.g., no partial receipts, reservations etc.).

    This means, when you delete a sales order, system performs a variety of checks, that is why for many lists it is not possible a batch multiple deletion (e.g., list of item cards as well). Thus, writing any customization that would automatically delete a bunch of purchase headers is very challenging and requires to control lot of variability in the project.

    Some type of data can be cleaned using Administration ->IT Administration ->Data Deletion

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Delete Multiple Line items from Page List

    You can do it by puchase line. select the required line which you want to delete and delete the same.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at
    RE: Delete Multiple Line items from Page List

    You can delete the header by selecting .You need to delete it one by one

    If you want to delete by selection of multiple PO then you need to write program to execute that

  • Community Member Profile Picture
    on at
    RE: Delete Multiple Line items from Page List

    Hi,

    Can you suggest  a similar functionality in NAV or may be the specific  program code to do that

    Thank you

  • Suggested answer
    MS Dynamics NAV Profile Picture
    55 on at
    RE: Delete Multiple Line items from Page List

    Hi Eri,

    What you need, is not available in standard NAV so either you need to do customization (which require consideration of many conditions like partial receipts, invoice, reservations)for the same or else delete records one by one.

  • Verified answer
    Alexander Ermakov Profile Picture
    28,096 on at
    RE: Delete Multiple Line items from Page List

    Eri,

    Standard NAV allows to delete purchase orders one by one. While deleting, NAV performs lot of verifications of why the document cannot be deleted (e.g. - partial receipts). Thus, writing any customization for mass deletion of headers is not recommended.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans