Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Delete lines from PO

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

  • garydee Profile Picture
    garydee 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

  • garydee Profile Picture
    garydee 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.

  • Suggested answer
    Akash Shukla Profile Picture
    Akash Shukla 335 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

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Delete lines from PO

    Hi,

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

    Thanks

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 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.

  • KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,924 Super User 2024 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 :)

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,333 Super User 2024 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]

  • garydee Profile Picture
    garydee 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.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,333 Super User 2024 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

  • Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 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

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans