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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Gen. Prod. Posting Group must have a value in Purchase Line for empty line

(0) ShareShare
ReportReport
Posted on by 247

Hi, 

The PO only consist 1 posting line, but when posting it deducted 2 Posting Lines.

Thus, the additional encounter error due to the "Gen. Prod. Posting Group must have a value in Purchase Line: Document Type=Order, Document No.=3367/20/PROD, Line No.=60000. It cannot be zero or empty."

I tried to delete all comment line only consist Item Line and the error will be "Gen. Prod. Posting Group must have a value in Purchase Line: Document Type=Order, Document No.=3367/20/PROD, Line No.=20000. It cannot be zero or empty."

Before post to shipment and invoice, I had posted prepayment invoice.

Anyone encounter the same issue ? Any Solution ? Seek for advice, you advice are highly appreciated. 

Enclosed herewith the Screenshot attached :- 

pastedimage1595991102316v1.png

pastedimage1595991394486v2.png

I have the same question (0)
  • Verified answer
    I Gusti Made Ari Profile Picture
    3,600 on at

    Go to General Posting Setup, then take note the account of Purch. Prepayment Account  , then go to G/L Account card for that account.

    Make sure Gen. Prod. Posting Group is filled.

    pastedimage1595994899469v1.png

  • Suggested answer
    Hasnain Ali Profile Picture
    134 on at

    The problem was solved by assigning a Gen. Prod. Posting Group code to the G/L Account that I was using for Sales Prepayment, as defined in General Posting Setup.

    pastedimage1624431874414v1.png

    pastedimage1624431902544v2.png

  • Atif Shafique Profile Picture
    5 on at

    Thanks for sharing

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans