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 :
Small and medium business | Business Central, N...
Answered

Delete lines from PO

(0) ShareShare
ReportReport
Posted on by 86

I have a PO with lines that will not be received as the supplier does not stock the item anymore. The items that the supplier does stock have been receipted in and invoiced. How do I delete the remaining lines from the PO that will not be received?

pastedimage1681861019013v3.png

When trying to delete I get the following error:

pastedimage1681860979197v2.png

Cheers,
Gareth

I have the same question (0)
  • Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Delete lines from PO

    Hi,

    Just be on the line on that PO and try to delete that from the Line level, there should not be any issue.

    Thanks

  • Suggested answer
    YUN ZHU Profile Picture
    92,762 Super User 2025 Season 2 on at
    RE: Delete lines from PO

    Hi, Nitin is right, in the standard function, as long as you have not posted data in this line (Shipment or Invoice), you can delete the line individually.

    pastedimage1681876666762v1.png

    Hope this helps as well.

    Thanks.

    ZHU

  • garydee Profile Picture
    86 on at
    RE: Delete lines from PO

    We get the following error when performing the delete.

    Qty to Invoice must have a value in purchase line.

    As you can see from the first screen shot nothing is posted on that line.

  • Verified answer
    YUN ZHU Profile Picture
    92,762 Super User 2025 Season 2 on at
    RE: Delete lines from PO

    I don't have this problem in my standard environment. Are there other extensions installed?

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/Demo04191322.mp4:1024:768]

  • KasparsSemjonovs Profile Picture
    4,661 Super User 2025 Season 2 on at
    RE: Delete lines from PO

    Not sure why, but if the system needs a value in that column, You can add a Value and then try to delete the line :)

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,043 Moderator on at
    RE: Delete lines from PO

    This does not look like standard behavior in the system.

    If you have any customizations done to your system you should contact your developer and have them debug this together with you.

  • Suggested answer
    Nitin Verma Profile Picture
    21,684 Moderator on at
    RE: Delete lines from PO

    Hi,

    Can you check if there is any customization done? While deleting the records.

    Thanks

  • Suggested answer
    Akash Shukla Profile Picture
    365 on at
    RE: Delete lines from PO

    Hi Gareth,

    Will you please check how many lines are there in the purchase order, because based on the error it's stating line no. 100000, it means please check the line no. 10. As you know that in business central line number start with 10000, 20000, 30000 and so on

    pastedimage1681912472892v2.png

    If PO contains only 2 lines, then there is a customization taken placed, which you need to check with your developer.

    I hope this information is helpful for you.

    Thank you

  • garydee Profile Picture
    86 on at
    RE: Delete lines from PO

    Thanks All for your help. I'll work through this one with our support team as it appears as most have pointed out this is not standard behaviour.

    Thanks again.

  • garydee Profile Picture
    86 on at
    RE: Delete lines from PO

    Hi All,

    We actually find a workaround for this. You can change the Type from an Item to a comment and then delete the comment. I'm still looking into what custom code is causing this but because if the workaround it has slipped down the priority list.

    Thanks for the help.

    Cheers,

    Gareth

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 > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,327

#2
Sumit Singh Profile Picture

Sumit Singh 2,734

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,599

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans