web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Posting Purchase Invoice

(0) ShareShare
ReportReport
Posted on by

While posting purchase invoice, following error message is showing.

Gen. Prod. Posting group must have a value in Purchase Line: Document type=Invoice, Document No.=15PIT00013, Line No.=10000. It cannot be zero or empty.

Please give a solution.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,278 Super User 2026 Season 1 on at

    Make sure you enter the value on the Gen. Prod. Posting group for that line item you have choosen, if it is item check on item card, if it is G/L Account check on G/L Account card and re-enter the line then try to post the invoice.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    As error specifically mention you need to provide Gen. Product Posting group in the purchase line.

    You can have two options for this.

    1. Recreate document. : If you are recreating the document you need to go to particular Item or G/L account card and check the Gen. Prod. Posting group is available. If not you need to fill that and then only recreate the document.

    2. You can fill the Gen. Prod. Posting Group field in the  purchase line. It might be hidden, so you can just right click on the line and customize the fields. Once you add the Gen. Prod. Posting Group field you can drill down and add the relevant value.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    Each item contains Gen. Prod. Posting Group. So before posting Purchase Invoice you must have to enter the Gen. Prod. Posting Group for that item or G/L Account you have taken. But the fact is that Gen. Prod. Posting Group is automatically filled when you validate/select item.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    If you planing to recreate the document, do not delete the document completely. Just delete the line items and add them once again after you fill the Gen. Prod. Posting Groups in the master card.

    You should not delete a document after you tried to post it because you will lose a posting number if you do that. Check this blog post : 

    http://tharangac-dynamicsnav.blogspot.com/2015/01/number-is-missing-in-posted-sales.html

    or

    https://community.dynamics.com/nav/b/tharangacnavblog/archive/2015/01/23/number-is-missing-in-the-posted-sales-invoice-list

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans