Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Correcting a partially posted purchase order

Posted on by 30

At some time in the past, someone created a Purchase Order with an Item and Charge Item for Purchasing Taxes.  The Item has been posted.  The taxes were never billed to us.  If I try to delete the tax line, I get this message:  "Cannot delete line item:  Qty Recd. Not Invoiced must be 0 in Purchase Line Document Type='Order'."  I tried changing the amount to zero, but it says I must assign all charges.  However I cannot assign the charges because the main item is already invoices.  How do I get rid of this old PO now?

*This post is locked for comments

  • Suggested answer
    Jens Glathe Profile Picture
    Jens Glathe 6,092 on at
    RE: Correcting a partially posted purchase order

    Hi Janna,

    I'm afraid this isn't resolvable without additional coding. We had similar issues with "creatively" posted orders (purchase, sales, and service). The way to clean it up was to have an extra batch (called "set completely invoiced") which has a special deletion routine, that handles necessary additional postings for items. Your case is somewhat easier to handle, what happened is that you received the item charge line. The deletion routine for purchase lines checks for "quantity received not invoiced", and in this case (item charge) this isn't necessary, since only a purchase receipt line is waiting for a "completely invoiced". No other entries exist. So, the way to do this would be:

    - adapt the OnDelete() trigger of T39 Purchase Line for this case, or

    - go the full way and implement the "force completely invoiced" functionality. Or buy it ;)

    ether way, you would need help from your NAV Partner or inhouse Consultant.

    with best regards

    Jens

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