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

  • Atif Shafique Profile Picture
    5 on at
    RE: Gen. Prod. Posting Group must have a value in Purchase Line for empty line

    Thanks for sharing

  • Suggested answer
    Hasnain Ali Profile Picture
    132 on at
    RE: Gen. Prod. Posting Group must have a value in Purchase Line for empty line

    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

  • Verified answer
    I Gusti Made Ari Profile Picture
    3,594 on at
    RE: Gen. Prod. Posting Group must have a value in Purchase Line for empty line

    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

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 > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 616 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 463

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 391

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans