Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Correcting a partially posted purchase order

(0) ShareShare
ReportReport
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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans