Skip to main content

Notifications

Announcements

No record found.

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

Unable to delete Purchase Order

Posted on by 82

Hello,

I am unable to delete a Purchase order. At some point during it's creation the currency was changed and now I can't delete the PO.

I included a screen shot of the error I keep receiving.

Screenshot-2023_2D00_03_2D00_20-150340.jpg

  • Verified answer
    Brad613 Profile Picture
    Brad613 82 on at
    RE: Unable to delete Purchase Order

    I finally figured it out. What I did was go into the currencies and delete that one. Then I was unable to even open the PO. So I recreated the currency without setting it up. I was then able to enter the po and when I tried to delete it, it worked. Thanks again for your time and help I appreciated it.

  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,793 Super User 2024 Season 2 on at
    RE: Unable to delete Purchase Order
    [quote user="Brad613"]

    Hello, 

    Thank you for your reply and suggestion. I tried that. If I change the currency code I immediately get an error. 

    "The page has an error. Refresh (F5) to undo the change, or correct the error."
    Also I can't even delete any lines in the PO I get the same error message.
    "Currency Factor must have a value in Purchase Header: Document Type=Order, No.=106001. It cannot be zero or empty."
    This is extremely frustrating.
    [/quote]

    what is the error message? there should be a red x icon beside the currency code field, can you hover your mouse over that and see what the error message is?

  • Brad613 Profile Picture
    Brad613 82 on at
    RE: Unable to delete Purchase Order

    It's really a shame that I would need a developer just to delete a purchase order. Thanks you for your reply

  • Brad613 Profile Picture
    Brad613 82 on at
    RE: Unable to delete Purchase Order

    I don't believe that the currency exchange rate has been defined for that particular currency. I will contact a developer. Thank you for your reply.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Unable to delete Purchase Order

    Hi,

    I have tried to replicate your issue in standard system, as soon as you enter currency code on PO, it take currency factory based on the currency exchange rate defined. Can you check in your case if you had defined the exchange rate for that currency you used?

    Otherwise you need to take help from your developer either to hard delete the PO or put the currency factor from back end based on the currency you chooses.

    Thanks.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Unable to delete Purchase Order

    If you contact your partner / developer they can help you delete this purchase order in code.

  • Brad613 Profile Picture
    Brad613 82 on at
    RE: Unable to delete Purchase Order

    Hello, 

    Thank you for your reply and suggestion. I tried that. If I change the currency code I immediately get an error. 

    "The page has an error. Refresh (F5) to undo the change, or correct the error."
    Also I can't even delete any lines in the PO I get the same error message.
    "Currency Factor must have a value in Purchase Header: Document Type=Order, No.=106001. It cannot be zero or empty."
    This is extremely frustrating.
  • Valentin Castravet Profile Picture
    Valentin Castravet 24,793 Super User 2024 Season 2 on at
    RE: Unable to delete Purchase Order

    Find the Currency Code field on the Purchase Order and remove the currency so this field is empty. Try to delete the Purchase Order again 

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans